ijones 2005/04/16 13:10:17 PDT
Modified files:
libraries/Cabal/Distribution Simple.hs
libraries/Cabal/Distribution/Simple Build.hs Utils.hs
libraries/Cabal/tests ModuleTest.hs
Added files:
libraries/Cabal/tests/ffi-bin Main.hs Makefile Setup.lhs
main.cabal
libraries/Cabal/tests/ffi-package Makefile Setup.lhs
TestFFIExe.hs testffi.cabal
libraries/Cabal/tests/ffi-package/src TestFFI.hs
Log:
implemented handling of _stub.{c,h,o} files
Including a test case from J�r�my Bobbio.
Previously, we weren't linking in _stub.o files to the library, though
they are produced by the build. Now we link them in. I assume that
ghc --make does the right thing for executables, haven't tested this.
Also implemented ./setup clean for getting rid of Foo_stub.{h,c} files
for both executables and libraries. These files aren't put into the
dist/build directory (can they be?) so I had to add a bit of extra
logic here.
Also some tweaks to clean for haddock.
Revision Changes Path
1.67 +22 -2 fptools/libraries/Cabal/Distribution/Simple.hs
1.42 +6 -1 fptools/libraries/Cabal/Distribution/Simple/Build.hs
1.33 +2 -1 fptools/libraries/Cabal/Distribution/Simple/Utils.hs
1.16 +20 -1 fptools/libraries/Cabal/tests/ModuleTest.hs
_______________________________________________
Cvs-libraries mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/cvs-libraries