source: tests/Makefile.in @ 0c30ecc

arm-ehenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-expr
Last change on this file since 0c30ecc was 0c30ecc, checked in by Thierry Delisle <tdelisle@…>, 22 months ago

Move cfa.m4 and cfa.make to tools/build

  • Property mode set to 100644
File size: 26.3 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)/tools/build/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_avl_test_OBJECTS =
117avl_test_OBJECTS = $(am_avl_test_OBJECTS)
118avl_test_LDADD = $(LDADD)
119AM_V_P = $(am__v_P_@AM_V@)
120am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
121am__v_P_0 = false
122am__v_P_1 = :
123AM_V_GEN = $(am__v_GEN_@AM_V@)
124am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
125am__v_GEN_0 = @echo "  GEN     " $@;
126am__v_GEN_1 =
127AM_V_at = $(am__v_at_@AM_V@)
128am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
129am__v_at_0 = @
130am__v_at_1 =
131depcomp = $(SHELL) $(top_srcdir)/automake/depcomp
132am__depfiles_maybe = depfiles
133am__mv = mv -f
134COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
135        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
136LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
137        $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
138        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
139        $(AM_CFLAGS) $(CFLAGS)
140AM_V_CC = $(am__v_CC_@AM_V@)
141am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
142am__v_CC_0 = @echo "  CC      " $@;
143am__v_CC_1 =
144CCLD = $(CC)
145LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
146        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
147        $(AM_LDFLAGS) $(LDFLAGS) -o $@
148AM_V_CCLD = $(am__v_CCLD_@AM_V@)
149am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
150am__v_CCLD_0 = @echo "  CCLD    " $@;
151am__v_CCLD_1 =
152CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
153        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
154LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
155        $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
156        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
157        $(AM_CXXFLAGS) $(CXXFLAGS)
158AM_V_CXX = $(am__v_CXX_@AM_V@)
159am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
160am__v_CXX_0 = @echo "  CXX     " $@;
161am__v_CXX_1 =
162CXXLD = $(CXX)
163CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
164        $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
165        $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
166AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
167am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
168am__v_CXXLD_0 = @echo "  CXXLD   " $@;
169am__v_CXXLD_1 =
170SOURCES = $(_dummy_hack_SOURCES) $(avl_test_SOURCES)
171DIST_SOURCES = $(_dummy_hack_SOURCES) $(avl_test_SOURCES)
172am__can_run_installinfo = \
173  case $$AM_UPDATE_INFO_DIR in \
174    n|no|NO) false;; \
175    *) (install-info --version) >/dev/null 2>&1;; \
176  esac
177am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
178# Read a list of newline-separated strings from the standard input,
179# and print each of them once, without duplicates.  Input order is
180# *not* preserved.
181am__uniquify_input = $(AWK) '\
182  BEGIN { nonempty = 0; } \
183  { items[$$0] = 1; nonempty = 1; } \
184  END { if (nonempty) { for (i in items) print i; }; } \
185'
186# Make sure the list of sources is unique.  This is necessary because,
187# e.g., the same source file might be shared among _SOURCES variables
188# for different programs/libraries.
189am__define_uniq_tagged_files = \
190  list='$(am__tagged_files)'; \
191  unique=`for i in $$list; do \
192    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
193  done | $(am__uniquify_input)`
194ETAGS = etags
195CTAGS = ctags
196am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.py.in \
197        $(srcdir)/test.py $(top_srcdir)/automake/depcomp
198DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
199ACLOCAL = @ACLOCAL@
200AMTAR = @AMTAR@
201AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
202AR = @AR@
203AUTOCONF = @AUTOCONF@
204AUTOHEADER = @AUTOHEADER@
205AUTOMAKE = @AUTOMAKE@
206AWK = @AWK@
207BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
208
209# adjust CC to current flags
210CC = $(if $(DISTCC_CFA_PATH),distcc $(DISTCC_CFA_PATH) ${ARCH_FLAGS},$(TARGET_CFA) ${DEBUG_FLAGS} ${ARCH_FLAGS})
211CCAS = @CCAS@
212CCASDEPMODE = @CCASDEPMODE@
213CCASFLAGS = @CCASFLAGS@
214CCDEPMODE = @CCDEPMODE@
215CFACC = $(CC)
216CFACC_INSTALL = @CFACC_INSTALL@
217CFACPP = @CFACPP@
218CFAMAKE = @CFAMAKE@
219CFA_BACKEND_CC = @CFA_BACKEND_CC@
220CFA_BINDIR = @CFA_BINDIR@
221CFA_FLAGS = @CFA_FLAGS@
222CFA_INCDIR = @CFA_INCDIR@
223CFA_LIBDIR = @CFA_LIBDIR@
224CFA_NAME = @CFA_NAME@
225CFA_PREFIX = @CFA_PREFIX@
226CFLAGS = @CFLAGS@
227CPP = @CPP@
228CPPFLAGS = @CPPFLAGS@
229CXX = @CXX@
230CXXCPP = @CXXCPP@
231CXXDEPMODE = @CXXDEPMODE@
232CXXFLAGS = @CXXFLAGS@
233CYGPATH_W = @CYGPATH_W@
234DEFS = @DEFS@
235DEMANGLER = @DEMANGLER@
236DEPDIR = @DEPDIR@
237DLLTOOL = @DLLTOOL@
238DRIVER_DIR = @DRIVER_DIR@
239DSYMUTIL = @DSYMUTIL@
240DUMPBIN = @DUMPBIN@
241ECHO_C = @ECHO_C@
242ECHO_N = @ECHO_N@
243ECHO_T = @ECHO_T@
244EGREP = @EGREP@
245EXEEXT = @EXEEXT@
246FGREP = @FGREP@
247GREP = @GREP@
248HAS_DISTCC = @HAS_DISTCC@
249HOST_FLAGS = @HOST_FLAGS@
250INSTALL = @INSTALL@
251INSTALL_DATA = @INSTALL_DATA@
252INSTALL_PROGRAM = @INSTALL_PROGRAM@
253INSTALL_SCRIPT = @INSTALL_SCRIPT@
254INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
255LD = @LD@
256LDFLAGS = @LDFLAGS@
257LEX = @LEX@
258LEXLIB = @LEXLIB@
259LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
260LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@
261LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@
262LIBDEMANGLE = @LIBDEMANGLE@
263LIBOBJS = @LIBOBJS@
264LIBS = @LIBS@
265LIBTOOL = @LIBTOOL@
266LIPO = @LIPO@
267LN_S = @LN_S@
268LTLIBOBJS = @LTLIBOBJS@
269LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
270MAKEINFO = @MAKEINFO@
271MANIFEST_TOOL = @MANIFEST_TOOL@
272MKDIR_P = @MKDIR_P@
273NM = @NM@
274NMEDIT = @NMEDIT@
275OBJDUMP = @OBJDUMP@
276OBJEXT = @OBJEXT@
277OTOOL = @OTOOL@
278OTOOL64 = @OTOOL64@
279PACKAGE = @PACKAGE@
280PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
281PACKAGE_NAME = @PACKAGE_NAME@
282PACKAGE_STRING = @PACKAGE_STRING@
283PACKAGE_TARNAME = @PACKAGE_TARNAME@
284PACKAGE_URL = @PACKAGE_URL@
285PACKAGE_VERSION = @PACKAGE_VERSION@
286PATH_SEPARATOR = @PATH_SEPARATOR@
287RANLIB = @RANLIB@
288SED = @SED@
289SET_MAKE = @SET_MAKE@
290SHELL = @SHELL@
291STRIP = @STRIP@
292TARGET_HOSTS = @TARGET_HOSTS@
293VERSION = @VERSION@
294YACC = @YACC@
295YFLAGS = @YFLAGS@
296abs_builddir = @abs_builddir@
297abs_srcdir = @abs_srcdir@
298abs_top_builddir = @abs_top_builddir@
299abs_top_srcdir = @abs_top_srcdir@
300ac_ct_AR = @ac_ct_AR@
301ac_ct_CC = @ac_ct_CC@
302ac_ct_CXX = @ac_ct_CXX@
303ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
304am__include = @am__include@
305am__leading_dot = @am__leading_dot@
306am__quote = @am__quote@
307am__tar = @am__tar@
308am__untar = @am__untar@
309bindir = @bindir@
310build = @build@
311build_alias = @build_alias@
312build_cpu = @build_cpu@
313build_os = @build_os@
314build_vendor = @build_vendor@
315builddir = @builddir@
316datadir = @datadir@
317datarootdir = @datarootdir@
318docdir = @docdir@
319dvidir = @dvidir@
320exec_prefix = @exec_prefix@
321host = @host@
322host_alias = @host_alias@
323host_cpu = @host_cpu@
324host_os = @host_os@
325host_vendor = @host_vendor@
326htmldir = @htmldir@
327includedir = @includedir@
328infodir = @infodir@
329install_sh = @install_sh@
330libdir = @libdir@
331libexecdir = @libexecdir@
332localedir = @localedir@
333localstatedir = @localstatedir@
334mandir = @mandir@
335mkdir_p = @mkdir_p@
336oldincludedir = @oldincludedir@
337pdfdir = @pdfdir@
338prefix = @prefix@
339program_transform_name = @program_transform_name@
340psdir = @psdir@
341runstatedir = @runstatedir@
342sbindir = @sbindir@
343sharedstatedir = @sharedstatedir@
344srcdir = @srcdir@
345sysconfdir = @sysconfdir@
346target_alias = @target_alias@
347top_build_prefix = @top_build_prefix@
348top_builddir = @top_builddir@
349top_srcdir = @top_srcdir@
350AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
351ACLOCAL_AMFLAGS = -I automake
352DEFAULT_INCLUDES = -I${abs_srcdir}
353debug = yes
354installed = no
355archiveerrors =
356DEBUG_FLAGS = -debug -O0
357quick_test = avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes
358concurrent =
359timeouts =
360TEST_PY = python3 ${builddir}/test.py
361
362# applies to both programs
363# since automake doesn't have support for CFA we have to
364AM_CFLAGS = $(if $(test), 2> $(test), ) \
365        -g \
366        -Wall \
367        -Wno-unused-function \
368        -quiet @CFA_FLAGS@ \
369        -DIN_DIR="${abs_srcdir}/.in/"
370
371AM_CFAFLAGS = -XCFA --deterministic-out
372
373# get the desired cfa to test
374TARGET_CFA = $(if $(filter $(installed),yes), @CFACC_INSTALL@, @CFACC@)
375
376# get local binary for depedencies
377CFACCBIN = @CFACC@
378
379# adjusted CC but without the actual distcc call
380CFACCLOCAL = $(if $(DISTCC_CFA_PATH),$(DISTCC_CFA_PATH) ${ARCH_FLAGS},$(TARGET_CFA) ${DEBUG_FLAGS} ${ARCH_FLAGS})
381PRETTY_PATH = mkdir -p $(dir $(abspath ${@})) && cd ${srcdir} &&
382avl_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
383# automake doesn't know we still need C/CPP rules so pretend like we have a C program
384_dummy_hack_SOURCES = .dummy_hack.c .dummy_hackxx.cpp
385
386#----------------------------------------------------------------------------------------------------------------
387
388# Use for all tests, make sure the path are correct and all flags are added
389CFACOMPILETEST = $(PRETTY_PATH) $(CFACOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) $($(shell echo "${@}_FLAGSCFA" | sed 's/-\|\//_/g'))
390
391#------------------------------------------------------------------------------
392# TARGETS WITH CUSTOM FLAGS
393#------------------------------------------------------------------------------
394# custom libs
395gmp_FLAGSLD = -lgmp
396
397#------------------------------------------------------------------------------
398# Generated code
399GENERATED_CODE = declarationSpecifier gccExtensions extension attributes functions KRfunctions
400
401# Use for tests where the make command is expected to succeed but the expected.txt should be compared to stderr
402EXPECT_STDERR = builtins/sync warnings/self-assignment
403all: all-am
404
405.SUFFIXES:
406.SUFFIXES: .c .cfa .cpp .dummy_hack .dummy_hackxx .lo .o .obj .validate
407$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
408        @for dep in $?; do \
409          case '$(am__configure_deps)' in \
410            *$$dep*) \
411              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
412                && { if test -f $@; then exit 0; else break; fi; }; \
413              exit 1;; \
414          esac; \
415        done; \
416        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
417        $(am__cd) $(top_srcdir) && \
418          $(AUTOMAKE) --foreign tests/Makefile
419Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
420        @case '$?' in \
421          *config.status*) \
422            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
423          *) \
424            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
425            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
426        esac;
427
428$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
429        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
430
431$(top_srcdir)/configure:  $(am__configure_deps)
432        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
433$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
434        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
435$(am__aclocal_m4_deps):
436config.py: $(top_builddir)/config.status $(srcdir)/config.py.in
437        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
438
439.dummy_hack$(EXEEXT): $(_dummy_hack_OBJECTS) $(_dummy_hack_DEPENDENCIES) $(EXTRA__dummy_hack_DEPENDENCIES)
440        @rm -f .dummy_hack$(EXEEXT)
441        $(AM_V_CXXLD)$(CXXLINK) $(_dummy_hack_OBJECTS) $(_dummy_hack_LDADD) $(LIBS)
442
443avl_test$(EXEEXT): $(avl_test_OBJECTS) $(avl_test_DEPENDENCIES) $(EXTRA_avl_test_DEPENDENCIES)
444        @rm -f avl_test$(EXEEXT)
445        $(AM_V_CCLD)$(LINK) $(avl_test_OBJECTS) $(avl_test_LDADD) $(LIBS)
446
447mostlyclean-compile:
448        -rm -f *.$(OBJEXT)
449
450distclean-compile:
451        -rm -f *.tab.c
452
453@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/.dummy_hack.Po@am__quote@
454@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/.dummy_hackxx.Po@am__quote@
455
456.c.o:
457@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
458@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
459@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
460@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
461@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
462@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
463
464.c.obj:
465@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
466@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
467@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
468@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
469@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
470@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
471
472.c.lo:
473@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
474@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
475@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Plo
476@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
477@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
478@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
479
480.cpp.o:
481@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
482@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
483@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
484@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
485@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
486@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
487
488.cpp.obj:
489@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
490@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
491@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
492@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
493@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
494@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
495
496.cpp.lo:
497@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
498@am__fastdepCXX_TRUE@   $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
499@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
500@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
501@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
502@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
503
504mostlyclean-libtool:
505        -rm -f *.lo
506
507clean-libtool:
508        -rm -rf .libs _libs
509
510ID: $(am__tagged_files)
511        $(am__define_uniq_tagged_files); mkid -fID $$unique
512tags: tags-am
513TAGS: tags
514
515tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
516        set x; \
517        here=`pwd`; \
518        $(am__define_uniq_tagged_files); \
519        shift; \
520        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
521          test -n "$$unique" || unique=$$empty_fix; \
522          if test $$# -gt 0; then \
523            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
524              "$$@" $$unique; \
525          else \
526            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
527              $$unique; \
528          fi; \
529        fi
530ctags: ctags-am
531
532CTAGS: ctags
533ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
534        $(am__define_uniq_tagged_files); \
535        test -z "$(CTAGS_ARGS)$$unique" \
536          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
537             $$unique
538
539GTAGS:
540        here=`$(am__cd) $(top_builddir) && pwd` \
541          && $(am__cd) $(top_srcdir) \
542          && gtags -i $(GTAGS_ARGS) "$$here"
543cscopelist: cscopelist-am
544
545cscopelist-am: $(am__tagged_files)
546        list='$(am__tagged_files)'; \
547        case "$(srcdir)" in \
548          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
549          *) sdir=$(subdir)/$(srcdir) ;; \
550        esac; \
551        for i in $$list; do \
552          if test -f "$$i"; then \
553            echo "$(subdir)/$$i"; \
554          else \
555            echo "$$sdir/$$i"; \
556          fi; \
557        done >> $(top_builddir)/cscope.files
558
559distclean-tags:
560        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
561
562distdir: $(DISTFILES)
563        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
564        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
565        list='$(DISTFILES)'; \
566          dist_files=`for file in $$list; do echo $$file; done | \
567          sed -e "s|^$$srcdirstrip/||;t" \
568              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
569        case $$dist_files in \
570          */*) $(MKDIR_P) `echo "$$dist_files" | \
571                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
572                           sort -u` ;; \
573        esac; \
574        for file in $$dist_files; do \
575          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
576          if test -d $$d/$$file; then \
577            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
578            if test -d "$(distdir)/$$file"; then \
579              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
580            fi; \
581            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
582              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
583              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
584            fi; \
585            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
586          else \
587            test -f "$(distdir)/$$file" \
588            || cp -p $$d/$$file "$(distdir)/$$file" \
589            || exit 1; \
590          fi; \
591        done
592check-am: all-am
593check: check-am
594all-am: Makefile all-local
595installdirs:
596install: install-am
597install-exec: install-exec-am
598install-data: install-data-am
599uninstall: uninstall-am
600
601install-am: all-am
602        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
603
604installcheck: installcheck-am
605install-strip:
606        if test -z '$(STRIP)'; then \
607          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
608            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
609              install; \
610        else \
611          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
612            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
613            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
614        fi
615mostlyclean-generic:
616
617clean-generic:
618
619distclean-generic:
620        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
621        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
622
623maintainer-clean-generic:
624        @echo "This command is intended for maintainers to use"
625        @echo "it deletes files that may require special tools to rebuild."
626clean: clean-am
627
628clean-am: clean-generic clean-libtool clean-local mostlyclean-am
629
630distclean: distclean-am
631        -rm -rf ./$(DEPDIR)
632        -rm -f Makefile
633distclean-am: clean-am distclean-compile distclean-generic \
634        distclean-tags
635
636dvi: dvi-am
637
638dvi-am:
639
640html: html-am
641
642html-am:
643
644info: info-am
645
646info-am:
647
648install-data-am:
649
650install-dvi: install-dvi-am
651
652install-dvi-am:
653
654install-exec-am:
655
656install-html: install-html-am
657
658install-html-am:
659
660install-info: install-info-am
661
662install-info-am:
663
664install-man:
665
666install-pdf: install-pdf-am
667
668install-pdf-am:
669
670install-ps: install-ps-am
671
672install-ps-am:
673
674installcheck-am:
675
676maintainer-clean: maintainer-clean-am
677        -rm -rf ./$(DEPDIR)
678        -rm -f Makefile
679maintainer-clean-am: distclean-am maintainer-clean-generic
680
681mostlyclean: mostlyclean-am
682
683mostlyclean-am: mostlyclean-compile mostlyclean-generic \
684        mostlyclean-libtool
685
686pdf: pdf-am
687
688pdf-am:
689
690ps: ps-am
691
692ps-am:
693
694uninstall-am:
695
696.MAKE: install-am install-strip
697
698.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am clean \
699        clean-generic clean-libtool clean-local cscopelist-am ctags \
700        ctags-am distclean distclean-compile distclean-generic \
701        distclean-libtool distclean-tags distdir dvi dvi-am html \
702        html-am info info-am install install-am install-data \
703        install-data-am install-dvi install-dvi-am install-exec \
704        install-exec-am install-html install-html-am install-info \
705        install-info-am install-man install-pdf install-pdf-am \
706        install-ps install-ps-am install-strip installcheck \
707        installcheck-am installdirs maintainer-clean \
708        maintainer-clean-generic mostlyclean mostlyclean-compile \
709        mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
710        tags tags-am uninstall uninstall-am
711
712.PRECIOUS: Makefile
713
714
715@CFAMAKE@
716
717.PHONY: list .validate
718.INTERMEDIATE: .validate .validate.cfa
719
720#----------------------------------------------------------------------------------------------------------------
721all-local :
722        @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} ${quick_test}
723
724all-tests :
725        @+${TEST_PY} --debug=${debug} --install=${installed} --archive-errors=${archiveerrors} ${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
726
727clean-local :
728        rm -f ${EXTRA_PROGRAMS}
729
730list :
731        @+${TEST_PY} --list ${concurrent}
732
733.validate: .validate.cfa
734        $(CFACOMPILE) .validate.cfa -fsyntax-only -Wall -Wextra -Werror
735
736.validate.cfa:
737        @echo "int main() { return 0; }" > ${@}
738
739# automake doesn't know we still need C rules so pretend like we have a C program
740.dummy_hack.c:
741        @echo "int main() { return 0; }" > ${@}
742
743.dummy_hackxx.cpp:
744        @echo "int bar() { return 0; }" > ${@}
745
746concurrency :
747        @+${TEST_PY} --debug=${debug}  --install=${installed} -Iconcurrent
748
749#----------------------------------------------------------------------------------------------------------------
750
751# implicit rule so not all test require a rule
752# split into two steps to support compiling remotely using distcc
753# don't use distcc to do the linking because distcc doesn't do linking
754% : %.cfa $(CFACCBIN)
755        $(CFACOMPILETEST) -c -o $(abspath ${@}).o
756        $(CFACCLOCAL) $($(shell echo "${@}_FLAGSLD" | sed 's/-\|\//_/g')) $(abspath ${@}).o -o $(abspath ${@})
757
758# implicit rule for c++ test
759# convient for testing the testsuite itself but not actuall used
760% : %.cpp
761        $(PRETTY_PATH) $(CXXCOMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
762$(GENERATED_CODE): % : %.cfa $(CFACCBIN)
763        $(CFACOMPILETEST) -CFA -XCFA -p -c -fsyntax-only -o $(abspath ${@})
764$(EXPECT_STDERR): % : %.cfa $(CFACCBIN)
765        $(CFACOMPILETEST) -c -fsyntax-only 2> $(abspath ${@})
766
767#------------------------------------------------------------------------------
768# CUSTOM TARGET
769#------------------------------------------------------------------------------
770# expected failures
771# use custom target since they require a custom define and custom dependencies
772alloc-ERROR : alloc.cfa $(CFACCBIN)
773        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
774
775typedefRedef-ERR1 : typedefRedef.cfa $(CFACCBIN)
776        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
777
778nested-types-ERR1 : nested-types.cfa $(CFACCBIN)
779        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
780
781nested-types-ERR2 : nested-types.cfa $(CFACCBIN)
782        $(CFACOMPILETEST) -DERR2 -c -fsyntax-only -o $(abspath ${@})
783
784raii/memberCtors-ERR1 : raii/memberCtors.cfa $(CFACCBIN)
785        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
786
787raii/ctor-autogen-ERR1 : raii/ctor-autogen.cfa $(CFACCBIN)
788        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
789
790raii/dtor-early-exit-ERR1 : raii/dtor-early-exit.cfa $(CFACCBIN)
791        $(CFACOMPILETEST) -DERR1 -c -fsyntax-only -o $(abspath ${@})
792
793raii/dtor-early-exit-ERR2 : raii/dtor-early-exit.cfa $(CFACCBIN)
794        $(CFACOMPILETEST) -DERR2 -c -fsyntax-only -o $(abspath ${@})
795
796#------------------------------------------------------------------------------
797# Other targets
798
799# Tell versions [3.59,3.63) of GNU make to not export all variables.
800# Otherwise a system limit (for SysV at least) may be exceeded.
801.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.