ApiAnnotations : BooleanFormula construction discards original
[ghc.git] / testsuite / tests / ghc-api / annotations / Makefile
1 TOP=../../..
2 include $(TOP)/mk/boilerplate.mk
3 include $(TOP)/mk/test.mk
4
5 clean:
6 rm -f *.o *.hi
7 rm -f annotations comments parseTree exampleTest
8 rm -f t10269
9 rm -f t10255 t10312
10 rm -f t1037
11 rm -f t10309
12 rm -f listcomps boolFormula
13
14 annotations:
15 rm -f annotations.o annotations.hi
16 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc annotations
17 ./annotations "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
18
19 parseTree:
20 rm -f parseTree.o parseTree.hi
21 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc parseTree
22 ./parseTree "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
23
24 comments:
25 rm -f comments.o comments.hi
26 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc comments
27 ./comments "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
28
29 exampleTest:
30 rm -f exampleTest.o exampleTest.hi
31 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc exampleTest
32 ./exampleTest "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
33
34 listcomps:
35 rm -f listcomps.o listcomps.hi
36 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc listcomps
37 ./listcomps "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
38
39 t10255:
40 rm -f t10255.o t10255.hi
41 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10255
42 ./t10255 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
43
44 .PHONY: clean annotations parseTree comments exampleTest listcomps t10255
45
46 T10268:
47 rm -f t10268.o t10268.hi
48 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10268
49 ./t10268 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
50
51 T10280:
52 rm -f t10280.o t10280.hi
53 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10280
54 ./t10280 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
55
56 .PHONY: clean annotations parseTree comments exampleTest listcomps
57
58 T10269:
59 rm -f T10269.o T10269.hi
60 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10269
61 ./t10269 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
62
63 .PHONY: t10269
64
65 t10312:
66 rm -f t10312.o t10312.hi
67 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10312
68 ./t10312 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
69
70 .PHONY: clean annotations parseTree comments exampleTest listcomps t10255 t10312
71
72 t10307:
73 rm -f t10307.o t10307.hi
74 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10307
75 ./t10307 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
76
77 .PHONY: t10307
78
79 t10309:
80 rm -f t10309.o t10309.hi
81 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc t10309
82 ./t10309 "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
83
84 .PHONY: t10309
85
86 boolFormula:
87 rm -f boolFormula.o boolFormula.hi
88 '$(TEST_HC)' $(TEST_HC_OPTS) --make -v0 -package ghc boolFormula
89 ./boolFormula "`'$(TEST_HC)' $(TEST_HC_OPTS) --print-libdir | tr -d '\r'`"
90
91 .PHONY: clean annotations parseTree comments exampleTest listcomps boolFormula