aboutsummaryrefslogtreecommitdiffhomepage
path: root/package.conf.in
diff options
context:
space:
mode:
authorGravatar ross <unknown>2003-05-17 00:11:30 +0000
committerGravatar ross <unknown>2003-05-17 00:11:30 +0000
commit8e34a3c7157badc3427be20c9692bf107ed4961e (patch)
tree90e0fa0986da58fff01a496654d79a4153415e58 /package.conf.in
parentf87d2d7cac66d06582ded1b28b45013732597392 (diff)
[project @ 2003-05-17 00:11:30 by ross]
Rename per-package configuration files from $(PACKAGE).conf.* to package.conf.*, making them easier to find (since each package is in a separate directory anyway).
Diffstat (limited to 'package.conf.in')
-rw-r--r--package.conf.in37
1 files changed, 37 insertions, 0 deletions
diff --git a/package.conf.in b/package.conf.in
new file mode 100644
index 0000000..1910649
--- /dev/null
+++ b/package.conf.in
@@ -0,0 +1,37 @@
+#include "config.h"
+
+Package {
+ name = "unix",
+ auto = True,
+#ifdef INSTALLING
+ import_dirs = [ "$libdir/imports" ],
+#else
+ import_dirs = [ "$libdir/libraries/unix" ],
+#endif
+ source_dirs = [],
+#ifdef INSTALLING
+ library_dirs = [ "$libdir" ],
+#else
+ library_dirs = [ "$libdir/libraries/unix",
+ "$libdir/libraries/unix/cbits" ],
+#endif
+ hs_libraries = [ "HSunix" ],
+ extra_libraries = [ "HSunix_cbits"
+#ifndef HAVE_FRAMEWORK_HASKELLSUPPORT
+#ifdef HAVE_LIBDL
+ , "dl"
+#endif
+#endif
+ ],
+
+#ifdef INSTALLING
+ include_dirs = [],
+#else
+ include_dirs = [ "$libdir/libraries/unix/include" ],
+#endif
+ c_includes = [ "HsUnix.h" ],
+ package_deps = [ "base" ],
+ extra_ghc_opts = [],
+ extra_cc_opts = [],
+ extra_ld_opts = []
+}