Changes in tests/Makefile.am [107b01a:3d99498]
- File:
-
- 1 edited
-
tests/Makefile.am (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile.am
r107b01a r3d99498 16 16 17 17 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 18 ACLOCAL_AMFLAGS = -I automake19 18 20 19 include $(top_srcdir)/src/cfa.make … … 45 44 .PHONY: list .validate 46 45 .INTERMEDIATE: .validate .validate.cfa 47 EXTRA_PROGRAMS = avl_test .dummy_hack# build but do not install46 EXTRA_PROGRAMS = avl_test # build but do not install 48 47 49 avl_test_SOURCES = avltree/avl_test.cfa avltree/avl0.cfa avltree/avl1.cfa avltree/avl2.cfa avltree/avl3.cfa avltree/avl4.cfa avltree/avl-private.cfa 50 # automake doesn't know we still need C rules so pretend like we have a C program 51 _dummy_hack_SOURCES = .dummy_hack.c 48 avl_test_SOURCES = avltree/avl_test.c avltree/avl0.c avltree/avl1.c avltree/avl2.c avltree/avl3.c avltree/avl4.c avltree/avl-private.c 52 49 53 50 #---------------------------------------------------------------------------------------------------------------- … … 70 67 @echo "int main() { return 0; }" > ${@} 71 68 72 # automake doesn't know we still need C rules so pretend like we have a C program 73 .dummy_hack.c: 69 dummy_hack.c: 74 70 @echo "int main() { return 0; }" > ${@} 75 71 … … 80 76 81 77 # implicit rule so not all test require a rule 78 % : %.c $(CFACC) 79 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 80 82 81 % : %.cfa $(CFACC) 83 82 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) … … 108 107 109 108 #builtins 110 builtins/sync: builtins/sync.c fa$(CFACC)109 builtins/sync: builtins/sync.c $(CFACC) 111 110 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only 112 111 … … 133 132 134 133 # Constructor/destructor tests 135 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c fa$(CFACC)134 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c $(CFACC) 136 135 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 137 136 138 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c fa$(CFACC)137 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c $(CFACC) 139 138 $(PRETTY_PATH) $(CFACOMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 140 139 141 raii/memberCtors-ERR1: raii/memberCtors.c fa$(CFACC)140 raii/memberCtors-ERR1: raii/memberCtors.c $(CFACC) 142 141 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 143 142 144 raii/ctor-autogen-ERR1: raii/ctor-autogen.c fa$(CFACC)143 raii/ctor-autogen-ERR1: raii/ctor-autogen.c $(CFACC) 145 144 $(PRETTY_PATH) $(CFACOMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 146 145 147 146 # Warnings 148 warnings/self-assignment: warnings/self-assignment.c fa$(CFACC)147 warnings/self-assignment: warnings/self-assignment.c $(CFACC) 149 148 $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only
Note:
See TracChangeset
for help on using the changeset viewer.