Sun's make "almost" works

Kurt Hornik Kurt.Hornik@ci.tuwien.ac.at
Thu, 21 Oct 1999 08:48:28 +0200 (CEST)


>>>>> Martin Maechler writes:

> I don't know if we still strive for  non-GNU make capability..

Yes.  However, my experience is that for non-GNU make we typically need
builddir == srcdir.

> Anyway, here a report:

> I was using the builddir != srcdir approach on Sun Solaris 2.6, and
> normal Sun make (/usr/ccs/bin/make) worked up to producing a correct
> R.X11 binary.

> It failed when trying to make the first
> src/library/<pkg>/src/<pkg>.so, namely in eda/src with

> make: Fatal error: Don't know how to make target `line.o'

> where GNU make then did

> gcc -I../../../../include  -DHAVE_CONFIG_H  -fPIC -g -O2 -c ../../../../../SRC/src/library/eda/src/line.c -o line.o
> .......

Hmm, what is different between the rules in src and the library ones?
Can you try replacing $(SHLIB) by its value in eda's src/Makefile and
then see what happens?

-k
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._