source: tests/Makefile.in @ 2c60c644

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 2c60c644 was 7215000, checked in by Thierry Delisle <tdelisle@…>, 5 years ago

Added flag to disable non-deteministic parts of the output when testing

  • Property mode set to 100644
File size: 29.2 KB
Line 
1# Makefile.in generated by automake 1.15 from Makefile.am.
2# @configure_input@
3
4# Copyright (C) 1994-2014 Free Software Foundation, Inc.
5
6# This Makefile.in is free software; the Free Software Foundation
7# gives unlimited permission to copy and/or distribute it,
8# with or without modifications, as long as this notice is preserved.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
17######################## -*- Mode: Makefile-Automake -*- ######################
18###############################################################################
19VPATH = @srcdir@
20am__is_gnu_make = { \
21  if test -z '$(MAKELEVEL)'; then \
22    false; \
23  elif test -n '$(MAKE_HOST)'; then \
24    true; \
25  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
26    true; \
27  else \
28    false; \
29  fi; \
30}
31am__make_running_with_option = \
32  case $${target_option-} in \
33      ?) ;; \
34      *) echo "am__make_running_with_option: internal error: invalid" \
35              "target option '$${target_option-}' specified" >&2; \
36         exit 1;; \
37  esac; \
38  has_opt=no; \
39  sane_makeflags=$$MAKEFLAGS; \
40  if $(am__is_gnu_make); then \
41    sane_makeflags=$$MFLAGS; \
42  else \
43    case $$MAKEFLAGS in \
44      *\\[\ \   ]*) \
45        bs=\\; \
46        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
47          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
48    esac; \
49  fi; \
50  skip_next=no; \
51  strip_trailopt () \
52  { \
53    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
54  }; \
55  for flg in $$sane_makeflags; do \
56    test $$skip_next = yes && { skip_next=no; continue; }; \
57    case $$flg in \
58      *=*|--*) continue;; \
59        -*I) strip_trailopt 'I'; skip_next=yes;; \
60      -*I?*) strip_trailopt 'I';; \
61        -*O) strip_trailopt 'O'; skip_next=yes;; \
62      -*O?*) strip_trailopt 'O';; \
63        -*l) strip_trailopt 'l'; skip_next=yes;; \
64      -*l?*) strip_trailopt 'l';; \
65      -[dEDm]) skip_next=yes;; \
66      -[JT]) skip_next=yes;; \
67    esac; \
68    case $$flg in \
69      *$$target_option*) has_opt=yes; break;; \
70    esac; \
71  done; \
72  test $$has_opt = yes
73am__make_dryrun = (target_option=n; $(am__make_running_with_option))
74am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
75pkgdatadir = $(datadir)/@PACKAGE@
76pkgincludedir = $(includedir)/@PACKAGE@
77pkglibdir = $(libdir)/@PACKAGE@
78pkglibexecdir = $(libexecdir)/@PACKAGE@
79am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
80install_sh_DATA = $(install_sh) -c -m 644
81install_sh_PROGRAM = $(install_sh) -c
82install_sh_SCRIPT = $(install_sh) -c
83INSTALL_HEADER = $(INSTALL_DATA)
84transform = $(program_transform_name)
85NORMAL_INSTALL = :
86PRE_INSTALL = :
87POST_INSTALL = :
88NORMAL_UNINSTALL = :
89PRE_UNINSTALL = :
90POST_UNINSTALL = :
91build_triplet = @build@
92host_triplet = @host@
93EXTRA_PROGRAMS = avl_test$(EXEEXT) .dummy_hack$(EXEEXT)
94subdir = tests
95ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
96am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \
97        $(top_srcdir)/automake/ltoptions.m4 \
98        $(top_srcdir)/automake/ltsugar.m4 \
99        $(top_srcdir)/automake/ltversion.m4 \
100        $(top_srcdir)/automake/lt~obsolete.m4 \
101        $(top_srcdir)/automake/cfa.m4 $(top_srcdir)/configure.ac
102am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
103        $(ACLOCAL_M4)
104DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
105mkinstalldirs = $(install_sh) -d
106CONFIG_HEADER = $(top_builddir)/config.h
107CONFIG_CLEAN_FILES = config.py
108CONFIG_CLEAN_VPATH_FILES = test.py
109am__dummy_hack_OBJECTS = .dummy_hack.$(OBJEXT) .dummy_hackxx.$(OBJEXT)
110_dummy_hack_OBJECTS = $(am__dummy_hack_OBJECTS)
111_dummy_hack_LDADD = $(LDADD)
112AM_V_lt = $(am__v_lt_@AM_V@)
113am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
114am__v_lt_0 = --silent
115am__v_lt_1 =
116am__dirstamp = $(am__leading_dot)dirstamp
117am_avl_test_OBJECTS = avltree/avl_test.$(OBJEXT) \
118        avltree/avl0.$(OBJEXT) avltree/avl1.$(OBJEXT) \
119        avltree/avl2.$(OBJEXT) avltree/avl3.$(OBJEXT) \
120        avltree/avl4.$(OBJEXT) avltree/avl-private.$(OBJEXT)
121avl_test_OBJECTS = $(am_avl_test_OBJECTS)
122avl_test_LDADD = $(LDADD)
123AM_V_P = $(am__v_P_@AM_V@)
124am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
125am__v_P_0 = false
126am__v_P_1 = :
127AM_V_GEN = $(am__v_GEN_@AM_V@)
128am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
129am__v_GEN_0 = @echo "  GEN     " $@;
130am__v_GEN_1 =
131AM_V_at = $(am__v_at_@AM_V@)
132am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
133am__v_at_0 = @
134am__v_at_1 =
135DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
136depcomp = $(SHELL) $(top_srcdir)/automake/depcomp
137am__depfiles_maybe = depfiles
138am__mv = mv -f
139COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
140        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
141LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
142        $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
143        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
144        $(AM_CFLAGS) $(CFLAGS)
145AM_V_CC = $(am__v_CC_@AM_V@)
146am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
147am__v_CC_0 = @echo "  CC      " $@;
148am__v_CC_1 =
149CCLD = $(CC)
150LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
151        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
152        $(AM_LDFLAGS) $(LDFLAGS) -o $@
153AM_V_CCLD = $(am__v_CCLD_@AM_V@)
154am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
155am__v_CCLD_0 = @echo "  CCLD    " $@;
156am__v_CCLD_1 =
157CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
158        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
159LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
160        $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
161        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
162        $(AM_CXXFLAGS) $(CXXFLAGS)
163AM_V_CXX = $(am__v_CXX_@AM_V@)
164am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
165am__v_CXX_0 = @echo "  CXX     " $@;
166am__v_CXX_1 =
167CXXLD = $(CXX)
168CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
169        $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
170        $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
171AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
172am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
173am__v_CXXLD_0 = @echo "  CXXLD   " $@;
174am__v_CXXLD_1 =
175SOURCES = $(_dummy_hack_SOURCES) $(avl_test_SOURCES)
176DIST_SOURCES = $(_dummy_hack_SOURCES) $(avl_test_SOURCES)
177am__can_run_installinfo = \
178  case $$AM_UPDATE_INFO_DIR in \
179    n|no|NO) false;; \
180    *) (install-info --version) >/dev/null 2>&1;; \
181  esac
182am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
183# Read a list of newline-separated strings from the standard input,
184# and print each of them once, without duplicates.  Input order is
185# *not* preserved.
186am__uniquify_input = $(AWK) '\
187  BEGIN { nonempty = 0; } \
188  { items[$$0] = 1; nonempty = 1; } \
189  END { if (nonempty) { for (i in items) print i; }; } \
190'
191# Make sure the list of sources is unique.  This is necessary because,
192# e.g., the same source file might be shared among _SOURCES variables
193# for different programs/libraries.
194am__define_uniq_tagged_files = \
195  list='$(am__tagged_files)'; \
196  unique=`for i in $$list; do \
197    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
198  done | $(am__uniquify_input)`
199ETAGS = etags
200CTAGS = ctags
201am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.py.in \
202        $(srcdir)/test.py $(top_srcdir)/automake/depcomp \
203        $(top_srcdir)/src/cfa.make
204DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
205ACLOCAL = @ACLOCAL@
206AMTAR = @AMTAR@
207AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
208AR = @AR@
209AUTOCONF = @AUTOCONF@
210AUTOHEADER = @AUTOHEADER@
211AUTOMAKE = @AUTOMAKE@
212AWK = @AWK@
213BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
214
215# adjust CC to current flags
216CC = $(if $(DISTCC_CFA_PATH),distcc $(DISTCC_CFA_PATH) ${ARCH_FLAGS},$(TARGET_CFA) ${DEBUG_FLAGS} ${ARCH_FLAGS})
217CCAS = @CCAS@
218CCASDEPMODE = @CCASDEPMODE@
219CCASFLAGS = @CCASFLAGS@
220CCDEPMODE = @CCDEPMODE@
221CFACC = $(CC)
222CFACC_INSTALL = @CFACC_INSTALL@
223CFACPP = @CFACPP@
224CFA_BACKEND_CC = @CFA_BACKEND_CC@
225CFA_BINDIR = @CFA_BINDIR@
226CFA_FLAGS = @CFA_FLAGS@
227CFA_INCDIR = @CFA_INCDIR@
228CFA_LIBDIR = @CFA_LIBDIR@
229CFA_NAME = @CFA_NAME@
230CFA_PREFIX = @CFA_PREFIX@
231CFLAGS = @CFLAGS@
232CPP = @CPP@
233CPPFLAGS = @CPPFLAGS@
234CXX = @CXX@
235CXXCPP = @CXXCPP@
236CXXDEPMODE = @CXXDEPMODE@
237CXXFLAGS = @CXXFLAGS@
238CYGPATH_W = @CYGPATH_W@
239DEFS = @DEFS@
240DEMANGLER = @DEMANGLER@
241DEPDIR = @DEPDIR@
242DLLTOOL = @DLLTOOL@
243DRIVER_DIR = @DRIVER_DIR@
244DSYMUTIL = @DSYMUTIL@
245DUMPBIN = @DUMPBIN@
246ECHO_C = @ECHO_C@
247ECHO_N = @ECHO_N@
248ECHO_T = @ECHO_T@
249EGREP = @EGREP@
250EXEEXT = @EXEEXT@
251FGREP = @FGREP@
252GREP = @GREP@
253HAS_DISTCC = @HAS_DISTCC@
254HOST_FLAGS = @HOST_FLAGS@
255INSTALL = @INSTALL@
256INSTALL_DATA = @INSTALL_DATA@
257INSTALL_PROGRAM = @INSTALL_PROGRAM@
258INSTALL_SCRIPT = @INSTALL_SCRIPT@
259INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
260LD = @LD@
261LDFLAGS = @LDFLAGS@
262LEX = @LEX@
263LEXLIB = @LEXLIB@
264LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
265LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@
266LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@
267LIBDEMANGLE = @LIBDEMANGLE@
268LIBOBJS = @LIBOBJS@
269LIBS = @LIBS@
270LIBTOOL = @LIBTOOL@
271LIPO = @LIPO@
272LN_S = @LN_S@
273LTLIBOBJS = @LTLIBOBJS@
274LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
275MAKEINFO = @MAKEINFO@
276MANIFEST_TOOL = @MANIFEST_TOOL@
277MKDIR_P = @MKDIR_P@
278NM = @NM@
279NMEDIT = @NMEDIT@
280OBJDUMP = @OBJDUMP@
281OBJEXT = @OBJEXT@
282OTOOL = @OTOOL@
283OTOOL64 = @OTOOL64@
284PACKAGE = @PACKAGE@
285PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
286PACKAGE_NAME = @PACKAGE_NAME@
287PACKAGE_STRING = @PACKAGE_STRING@
288PACKAGE_TARNAME = @PACKAGE_TARNAME@
289PACKAGE_URL = @PACKAGE_URL@
290PACKAGE_VERSION = @PACKAGE_VERSION@
291PATH_SEPARATOR = @PATH_SEPARATOR@
292RANLIB = @RANLIB@
293SED = @SED@
294SET_MAKE = @SET_MAKE@
295SHELL = @SHELL@
296STRIP = @STRIP@
297TARGET_HOSTS = @TARGET_HOSTS@
298VERSION = @VERSION@
299YACC = @YACC@
300YFLAGS = @YFLAGS@
301abs_builddir = @abs_builddir@
302abs_srcdir = @abs_srcdir@
303abs_top_builddir = @abs_top_builddir@
304abs_top_srcdir = @abs_top_srcdir@
305ac_ct_AR = @ac_ct_AR@
306ac_ct_CC = @ac_ct_CC@
307ac_ct_CXX = @ac_ct_CXX@
308ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
309am__include = @am__include@
310am__leading_dot = @am__leading_dot@
311am__quote = @am__quote@
312am__tar = @am__tar@
313am__untar = @am__untar@
314bindir = @bindir@
315build = @build@
316build_alias = @build_alias@
317build_cpu = @build_cpu@
318build_os = @build_os@
319build_vendor = @build_vendor@
320builddir = @builddir@
321datadir = @datadir@
322datarootdir = @datarootdir@
323docdir = @docdir@
324dvidir = @dvidir@
325exec_prefix = @exec_prefix@
326host = @host@
327host_alias = @host_alias@
328host_cpu = @host_cpu@
329host_os = @host_os@
330host_vendor = @host_vendor@
331htmldir = @htmldir@
332includedir = @includedir@
333infodir = @infodir@
334install_sh = @install_sh@
335libdir = @libdir@
336libexecdir = @libexecdir@
337localedir = @localedir@
338localstatedir = @localstatedir@
339mandir = @mandir@
340mkdir_p = @mkdir_p@
341oldincludedir = @oldincludedir@
342pdfdir = @pdfdir@
343prefix = @prefix@
344program_transform_name = @program_transform_name@
345psdir = @psdir@
346runstatedir = @runstatedir@
347sbindir = @sbindir@
348sharedstatedir = @sharedstatedir@
349srcdir = @srcdir@
350sysconfdir = @sysconfdir@
351target_alias = @target_alias@
352top_build_prefix = @top_build_prefix@
353top_builddir = @top_builddir@
354top_srcdir = @top_srcdir@
355AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
356ACLOCAL_AMFLAGS = -I automake
357CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS)
358LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
359        $(LIBTOOLFLAGS) --mode=compile $(CFACC) $(DEFS) \
360        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(AM_CFLAGS) $(CFAFLAGS) $(CFLAGS)
361
362AM_V_CFA = $(am__v_CFA_@AM_V@)
363am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@)
364am__v_CFA_0 = @echo "  CFA     " $@;
365am__v_CFA_1 =
366UPPCC = u++
367UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
368AM_V_UPP = $(am__v_UPP_@AM_V@)
369am__v_UPP_ = $(am__v_UPP_@AM_DEFAULT_V@)
370am__v_UPP_0 = @echo "  UPP     " $@;
371am__v_UPP_1 =
372AM_V_GOC = $(am__v_GOC_@AM_V@)
373am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@)
374am__v_GOC_0 = @echo "  GOC     " $@;
375am__v_GOC_1 =
376AM_V_PY = $(am__v_PY_@AM_V@)
377am__v_PY_ = $(am__v_PY_@AM_DEFAULT_V@)
378am__v_PY_0 = @echo "  PYTHON  " $@;
379am__v_PY_1 =
380AM_V_RUST = $(am__v_RUST_@AM_V@)
381am__v_RUST_ = $(am__v_RUST_@AM_DEFAULT_V@)
382am__v_RUST_0 = @echo "  RUST    " $@;
383am__v_RUST_1 =
384AM_V_NODEJS = $(am__v_NODEJS_@AM_V@)
385am__v_NODEJS_ = $(am__v_NODEJS_@AM_DEFAULT_V@)
386am__v_NODEJS_0 = @echo "  NODEJS  " $@;
387am__v_NODEJS_1 =
388AM_V_JAVAC = $(am__v_JAVAC_@AM_V@)
389am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@)
390am__v_JAVAC_0 = @echo "  JAVAC   " $@;
391am__v_JAVAC_1 =
392debug = yes
393installed = no
394archiveerrors =
395DEBUG_FLAGS = -debug -O0
396quick_test = avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes
397concurrent =
398timeouts =
399TEST_PY = python3 ${builddir}/test.py
400
401# applies to both programs
402# since automake doesn't have support for CFA we have to
403AM_CFLAGS = $(if $(test), 2> $(test), ) \
404        -g \
405        -Wall \
406        -Wno-unused-function \
407        -quiet @CFA_FLAGS@ \
408        -DIN_DIR="${abs_srcdir}/.in/"
409
410AM_CFAFLAGS = -XCFA --deterministic-out
411
412# get the desired cfa to test
413TARGET_CFA = $(if $(filter $(installed),yes), @CFACC_INSTALL@, @CFACC@)
414
415# get local binary for depedencies
416CFACCBIN = @CFACC@
417
418# adjusted CC but without the actual distcc call
419CFACCLOCAL = $(if $(DISTCC_CFA_PATH),$(DISTCC_CFA_PATH) ${ARCH_FLAGS},$(TARGET_CFA) ${DEBUG_FLAGS} ${ARCH_FLAGS})
420PRETTY_PATH = mkdir -p $(dir $(abspath ${@})) && cd ${srcdir} &&
421avl_test_SOURCES = avltree/avl_test.cfa avltree/avl0.cfa avltree/avl1.cfa avltree/avl2.cfa avltree/avl3.cfa avltree/avl4.cfa avltree/avl-private.cfa
422# automake doesn't know we still need C/CPP rules so pretend like we have a C program
423_dummy_hack_SOURCES = .dummy_hack.c .dummy_hackxx.cpp
424
425#----------------------------------------------------------------------------------------------------------------
426
427# Use for all tests, make sure the path are correct and all flags are added
428CFACOMPILETEST = $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) $($(shell echo "${@}_FLAGSCFA" | sed 's/-\|\//_/g'))
429
430#------------------------------------------------------------------------------
431# TARGETS WITH CUSTOM FLAGS
432#------------------------------------------------------------------------------
433# custom libs
434gmp_FLAGSLD = -lgmp
435
436#------------------------------------------------------------------------------
437# Generated code
438GENERATED_CODE = declarationSpecifier gccExtensions extension attributes functions KRfunctions
439
440# Use for tests where the make command is expected to succeed but the expected.txt should be compared to stderr
441EXPECT_STDERR = builtins/sync warnings/self-assignment
442all: all-am
443
444.SUFFIXES:
445.SUFFIXES: .c .cfa .cpp .dummy_hack .dummy_hackxx .lo .o .obj .validate
446$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/src/cfa.make $(am__configure_deps)
447        @for dep in $?; do \
448          case '$(am__configure_deps)' in \
449            *$$dep*) \
450              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
451                && { if test -f $@; then exit 0; else break; fi; }; \
452              exit 1;; \
453          esac; \
454        done; \
455        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
456        $(am__cd) $(top_srcdir) && \
457          $(AUTOMAKE) --foreign tests/Makefile
458Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
459        @case '$?' in \
460          *config.status*) \
461            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
462          *) \
463            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
464            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
465        esac;
466$(top_srcdir)/src/cfa.make $(am__empty):
467
468$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
469        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
470
471$(top_srcdir)/configure:  $(am__configure_deps)
472        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
473$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
474        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
475$(am__aclocal_m4_deps):
476config.py: $(top_builddir)/config.status $(srcdir)/config.py.in
477        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
478
479.dummy_hack$(EXEEXT): $(_dummy_hack_OBJECTS) $(_dummy_hack_DEPENDENCIES) $(EXTRA__dummy_hack_DEPENDENCIES)
480        @rm -f .dummy_hack$(EXEEXT)
481        $(AM_V_CXXLD)$(CXXLINK) $(_dummy_hack_OBJECTS) $(_dummy_hack_LDADD) $(LIBS)
482avltree/$(am__dirstamp):
483        @$(MKDIR_P) avltree
484        @: > avltree/$(am__dirstamp)
485avltree/$(DEPDIR)/$(am__dirstamp):
486        @$(MKDIR_P) avltree/$(DEPDIR)
487        @: > avltree/$(DEPDIR)/$(am__dirstamp)
488avltree/avl_test.$(OBJEXT): avltree/$(am__dirstamp) \
489        avltree/$(DEPDIR)/$(am__dirstamp)
490avltree/avl0.$(OBJEXT): avltree/$(am__dirstamp) \
491        avltree/$(DEPDIR)/$(am__dirstamp)
492avltree/avl1.$(OBJEXT): avltree/$(am__dirstamp) \
493        avltree/$(DEPDIR)/$(am__dirstamp)
494avltree/avl2.$(OBJEXT): avltree/$(am__dirstamp) \
495        avltree/$(DEPDIR)/$(am__dirstamp)
496avltree/avl3.$(OBJEXT): avltree/$(am__dirstamp) \
497        avltree/$(DEPDIR)/$(am__dirstamp)
498avltree/avl4.$(OBJEXT): avltree/$(am__dirstamp) \
499        avltree/$(DEPDIR)/$(am__dirstamp)
500avltree/avl-private.$(OBJEXT): avltree/$(am__dirstamp) \
501        avltree/$(DEPDIR)/$(am__dirstamp)
502
503avl_test$(EXEEXT): $(avl_test_OBJECTS) $(avl_test_DEPENDENCIES) $(EXTRA_avl_test_DEPENDENCIES)
504        @rm -f avl_test$(EXEEXT)
505        $(AM_V_CCLD)$(LINK) $(avl_test_OBJECTS) $(avl_test_LDADD) $(LIBS)
506
507mostlyclean-compile:
508        -rm -f *.$(OBJEXT)
509        -rm -f avltree/*.$(OBJEXT)
510
511distclean-compile:
512        -rm -f *.tab.c
513
514@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/.dummy_hack.Po@am__quote@
515@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/.dummy_hackxx.Po@am__quote@
516
517.c.o:
518@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
519@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
520@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
521@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
522@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
523@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
524
525.c.obj:
526@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
527@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
528@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
529@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
530@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
531@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
532
533.c.lo:
534@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
535@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
536@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Plo
537@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
538@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
539@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
540
541.cpp.o:
542@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
543@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
544@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
545@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
546@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
547@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
548
549.cpp.obj:
550@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
551@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
552@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
553@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
554@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
555@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
556
557.cpp.lo:
558@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
559@am__fastdepCXX_TRUE@   $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
560@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
561@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
562@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
563@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
564
565mostlyclean-libtool:
566        -rm -f *.lo
567
568clean-libtool:
569        -rm -rf .libs _libs
570
571ID: $(am__tagged_files)
572        $(am__define_uniq_tagged_files); mkid -fID $$unique
573tags: tags-am
574TAGS: tags
575
576tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
577        set x; \
578        here=`pwd`; \
579        $(am__define_uniq_tagged_files); \
580        shift; \
581        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
582          test -n "$$unique" || unique=$$empty_fix; \
583          if test $$# -gt 0; then \
584            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
585              "$$@" $$unique; \
586          else \
587            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
588              $$unique; \
589          fi; \
590        fi
591ctags: ctags-am
592
593CTAGS: ctags
594ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
595        $(am__define_uniq_tagged_files); \
596        test -z "$(CTAGS_ARGS)$$unique" \
597          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
598             $$unique
599
600GTAGS:
601        here=`$(am__cd) $(top_builddir) && pwd` \
602          && $(am__cd) $(top_srcdir) \
603          && gtags -i $(GTAGS_ARGS) "$$here"
604cscopelist: cscopelist-am
605
606cscopelist-am: $(am__tagged_files)
607        list='$(am__tagged_files)'; \
608        case "$(srcdir)" in \
609          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
610          *) sdir=$(subdir)/$(srcdir) ;; \
611        esac; \
612        for i in $$list; do \
613          if test -f "$$i"; then \
614            echo "$(subdir)/$$i"; \
615          else \
616            echo "$$sdir/$$i"; \
617          fi; \
618        done >> $(top_builddir)/cscope.files
619
620distclean-tags:
621        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
622
623distdir: $(DISTFILES)
624        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
625        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
626        list='$(DISTFILES)'; \
627          dist_files=`for file in $$list; do echo $$file; done | \
628          sed -e "s|^$$srcdirstrip/||;t" \
629              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
630        case $$dist_files in \
631          */*) $(MKDIR_P) `echo "$$dist_files" | \
632                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
633                           sort -u` ;; \
634        esac; \
635        for file in $$dist_files; do \
636          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
637          if test -d $$d/$$file; then \
638            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
639            if test -d "$(distdir)/$$file"; then \
640              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
641            fi; \
642            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
643              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
644              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
645            fi; \
646            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
647          else \
648            test -f "$(distdir)/$$file" \
649            || cp -p $$d/$$file "$(distdir)/$$file" \
650            || exit 1; \
651          fi; \
652        done
653check-am: all-am
654check: check-am
655all-am: Makefile all-local
656installdirs:
657install: install-am
658install-exec: install-exec-am
659install-data: install-data-am
660uninstall: uninstall-am
661
662install-am: all-am
663        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
664
665installcheck: installcheck-am
666install-strip:
667        if test -z '$(STRIP)'; then \
668          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
669            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
670              install; \
671        else \
672          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
673            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
674            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
675        fi
676mostlyclean-generic:
677
678clean-generic:
679
680distclean-generic:
681        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
682        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
683        -rm -f avltree/$(DEPDIR)/$(am__dirstamp)
684        -rm -f avltree/$(am__dirstamp)
685
686maintainer-clean-generic:
687        @echo "This command is intended for maintainers to use"
688        @echo "it deletes files that may require special tools to rebuild."
689clean: clean-am
690
691clean-am: clean-generic clean-libtool clean-local mostlyclean-am
692
693distclean: distclean-am
694        -rm -rf ./$(DEPDIR)
695        -rm -f Makefile
696distclean-am: clean-am distclean-compile distclean-generic \
697        distclean-tags
698
699dvi: dvi-am
700
701dvi-am:
702
703html: html-am
704
705html-am:
706
707info: info-am
708
709info-am:
710
711install-data-am:
712
713install-dvi: install-dvi-am
714
715install-dvi-am:
716
717install-exec-am:
718
719install-html: install-html-am
720
721install-html-am:
722
723install-info: install-info-am
724
725install-info-am:
726
727install-man:
728
729install-pdf: install-pdf-am
730
731install-pdf-am:
732
733install-ps: install-ps-am
734
735install-ps-am:
736
737installcheck-am:
738
739maintainer-clean: maintainer-clean-am
740        -rm -rf ./$(DEPDIR)
741        -rm -f Makefile
742maintainer-clean-am: distclean-am maintainer-clean-generic
743
744mostlyclean: mostlyclean-am
745
746mostlyclean-am: mostlyclean-compile mostlyclean-generic \
747        mostlyclean-libtool
748
749pdf: pdf-am
750
751pdf-am:
752
753ps: ps-am
754
755ps-am:
756
757uninstall-am:
758
759.MAKE: install-am install-strip
760
761.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am clean \
762        clean-generic clean-libtool clean-local cscopelist-am ctags \
763        ctags-am distclean distclean-compile distclean-generic \
764        distclean-libtool distclean-tags distdir dvi dvi-am html \
765        html-am info info-am install install-am install-data \
766        install-data-am install-dvi install-dvi-am install-exec \
767        install-exec-am install-html install-html-am install-info \
768        install-info-am install-man install-pdf install-pdf-am \
769        install-ps install-ps-am install-strip installcheck \
770        installcheck-am installdirs maintainer-clean \
771        maintainer-clean-generic mostlyclean mostlyclean-compile \
772        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
773        tags tags-am uninstall uninstall-am
774
775.PRECIOUS: Makefile
776
777
778.cfa.o:
779        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
780        $(CFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
781        $(am__mv) $$depbase.Tpo $$depbase.Po
782
783.cfa.lo:
784        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
785        $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
786        $(am__mv) $$depbase.Tpo $$depbase.Plo
787
788.PHONY: list .validate
789.INTERMEDIATE: .validate .validate.cfa
790
791#----------------------------------------------------------------------------------------------------------------
792all-local :
793        @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} ${quick_test}
794
795all-tests :
796        @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
797
798clean-local :
799        rm -f ${EXTRA_PROGRAMS}
800
801list :
802        @+${TEST_PY} --list ${concurrent}
803
804.validate: .validate.cfa
805        $(CFACOMPILE) .validate.cfa -fsyntax-only -Wall -Wextra -Werror
806
807.validate.cfa:
808        @echo "int main() { return 0; }" > ${@}
809
810# automake doesn't know we still need C rules so pretend like we have a C program
811.dummy_hack.c:
812        @echo "int main() { return 0; }" > ${@}
813
814.dummy_hackxx.cpp:
815        @echo "int bar() { return 0; }" > ${@}
816
817concurrency :
818        @+${TEST_PY} --debug=${debug}  --install=${installed} -Iconcurrent
819
820#----------------------------------------------------------------------------------------------------------------
821
822# implicit rule so not all test require a rule
823# split into two steps to support compiling remotely using distcc
824# don't use distcc to do the linking because distcc doesn't do linking
825% : %.cfa $(CFACCBIN)
826        $(CFACOMPILETEST) -c -o $(abspath ${@}).o
827        $(CFACCLOCAL) $($(shell echo "${@}_FLAGSLD" | sed 's/-\|\//_/g')) $(abspath ${@}).o -o $(abspath ${@})
828
829# implicit rule for c++ test
830# convient for testing the testsuite itself but not actuall used
831% : %.cpp
832        $(PRETTY_PATH) $(CXXCOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
833$(GENERATED_CODE): % : %.cfa $(CFACCBIN)
834        $(CFACOMPILETEST) -CFA -XCFA -p -c -fsyntax-only -o $(abspath ${@})
835$(EXPECT_STDERR): % : %.cfa $(CFACCBIN)
836        $(CFACOMPILETEST) -c -fsyntax-only 2> $(abspath ${@})
837
838#------------------------------------------------------------------------------
839# CUSTOM TARGET
840#------------------------------------------------------------------------------
841# expected failures
842# use custom target since they require a custom define and custom dependencies
843alloc-ERROR : alloc.cfa $(CFACCBIN)
844        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
845
846typedefRedef-ERR1 : typedefRedef.cfa $(CFACCBIN)
847        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
848
849nested-types-ERR1 : nested-types.cfa $(CFACCBIN)
850        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
851
852nested-types-ERR2 : nested-types.cfa $(CFACCBIN)
853        $(CFACOMPILETEST) -DERR2 -c -fsyntax-only -o $(abspath ${@})
854
855raii/memberCtors-ERR1 : raii/memberCtors.cfa $(CFACCBIN)
856        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
857
858raii/ctor-autogen-ERR1 : raii/ctor-autogen.cfa $(CFACCBIN)
859        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
860
861raii/dtor-early-exit-ERR1 : raii/dtor-early-exit.cfa $(CFACCBIN)
862        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
863
864raii/dtor-early-exit-ERR2 : raii/dtor-early-exit.cfa $(CFACCBIN)
865        $(CFACOMPILETEST) -DERR2 -c -fsyntax-only -o $(abspath ${@})
866
867#------------------------------------------------------------------------------
868# Other targets
869
870# Tell versions [3.59,3.63) of GNU make to not export all variables.
871# Otherwise a system limit (for SysV at least) may be exceeded.
872.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.