summaryrefslogtreecommitdiff
path: root/libffi/package.conf.in
diff options
context:
space:
mode:
authorClemens Fruhwirth <clemens@endorphin.org>2008-10-08 17:04:43 +0000
committerClemens Fruhwirth <clemens@endorphin.org>2008-10-08 17:04:43 +0000
commit960b35ddc178f6b8af1a8809aecb0a43177abbc8 (patch)
tree67623fc75dd787feadfe579403090f96f8f50699 /libffi/package.conf.in
parent421b380e75a04f4e1e8e110b46a4bf872e006f79 (diff)
downloadhaskell-960b35ddc178f6b8af1a8809aecb0a43177abbc8.tar.gz
Turn libffi into a Haskell package
Diffstat (limited to 'libffi/package.conf.in')
-rw-r--r--libffi/package.conf.in39
1 files changed, 39 insertions, 0 deletions
diff --git a/libffi/package.conf.in b/libffi/package.conf.in
new file mode 100644
index 0000000000..2ef060c9bb
--- /dev/null
+++ b/libffi/package.conf.in
@@ -0,0 +1,39 @@
+#include "ghcconfig.h"
+#include "RtsConfig.h"
+
+name: PACKAGE
+version: 1.0
+license: BSD3
+maintainer: glasgow-haskell-users@haskell.org
+exposed: True
+
+exposed-modules:
+hidden-modules:
+import-dirs:
+
+#ifdef INSTALLING
+library-dirs: LIB_DIR
+#else /* !INSTALLING */
+library-dirs: FPTOOLS_TOP_ABS"/libffi"
+#endif
+
+hs-libraries: "HSffi"
+
+extra-libraries: "m" /* for ldexp() */
+
+#ifdef INSTALLING
+include-dirs: INCLUDE_DIR
+#else /* !INSTALLING */
+include-dirs: FPTOOLS_TOP_ABS"/libffi/build/include"
+#endif
+
+depends:
+hugs-options:
+cc-options:
+
+framework-dirs:
+frameworks:
+
+haddock-interfaces:
+haddock-html:
+