Changeset dc8511c for tests/Makefile.am


Ignore:
Timestamp:
Nov 7, 2018, 1:29:43 PM (5 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, 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
Message:

first attempt at updating suffixes for test programs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tests/Makefile.am

    r5753b33 rdc8511c  
    1111## Created On       : Sun May 31 09:08:15 2015
    1212## Last Modified By : Peter A. Buhr
    13 ## Last Modified On : Wed Jun  6 16:42:20 2018
    14 ## Update Count     : 49
     13## Last Modified On : Wed Nov  7 12:03:29 2018
     14## Update Count     : 59
    1515###############################################################################
    1616
    1717AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
     18
     19include $(top_srcdir)/src/cfa.make
    1820
    1921debug=yes
     
    4547EXTRA_PROGRAMS = fstream_test avl_test # build but do not install
    4648
    47 fstream_test_SOURCES = fstream_test.c
     49fstream_test_SOURCES = fstream_test.cfa
    4850
    4951avl_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
     
    7274
    7375#----------------------------------------------------------------------------------------------------------------
     76
    7477# implicit rule so not all test require a rule
    7578% : %.c $(CC)
    7679        $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    7780
    78 declarationSpecifier: declarationSpecifier.c $(CC)
     81declarationSpecifier: declarationSpecifier.cfa $(CC)
    7982        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    8083
    81 gccExtensions : gccExtensions.c $(CC)
     84gccExtensions : gccExtensions.cfa $(CC)
    8285        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    8386
    84 extension : extension.c $(CC)
     87extension : extension.cfa $(CC)
    8588        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    8689
    87 attributes : attributes.c $(CC)
     90attributes : attributes.cfa $(CC)
    8891        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    8992
    90 functions: functions.c $(CC)
     93functions: functions.cfa $(CC)
    9194        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    9295
    93 KRfunctions : KRfunctions.c $(CC)
     96KRfunctions : KRfunctions.cfa $(CC)
    9497        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    9598
     
    97100        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    98101
    99 gmp : gmp.c $(CC)
     102gmp : gmp.cfa $(CC)
    100103        $(PRETTY_PATH) $(COMPILE) -lgmp $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    101104
     
    105108
    106109#------------------------------------------------------------------------------
     110
    107111#To make errors path independent we need to cd into the correct directories
    108 completeTypeError : completeTypeError.c $(CC)
     112completeTypeError : completeTypeError.cfa $(CC)
    109113        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    110114
    111 typedefRedef-ERR1: typedefRedef.c $(CC)
     115typedefRedef-ERR1: typedefRedef.cfa $(CC)
    112116        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    113117
    114 alloc-ERROR: alloc.c $(CC)
     118alloc-ERROR: alloc.cfa $(CC)
    115119        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    116120
    117 fallthrough-ERROR: fallthrough.c $(CC)
     121fallthrough-ERROR: fallthrough.cfa $(CC)
    118122        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    119123
    120 nested-types-ERR1: nested-types.c $(CC)
     124nested-types-ERR1: nested-types.cfa $(CC)
    121125        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    122126
    123 nested-types-ERR2: nested-types.c $(CC)
     127nested-types-ERR2: nested-types.cfa $(CC)
    124128        $(PRETTY_PATH) $(COMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
    125129
Note: See TracChangeset for help on using the changeset viewer.