[ef7d253] | 1 | ######################## -*- Mode: Makefile-Automake -*- ###################### |
---|
| 2 | ## |
---|
| 3 | ## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo |
---|
| 4 | ## |
---|
| 5 | ## The contents of this file are covered under the licence agreement in the |
---|
| 6 | ## file "LICENCE" distributed with Cforall. |
---|
| 7 | ## |
---|
| 8 | ## Makefile.am -- |
---|
| 9 | ## |
---|
| 10 | ## Author : Peter A. Buhr |
---|
| 11 | ## Created On : Sun May 31 09:08:15 2015 |
---|
| 12 | ## Last Modified By : Peter A. Buhr |
---|
[3a5131ed] | 13 | ## Last Modified On : Thu Feb 16 15:27:50 2017 |
---|
| 14 | ## Update Count : 41 |
---|
[ef7d253] | 15 | ############################################################################### |
---|
| 16 | |
---|
[cc640aad] | 17 | debug=yes |
---|
| 18 | |
---|
[ef7d253] | 19 | # applies to both programs |
---|
[4782b39] | 20 | EXTRA_FLAGS = |
---|
| 21 | CFLAGS = -g -Wall -Wno-unused-function @CFA_FLAGS@ ${EXTRA_FLAGS} |
---|
[ef7d253] | 22 | CC = @CFA_BINDIR@/cfa |
---|
| 23 | |
---|
[927e9ce] | 24 | .PHONY : list |
---|
[8f62de7] | 25 | EXTRA_PROGRAMS = fstream_test vector_test avl_test constant0-1DP constant0-1ND constant0-1NDDP # build but do not install |
---|
[927e9ce] | 26 | |
---|
[ef7d253] | 27 | fstream_test_SOURCES = fstream_test.c |
---|
[1c31f68] | 28 | vector_test_SOURCES = vector/vector_int.c vector/array.c vector/vector_test.c |
---|
[ef7d253] | 29 | 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 |
---|
[a0dcd2e] | 30 | |
---|
[927e9ce] | 31 | all-local : |
---|
[863b34f] | 32 | @+python test.py vector_test avl_test operators numericConstants expression enum array typeof cast dtor-early-exit init_once coroutine thread |
---|
[df42128] | 33 | |
---|
| 34 | all-tests : |
---|
[cc640aad] | 35 | @+python test.py --all --debug=${debug} # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program |
---|
[927e9ce] | 36 | |
---|
| 37 | clean-local : |
---|
[a6dd5b0] | 38 | rm -f ${EXTRA_PROGRAMS} |
---|
[927e9ce] | 39 | |
---|
| 40 | list : |
---|
[a6dd5b0] | 41 | @+python test.py --list |
---|
[927e9ce] | 42 | |
---|
[8f62de7] | 43 | constant0-1DP : constant0-1.c |
---|
[a0dcd2e] | 44 | ${CC} ${CFLAGS} -DDUPS ${<} -o ${@} |
---|
| 45 | |
---|
[8f62de7] | 46 | constant0-1ND : constant0-1.c |
---|
[a0dcd2e] | 47 | ${CC} ${CFLAGS} -DNEWDECL ${<} -o ${@} |
---|
| 48 | |
---|
[8f62de7] | 49 | constant0-1NDDP : constant0-1.c |
---|
[a0dcd2e] | 50 | ${CC} ${CFLAGS} -DNEWDECL -DDUPS ${<} -o ${@} |
---|
[85f0713] | 51 | |
---|
| 52 | dtor-early-exit-ERR1: dtor-early-exit.c |
---|
| 53 | ${CC} ${CFLAGS} -DERR1 ${<} -o ${@} |
---|
| 54 | |
---|
| 55 | dtor-early-exit-ERR2: dtor-early-exit.c |
---|
| 56 | ${CC} ${CFLAGS} -DERR2 ${<} -o ${@} |
---|
| 57 | |
---|
[950f7a7] | 58 | declarationSpecifier: declarationSpecifier.c |
---|
[6a1bdfd] | 59 | ${CC} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@} |
---|
[950f7a7] | 60 | |
---|
[97203a7] | 61 | gccExtensions : gccExtensions.c |
---|
| 62 | ${CC} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@} |
---|
[d9b499c] | 63 | |
---|
| 64 | extension : extension.c |
---|
| 65 | ${CC} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@} |
---|
| 66 | |
---|
[c0aa336] | 67 | attributes : attributes.c |
---|
| 68 | ${CC} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@} |
---|
| 69 | |
---|
[3a5131ed] | 70 | KRfunctions : KRfunctions.c |
---|
| 71 | ${CC} ${CFLAGS} -CFA -XCFA -p ${<} -o ${@} |
---|
| 72 | |
---|
[4d4882a] | 73 | memberCtors-ERR1: memberCtors.c |
---|
[6a1bdfd] | 74 | ${CC} ${CFLAGS} -DERR1 ${<} -o ${@} |
---|
[486341f] | 75 | |
---|
[2c57025] | 76 | completeTypeError : completeTypeError.c |
---|
[66f8528] | 77 | ${CC} ${CFLAGS} -DERR1 ${<} -o ${@} |
---|