summaryrefslogtreecommitdiff
path: root/ghc/runtime/regex/Jmakefile-original
diff options
context:
space:
mode:
Diffstat (limited to 'ghc/runtime/regex/Jmakefile-original')
-rw-r--r--ghc/runtime/regex/Jmakefile-original30
1 files changed, 30 insertions, 0 deletions
diff --git a/ghc/runtime/regex/Jmakefile-original b/ghc/runtime/regex/Jmakefile-original
new file mode 100644
index 0000000000..167e692317
--- /dev/null
+++ b/ghc/runtime/regex/Jmakefile-original
@@ -0,0 +1,30 @@
+all:: /* so it comes first */
+
+/* the standard "whoami" target will give the basic info. */
+/* this target adds to it. */
+whoami::
+ @echo building Haskell regexp bindings
+
+#include "common.jm"
+
+REG_SRC = Regex.lhs \
+ LibMatchPS.lhs
+
+REG_OBJ = Regex.o \
+ LibMatchPS.o \
+ regex.o
+
+REG_HI = $(REG_SRC:.lhs=.hi)
+
+HaskellCode(Regex, '-#include "regex.h"')
+HaskellCode(LibMatchPS,)
+
+HaskellLib(libReg,${REG_OBJ} ${REG_HI},)
+
+all:: $(REG_OBJ)
+
+HaskellDependTarget( $(REG_SRC) )
+
+
+
+