From: Andre P. <at...@us...> - 2004-05-12 08:59:46
|
Update of /cvsroot/hoc/hoc/AppKit In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5553/AppKit 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/AppKit/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:08 -0000 1.1 +++ Makefile.in 12 May 2004 08:59:37 -0000 1.2 @@ -2,7 +2,9 @@ all: libHSAppKit.a HSAppKit.o -ghcmake: +ghcmake: ghcmake.build-stamp + +ghcmake.build-stamp: ln -sf ../Bindings/ifgen-output/Cocoa.hs . ln -sf ../Bindings/ifgen-output/AppKit.hs . ln -sf ../Bindings/ifgen-output/AppKit . @@ -35,12 +37,14 @@ -package-conf ../HOC/HOC-$(PLATFORM).conf-inplace \ -package-conf ../Foundation/Foundation.conf-inplace \ -fglasgow-exts - + touch $@ -HSAppKit.o: ghcmake +HSAppKit.o: ghcmake.build-stamp find build/objects/ -name \*.o | xargs ld -r -x -o HSAppKit.o + #libHSAppKit.a: ghcmake # find build/objects/ -name \*.o | xargs libtool -static -o libHSAppKit.a + libHSAppKit.a: HSAppKit.o rm -f libHSAppKit.a ar cq libHSAppKit.a HSAppKit.o |