Exclude Cabal PackageTests from gen_contents_index.
[ghc.git] / testsuite / tests / driver / sigof01 / Makefile
1 TOP=../../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 S01_OPTS=$(TEST_HC_OPTS) -outputdir tmp_sigof01 -i -itmp_sigof01
6 sigof01:
7 rm -rf tmp_sigof01
8 mkdir tmp_sigof01
9 '$(TEST_HC)' $(S01_OPTS) -c A.hs
10 '$(TEST_HC)' $(S01_OPTS) -c B.hsig -sig-of "B is main:A"
11 '$(TEST_HC)' $(S01_OPTS) -c Main.hs
12 '$(TEST_HC)' $(S01_OPTS) tmp_sigof01/A.o tmp_sigof01/Main.o -o tmp_sigof01/Main
13 tmp_sigof01/Main
14
15 sigof01m:
16 rm -rf tmp_sigof01m
17 mkdir tmp_sigof01m
18 '$(TEST_HC)' $(TEST_HC_OPTS) -outputdir tmp_sigof01m --make Main.hs -sig-of "B is main:A" -o tmp_sigof01m/Main
19 tmp_sigof01m/Main