Changeset 5e44ac2 for tests/Makefile.in


Ignore:
Timestamp:
Aug 15, 2018, 1:58:02 PM (7 years ago)
Author:
Rob Schluntz <rschlunt@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
90cac45
Parents:
d7d63e5 (diff), 7bd4cc9 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' into demangler

File:
1 moved

Legend:

Unmodified
Added
Removed
  • tests/Makefile.in

    rd7d63e5 r5e44ac2  
    9191build_triplet = @build@
    9292host_triplet = @host@
    93 @BUILD_DEBUG_FALSE@am__append_1 = -nodebug
    94 @BUILD_DEBUG_TRUE@@BUILD_RELEASE_FALSE@am__append_2 = -debug
    95 @BUILD_DEBUG_TRUE@@BUILD_RELEASE_TRUE@am__append_3 = ${DEBUG_FLAGS}
    9693EXTRA_PROGRAMS = fstream_test$(EXEEXT) avl_test$(EXEEXT)
    97 subdir = src/tests
     94subdir = tests
    9895ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    99 am__aclocal_m4_deps = $(top_srcdir)/configure.ac
     96am__aclocal_m4_deps = $(top_srcdir)/automake/cfa.m4 \
     97        $(top_srcdir)/configure.ac
    10098am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
    10199        $(ACLOCAL_M4)
     
    182180BACKEND_CC = @BACKEND_CC@
    183181BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
    184 BUILD_IN_TREE_FLAGS_NOLIB = @BUILD_IN_TREE_FLAGS_NOLIB@
    185182CC = @CFACC@
    186183CCAS = @CCAS@
     
    213210EXEEXT = @EXEEXT@
    214211GREP = @GREP@
     212HOST_FLAGS = @HOST_FLAGS@
    215213INSTALL = @INSTALL@
    216214INSTALL_DATA = @INSTALL_DATA@
     
    222220LEXLIB = @LEXLIB@
    223221LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
     222LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@
     223LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@
    224224LIBOBJS = @LIBOBJS@
    225225LIBS = @LIBS@
    226226LTLIBOBJS = @LTLIBOBJS@
    227 MACHINE_TYPE = @MACHINE_TYPE@
    228227MAKEINFO = @MAKEINFO@
    229228MKDIR_P = @MKDIR_P@
     
    241240SHELL = @SHELL@
    242241STRIP = @STRIP@
     242TARGET_HOSTS = @TARGET_HOSTS@
    243243VERSION = @VERSION@
    244244YACC = @YACC@
     
    296296top_builddir = @top_builddir@
    297297top_srcdir = @top_srcdir@
     298AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
    298299debug = yes
     300installed = no
    299301quick_test = avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes
    300 @BUILD_CONCURRENCY_FALSE@concurrent = '-Econcurrent'
    301 @BUILD_CONCURRENCY_TRUE@concurrent =
     302concurrent =
    302303TEST_PY = python ${srcdir}/test.py
    303304
    304305# applies to both programs
    305306AM_CFLAGS = $(if $(test), 2> $(test), ) -g -Wall -Wno-unused-function \
    306         -quiet @CFA_FLAGS@ -DIN_DIR="${srcdir}/.in/" \
    307         @BUILD_IN_TREE_FLAGS@ $(am__append_1) $(am__append_2) \
    308         $(am__append_3)
     307        -quiet @CFA_FLAGS@ -DIN_DIR="${srcdir}/.in/" ${DEBUG_FLAGS} \
     308        ${INSTALL_FLAGS} ${ARCH_FLAGS}
    309309fstream_test_SOURCES = fstream_test.c
    310310avl_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
    311 
    312 # SKULLDUGGERY like libcfa/Makefile.am prevent extensionless headers from being generated
    313 # however, here it is more complicated because it must match the dependencies based on how
    314 # they are generated by gcc
    315 headers = $(shell find $(top_srcdir)/src/libcfa -type f ! -name "*.*")
    316 headers_real = $(shell realpath --relative-to=$(top_srcdir)/src/libcfa $(headers))
    317 headers_deps = $(addprefix %/, $(headers_real))
    318311all: all-am
    319312
    320313.SUFFIXES:
    321 .SUFFIXES: .c .o .obj
     314.SUFFIXES: .c .o .obj .validate
    322315$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
    323316        @for dep in $?; do \
     
    329322          esac; \
    330323        done; \
    331         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign src/tests/Makefile'; \
     324        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
    332325        $(am__cd) $(top_srcdir) && \
    333           $(AUTOMAKE) --foreign src/tests/Makefile
     326          $(AUTOMAKE) --foreign tests/Makefile
    334327Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
    335328        @case '$?' in \
     
    617610
    618611
    619 .PHONY : list
    620 
     612.PHONY: list .validate
     613.INTERMEDIATE: .validate .validate.c
     614
     615#----------------------------------------------------------------------------------------------------------------
    621616all-local :
    622         @+${TEST_PY} --debug=${debug} ${concurrent} ${quick_test}
     617        @+${TEST_PY} --debug=${debug}  --install=${installed} ${concurrent} ${quick_test}
    623618
    624619all-tests :
    625         @+${TEST_PY} --all --debug=${debug} ${concurrent}               # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
     620        @+${TEST_PY} --all --debug=${debug}  --install=${installed} ${concurrent}               # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
    626621
    627622clean-local :
     
    631626        @+${TEST_PY} --list ${concurrent}
    632627
     628.validate: .validate.c
     629        $(COMPILE) .validate.c -fsyntax-only -Wall -Wextra -Werror
     630
     631.validate.c:
     632        @echo "int main() { return 0; }" > ${@}
     633
    633634concurrency :
    634         @+${TEST_PY} --debug=${debug} -Iconcurrent
    635 $(headers_deps) :
    636         echo "Dummy rule, should never be called"
    637 
    638 # %/stdlib:
    639 #       echo "Dummy rule, should never be called"
    640 
     635        @+${TEST_PY} --debug=${debug}  --install=${installed} -Iconcurrent
     636
     637#----------------------------------------------------------------------------------------------------------------
    641638# implicit rule so not all test require a rule
    642639% : %.c $(CC)
Note: See TracChangeset for help on using the changeset viewer.