Turn libffi into a Haskell package
[ghc.git] / libffi / package.conf.in
1 #include "ghcconfig.h"
2 #include "RtsConfig.h"
3
4 name:           PACKAGE
5 version:        1.0
6 license:        BSD3
7 maintainer:     glasgow-haskell-users@haskell.org
8 exposed:        True
9
10 exposed-modules:
11 hidden-modules:
12 import-dirs:
13
14 #ifdef INSTALLING
15 library-dirs:           LIB_DIR
16 #else /* !INSTALLING */
17 library-dirs:           FPTOOLS_TOP_ABS"/libffi"
18 #endif
19
20 hs-libraries:   "HSffi"
21
22 extra-libraries:                "m"             /* for ldexp() */
23
24 #ifdef INSTALLING
25 include-dirs:           INCLUDE_DIR
26 #else /* !INSTALLING */
27 include-dirs:           FPTOOLS_TOP_ABS"/libffi/build/include"
28 #endif
29
30 depends:
31 hugs-options:
32 cc-options:
33
34 framework-dirs:
35 frameworks:
36
37 haddock-interfaces:
38 haddock-html:
39