
ross 2003/04/11 17:07:57 PDT Modified files: src Makefile.in src/unix convert_libraries convert_package Log: The conversion script now generates a script of the required ffihugs commands, which are later run by the Makefile. It adds to the ffihugs command line: * a -I option for the package's include directory. * files generated by hsc2hs or greencard. * files from the package's cbits directory mentioned in CBITS "pragmas" in the module. With a bit of tweaking, this could be used for third-party packages too. TODO: some way of specifying C libraries to link with, probably on a per-package basis. Revision Changes Path 1.52 +7 -16 hugs98/src/Makefile.in 1.64 +12 -14 hugs98/src/unix/convert_libraries 1.4 +75 -8 hugs98/src/unix/convert_package