Changes in src/tests/Makefile.am [b8f6002:e68b3a8]
- File:
-
- 1 edited
-
src/tests/Makefile.am (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/tests/Makefile.am
rb8f6002 re68b3a8 29 29 30 30 # applies to both programs 31 AM_CFLAGS = $(if $(test), 2> $(test), ) \ 32 -XCFA \ 33 -t \ 34 -B${abs_top_builddir}/src/driver \ 35 -g \ 36 -Wall \ 37 -Wno-unused-function \ 38 -quiet @CFA_FLAGS@ \ 39 -I. \ 40 -DIN_DIR="${srcdir}/.in/" \ 41 -L${abs_top_builddir}/src/libcfa \ 42 -I${abs_top_srcdir}/src/libcfa \ 43 -I${abs_top_srcdir}/src/libcfa/containers \ 44 -I${abs_top_srcdir}/src/libcfa/concurrency \ 45 -I${abs_top_srcdir}/src/libcfa/stdhdr 31 DEBUG_FLAGS = 46 32 33 BUILD_FLAGS = -g -Wall -Wno-unused-function -quiet @CFA_FLAGS@ -I. 47 34 if !BUILD_DEBUG 48 AM_CFLAGS += -nodebug35 BUILD_FLAGS += -nodebug 49 36 else 50 37 if !BUILD_RELEASE 51 AM_CFLAGS += -debug38 BUILD_FLAGS += -debug 52 39 else 53 AM_CFLAGS += ${DEBUG_FLAGS}40 BUILD_FLAGS += ${DEBUG_FLAGS} 54 41 endif 55 42 endif 56 43 57 CC = ${abs_top_builddir}/src/driver/cfa 44 TEST_FLAGS = $(if $(test), 2> $(test), ) 45 AM_CFLAGS = ${TEST_FLAGS} ${BUILD_FLAGS} 46 CC = ${abs_top_builddir}/src/driver/cfa -DIN_DIR="${srcdir}/.in/" 58 47 59 48 .PHONY : list … … 61 50 62 51 fstream_test_SOURCES = fstream_test.c 52 fstream_test_CFLAGS = $(if $(test), 2>> $(test), ) ${BUILD_FLAGS} 63 53 64 54 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 55 avl_test_CFLAGS = $(if $(test), 2>> $(test), ) ${BUILD_FLAGS} 65 56 66 57 all-local : … … 79 70 @+${TEST_PY} --debug=${debug} -Iconcurrent 80 71 81 % : %.c $(CC)72 % : ${srcdir}/%.c @CFA_BINDIR@/@CFA_NAME@ 82 73 $(COMPILE) $(abspath ${<}) -o ${@} 83 74 84 declarationSpecifier: declarationSpecifier.c $(CC)75 declarationSpecifier: declarationSpecifier.c @CFA_BINDIR@/@CFA_NAME@ 85 76 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 86 77 87 gccExtensions : gccExtensions.c $(CC)78 gccExtensions : gccExtensions.c @CFA_BINDIR@/@CFA_NAME@ 88 79 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 89 80 90 extension : extension.c $(CC)81 extension : extension.c @CFA_BINDIR@/@CFA_NAME@ 91 82 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 92 83 93 attributes : attributes.c $(CC)84 attributes : attributes.c @CFA_BINDIR@/@CFA_NAME@ 94 85 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 95 86 96 functions: functions.c $(CC)87 functions: functions.c @CFA_BINDIR@/@CFA_NAME@ 97 88 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 98 89 99 KRfunctions : KRfunctions.c $(CC)90 KRfunctions : KRfunctions.c @CFA_BINDIR@/@CFA_NAME@ 100 91 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 101 92 102 sched-ext-parse : sched-ext-parse.c $(CC)93 sched-ext-parse : sched-ext-parse.c @CFA_BINDIR@/@CFA_NAME@ 103 94 $(COMPILE) -CFA -XCFA -p $(abspath ${<}) -o ${@} 104 95 105 gmp : gmp.c $(CC)96 gmp : gmp.c @CFA_BINDIR@/@CFA_NAME@ 106 97 $(COMPILE) -lgmp $(abspath ${<}) -o ${@} 107 98 108 completeTypeError : completeTypeError.c $(CC)99 completeTypeError : completeTypeError.c @CFA_BINDIR@/@CFA_NAME@ 109 100 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 110 101 111 typedefRedef-ERR1: typedefRedef.c $(CC)102 typedefRedef-ERR1: typedefRedef.c @CFA_BINDIR@/@CFA_NAME@ 112 103 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 113 104 114 alloc-ERROR: alloc.c $(CC)105 alloc-ERROR: alloc.c @CFA_BINDIR@/@CFA_NAME@ 115 106 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 116 107 117 fallthrough-ERROR: fallthrough.c $(CC)108 fallthrough-ERROR: fallthrough.c @CFA_BINDIR@/@CFA_NAME@ 118 109 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 119 110 120 nested-types-ERR1: nested-types.c $(CC)111 nested-types-ERR1: nested-types.c @CFA_BINDIR@/@CFA_NAME@ 121 112 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 122 113 123 nested-types-ERR2: nested-types.c $(CC)114 nested-types-ERR2: nested-types.c @CFA_BINDIR@/@CFA_NAME@ 124 115 $(COMPILE) -DERR2 $(abspath ${<}) -o ${@} 125 116 126 117 # Constructor/destructor tests 127 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c $(CC)118 raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@ 128 119 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 129 120 130 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c $(CC)121 raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c @CFA_BINDIR@/@CFA_NAME@ 131 122 $(COMPILE) -DERR2 $(abspath ${<}) -o ${@} 132 123 133 raii/memberCtors-ERR1: raii/memberCtors.c $(CC)124 raii/memberCtors-ERR1: raii/memberCtors.c @CFA_BINDIR@/@CFA_NAME@ 134 125 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 135 126 136 raii/ctor-autogen-ERR1: raii/ctor-autogen.c $(CC)127 raii/ctor-autogen-ERR1: raii/ctor-autogen.c @CFA_BINDIR@/@CFA_NAME@ 137 128 $(COMPILE) -DERR1 $(abspath ${<}) -o ${@} 138 129 139 130 # Warnings 140 warnings/self-assignment: warnings/self-assignment.c $(CC)131 warnings/self-assignment: warnings/self-assignment.c @CFA_BINDIR@/@CFA_NAME@ 141 132 $(COMPILE) $(abspath ${<}) 2> ${@} -fsyntax-only 142 133 143 134 #builtins 144 builtins/sync: builtins/sync.c $(CC)135 builtins/sync: builtins/sync.c @CFA_BINDIR@/@CFA_NAME@ 145 136 $(COMPILE) $(abspath ${<}) 2> ${@} -fsyntax-only
Note:
See TracChangeset
for help on using the changeset viewer.