Exclude Cabal PackageTests from gen_contents_index.
[ghc.git] / testsuite / tests / driver / dynamicToo / dynamicToo006 / Makefile
1 TOP=../../../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 checkExists = [ -f $1 ] || echo $1 missing
6
7 .PHONY: dynamicToo006
8 # Check that "--make -dynamic-too" works with .hsig
9 dynamicToo006:
10 "$(TEST_HC)" $(TEST_HC_OPTS) -dynamic-too -v0 \
11 -sig-of A=base:Prelude \
12 --make B
13 $(call checkExists,A.o)
14 $(call checkExists,B.o)
15 $(call checkExists,A.hi)
16 $(call checkExists,B.hi)
17 $(call checkExists,A.dyn_o)
18 $(call checkExists,B.dyn_o)
19 $(call checkExists,A.dyn_hi)
20 $(call checkExists,B.dyn_hi)