From: Andre P. <at...@us...> - 2004-05-12 08:59:48
|
Update of /cvsroot/hoc/hoc/Foundation In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5553/Foundation Modified Files: Makefile.in Log Message: Better dependency checking in Makefiles: now a "make && make install" doesn't cause the make install to rebuild a whole bunch of things it doesn't need to Index: Makefile.in =================================================================== RCS file: /cvsroot/hoc/hoc/Foundation/Makefile.in,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile.in 12 May 2004 05:44:09 -0000 1.1 +++ Makefile.in 12 May 2004 08:59:37 -0000 1.2 @@ -2,7 +2,9 @@ all: libHSFoundation.a HSFoundation.o -ghcmake: +ghcmake: ghcmake.build-stamp + +ghcmake.build-stamp: ln -sf ../Bindings/ifgen-output/Foundation.hs . ln -sf ../Bindings/ifgen-output/Foundation . test ! -d ../Bindings/ifgen-output/GNUstepBase || \ @@ -24,11 +26,14 @@ -hidir build/imports \ -package-conf ../HOC/HOC-$(PLATFORM).conf-inplace \ -fglasgow-exts + touch $@ -HSFoundation.o: ghcmake +HSFoundation.o: ghcmake.build-stamp find build/objects/ -name \*.o | xargs ld -r -x -o HSFoundation.o + #libHSFoundation.a: ghcmake # find build/objects/ -name \*.o | xargs libtool -static -o libHSFoundation.a + libHSFoundation.a: HSFoundation.o rm -f libHSFoundation.a ar cq libHSFoundation.a HSFoundation.o @@ -44,3 +49,4 @@ ranlib `ghc --print-libdir`/Foundation/libHSFoundation.a ghc-pkg --update-package \ --input-file=Foundation.conf + |