Changeset dc8511c for tests/Makefile.am
- Timestamp:
- Nov 7, 2018, 1:29:43 PM (4 years ago)
- Branches:
- aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 2185df1
- Parents:
- 5753b33
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/Makefile.am
r5753b33 rdc8511c 11 11 ## Created On : Sun May 31 09:08:15 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Wed Jun 6 16:42:20201814 ## Update Count : 4913 ## Last Modified On : Wed Nov 7 12:03:29 2018 14 ## Update Count : 59 15 15 ############################################################################### 16 16 17 17 AUTOMAKE_OPTIONS = foreign # do not require all the GNU file names 18 19 include $(top_srcdir)/src/cfa.make 18 20 19 21 debug=yes … … 45 47 EXTRA_PROGRAMS = fstream_test avl_test # build but do not install 46 48 47 fstream_test_SOURCES = fstream_test.c 49 fstream_test_SOURCES = fstream_test.cfa 48 50 49 51 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 … … 72 74 73 75 #---------------------------------------------------------------------------------------------------------------- 76 74 77 # implicit rule so not all test require a rule 75 78 % : %.c $(CC) 76 79 $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 77 80 78 declarationSpecifier: declarationSpecifier.c $(CC)81 declarationSpecifier: declarationSpecifier.cfa $(CC) 79 82 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 80 83 81 gccExtensions : gccExtensions.c $(CC)84 gccExtensions : gccExtensions.cfa $(CC) 82 85 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 83 86 84 extension : extension.c $(CC)87 extension : extension.cfa $(CC) 85 88 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 86 89 87 attributes : attributes.c $(CC)90 attributes : attributes.cfa $(CC) 88 91 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 89 92 90 functions: functions.c $(CC)93 functions: functions.cfa $(CC) 91 94 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 92 95 93 KRfunctions : KRfunctions.c $(CC)96 KRfunctions : KRfunctions.cfa $(CC) 94 97 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 95 98 … … 97 100 $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 98 101 99 gmp : gmp.c $(CC)102 gmp : gmp.cfa $(CC) 100 103 $(PRETTY_PATH) $(COMPILE) -lgmp $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 101 104 … … 105 108 106 109 #------------------------------------------------------------------------------ 110 107 111 #To make errors path independent we need to cd into the correct directories 108 completeTypeError : completeTypeError.c $(CC)112 completeTypeError : completeTypeError.cfa $(CC) 109 113 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 110 114 111 typedefRedef-ERR1: typedefRedef.c $(CC)115 typedefRedef-ERR1: typedefRedef.cfa $(CC) 112 116 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 113 117 114 alloc-ERROR: alloc.c $(CC)118 alloc-ERROR: alloc.cfa $(CC) 115 119 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 116 120 117 fallthrough-ERROR: fallthrough.c $(CC)121 fallthrough-ERROR: fallthrough.cfa $(CC) 118 122 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 119 123 120 nested-types-ERR1: nested-types.c $(CC)124 nested-types-ERR1: nested-types.cfa $(CC) 121 125 $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 122 126 123 nested-types-ERR2: nested-types.c $(CC)127 nested-types-ERR2: nested-types.cfa $(CC) 124 128 $(PRETTY_PATH) $(COMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@}) 125 129
Note: See TracChangeset
for help on using the changeset viewer.