From: Andre P. <at...@us...> - 2005-04-01 03:00:15
|
Update of /cvsroot/hoc/hoc/Tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16779/Tests Added Files: .cvsignore Makefile Log Message: Build static and dynamic versions of HOC/Foundation/AppKit packages (dynamic versions are largely untested at the moment, and may be broken) Added 'make check' target Added Makefile for Tests/ directory ifgen now compiles with -dynamic, hooray Build static and dynamic versions of Tests/TestFoundation (untested, but at least the static version should work OK) Warning: make install will definitely be broken for the dynamic versions of the libraries, since I haven't updated the Makefiles to run install_name_tool to change the id of the .dylib file yet --- NEW FILE: .cvsignore --- TestFoundation build --- NEW FILE: Makefile --- check: TestFoundation.dynamic TestFoundation.static ./TestFoundation.dynamic ./TestFoundation.static build: mkdir -p build/dynamic/imports mkdir -p build/dynamic/objects mkdir -p build/static/imports mkdir -p build/static/objects TestFoundation.dynamic: build TestFoundation.hs ghc -dynamic -odir build/dynamic/objects -hidir build/dynamic/imports \ -o $@ -fglasgow-exts -package-conf ../inplace.conf \ -package Foundation --make $< TestFoundation.static: build TestFoundation.hs ghc -odir build/static/objects -hidir build/static/imports \ -o $@ -fglasgow-exts -package-conf ../inplace.conf \ -package Foundation --make $< clean: -rm *.o *.hi TestFoundation |