summaryrefslogtreecommitdiff
path: root/ghc/runtime/regex/Jmakefile-original
blob: 167e69231763729baa44b1ac1ff1209d39e8a070 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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) )