source: tests/Makefile.in @ f7d3215

aaron-thesisarm-ehcleanup-dtorsdeferred_resnjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexer
Last change on this file since f7d3215 was f7d3215, checked in by Thierry Delisle <tdelisle@…>, 3 years ago

Hopefully more robust fix for relative vs absolutepaths in tests

  • Property mode set to 100644
File size: 23.1 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 = fstream_test$(EXEEXT) avl_test$(EXEEXT)
94subdir = tests
95ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
96am__aclocal_m4_deps = $(top_srcdir)/automake/cfa.m4 \
97        $(top_srcdir)/configure.ac
98am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
99        $(ACLOCAL_M4)
100DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
101mkinstalldirs = $(install_sh) -d
102CONFIG_HEADER = $(top_builddir)/config.h
103CONFIG_CLEAN_FILES = config.py
104CONFIG_CLEAN_VPATH_FILES = test.py
105am__dirstamp = $(am__leading_dot)dirstamp
106am_avl_test_OBJECTS = avltree/avl_test.$(OBJEXT) \
107        avltree/avl0.$(OBJEXT) avltree/avl1.$(OBJEXT) \
108        avltree/avl2.$(OBJEXT) avltree/avl3.$(OBJEXT) \
109        avltree/avl4.$(OBJEXT) avltree/avl-private.$(OBJEXT)
110avl_test_OBJECTS = $(am_avl_test_OBJECTS)
111avl_test_LDADD = $(LDADD)
112am_fstream_test_OBJECTS = fstream_test.$(OBJEXT)
113fstream_test_OBJECTS = $(am_fstream_test_OBJECTS)
114fstream_test_LDADD = $(LDADD)
115AM_V_P = $(am__v_P_@AM_V@)
116am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
117am__v_P_0 = false
118am__v_P_1 = :
119AM_V_GEN = $(am__v_GEN_@AM_V@)
120am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
121am__v_GEN_0 = @echo "  GEN     " $@;
122am__v_GEN_1 =
123AM_V_at = $(am__v_at_@AM_V@)
124am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
125am__v_at_0 = @
126am__v_at_1 =
127DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
128depcomp = $(SHELL) $(top_srcdir)/automake/depcomp
129am__depfiles_maybe = depfiles
130am__mv = mv -f
131COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
132        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
133AM_V_CC = $(am__v_CC_@AM_V@)
134am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
135am__v_CC_0 = @echo "  CC      " $@;
136am__v_CC_1 =
137CCLD = $(CC)
138LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
139AM_V_CCLD = $(am__v_CCLD_@AM_V@)
140am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
141am__v_CCLD_0 = @echo "  CCLD    " $@;
142am__v_CCLD_1 =
143SOURCES = $(avl_test_SOURCES) $(fstream_test_SOURCES)
144DIST_SOURCES = $(avl_test_SOURCES) $(fstream_test_SOURCES)
145am__can_run_installinfo = \
146  case $$AM_UPDATE_INFO_DIR in \
147    n|no|NO) false;; \
148    *) (install-info --version) >/dev/null 2>&1;; \
149  esac
150am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
151# Read a list of newline-separated strings from the standard input,
152# and print each of them once, without duplicates.  Input order is
153# *not* preserved.
154am__uniquify_input = $(AWK) '\
155  BEGIN { nonempty = 0; } \
156  { items[$$0] = 1; nonempty = 1; } \
157  END { if (nonempty) { for (i in items) print i; }; } \
158'
159# Make sure the list of sources is unique.  This is necessary because,
160# e.g., the same source file might be shared among _SOURCES variables
161# for different programs/libraries.
162am__define_uniq_tagged_files = \
163  list='$(am__tagged_files)'; \
164  unique=`for i in $$list; do \
165    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
166  done | $(am__uniquify_input)`
167ETAGS = etags
168CTAGS = ctags
169am__DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/config.py.in \
170        $(srcdir)/test.py $(top_srcdir)/automake/depcomp
171DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
172ACLOCAL = @ACLOCAL@
173ALLOCA = @ALLOCA@
174AMTAR = @AMTAR@
175AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
176AUTOCONF = @AUTOCONF@
177AUTOHEADER = @AUTOHEADER@
178AUTOMAKE = @AUTOMAKE@
179AWK = @AWK@
180BACKEND_CC = @BACKEND_CC@
181BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
182CC = @CFACC@
183CCAS = @CCAS@
184CCASDEPMODE = @CCASDEPMODE@
185CCASFLAGS = @CCASFLAGS@
186CCDEPMODE = @CCDEPMODE@
187CFACC = @CFACC@
188CFACPP = @CFACPP@
189CFA_BACKEND_CC = @CFA_BACKEND_CC@
190CFA_BINDIR = @CFA_BINDIR@
191CFA_FLAGS = @CFA_FLAGS@
192CFA_INCDIR = @CFA_INCDIR@
193CFA_LIBDIR = @CFA_LIBDIR@
194CFA_NAME = @CFA_NAME@
195CFA_PREFIX = @CFA_PREFIX@
196CFLAGS = @CFLAGS@
197CPP = @CPP@
198CPPFLAGS = @CPPFLAGS@
199CXX = @CXX@
200CXXDEPMODE = @CXXDEPMODE@
201CXXFLAGS = @CXXFLAGS@
202CYGPATH_W = @CYGPATH_W@
203DEFS = @DEFS@
204DEPDIR = @DEPDIR@
205DRIVER_DIR = @DRIVER_DIR@
206ECHO_C = @ECHO_C@
207ECHO_N = @ECHO_N@
208ECHO_T = @ECHO_T@
209EGREP = @EGREP@
210EXEEXT = @EXEEXT@
211GREP = @GREP@
212HOST_FLAGS = @HOST_FLAGS@
213INSTALL = @INSTALL@
214INSTALL_DATA = @INSTALL_DATA@
215INSTALL_PROGRAM = @INSTALL_PROGRAM@
216INSTALL_SCRIPT = @INSTALL_SCRIPT@
217INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
218LDFLAGS = @LDFLAGS@
219LEX = @LEX@
220LEXLIB = @LEXLIB@
221LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
222LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@
223LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@
224LIBOBJS = @LIBOBJS@
225LIBS = @LIBS@
226LTLIBOBJS = @LTLIBOBJS@
227MAKEINFO = @MAKEINFO@
228MKDIR_P = @MKDIR_P@
229OBJEXT = @OBJEXT@
230PACKAGE = @PACKAGE@
231PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
232PACKAGE_NAME = @PACKAGE_NAME@
233PACKAGE_STRING = @PACKAGE_STRING@
234PACKAGE_TARNAME = @PACKAGE_TARNAME@
235PACKAGE_URL = @PACKAGE_URL@
236PACKAGE_VERSION = @PACKAGE_VERSION@
237PATH_SEPARATOR = @PATH_SEPARATOR@
238RANLIB = @RANLIB@
239SET_MAKE = @SET_MAKE@
240SHELL = @SHELL@
241STRIP = @STRIP@
242TARGET_HOSTS = @TARGET_HOSTS@
243VERSION = @VERSION@
244YACC = @YACC@
245YFLAGS = @YFLAGS@
246abs_builddir = @abs_builddir@
247abs_srcdir = @abs_srcdir@
248abs_top_builddir = @abs_top_builddir@
249abs_top_srcdir = @abs_top_srcdir@
250ac_ct_CC = @ac_ct_CC@
251ac_ct_CXX = @ac_ct_CXX@
252am__include = @am__include@
253am__leading_dot = @am__leading_dot@
254am__quote = @am__quote@
255am__tar = @am__tar@
256am__untar = @am__untar@
257bindir = @bindir@
258build = @build@
259build_alias = @build_alias@
260build_cpu = @build_cpu@
261build_os = @build_os@
262build_vendor = @build_vendor@
263builddir = @builddir@
264datadir = @datadir@
265datarootdir = @datarootdir@
266docdir = @docdir@
267dvidir = @dvidir@
268exec_prefix = @exec_prefix@
269host = @host@
270host_alias = @host_alias@
271host_cpu = @host_cpu@
272host_os = @host_os@
273host_vendor = @host_vendor@
274htmldir = @htmldir@
275includedir = @includedir@
276infodir = @infodir@
277install_sh = @install_sh@
278libdir = @libdir@
279libexecdir = @libexecdir@
280localedir = @localedir@
281localstatedir = @localstatedir@
282mandir = @mandir@
283mkdir_p = @mkdir_p@
284oldincludedir = @oldincludedir@
285pdfdir = @pdfdir@
286prefix = @prefix@
287program_transform_name = @program_transform_name@
288psdir = @psdir@
289runstatedir = @runstatedir@
290sbindir = @sbindir@
291sharedstatedir = @sharedstatedir@
292srcdir = @srcdir@
293sysconfdir = @sysconfdir@
294target_alias = @target_alias@
295top_build_prefix = @top_build_prefix@
296top_builddir = @top_builddir@
297top_srcdir = @top_srcdir@
298AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
299debug = yes
300installed = no
301quick_test = avl_test operators numericConstants expression enum array typeof cast raii/dtor-early-exit raii/init_once attributes
302concurrent =
303TEST_PY = python ${builddir}/test.py
304
305# applies to both programs
306AM_CFLAGS = $(if $(test), 2> $(test), ) -g -Wall -Wno-unused-function \
307        -quiet @CFA_FLAGS@ -DIN_DIR="${srcdir}/.in/" ${DEBUG_FLAGS} \
308        ${INSTALL_FLAGS} ${ARCH_FLAGS}
309PRETTY_PATH = cd ${srcdir} &&
310fstream_test_SOURCES = fstream_test.c
311avl_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
312all: all-am
313
314.SUFFIXES:
315.SUFFIXES: .c .o .obj .validate
316$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
317        @for dep in $?; do \
318          case '$(am__configure_deps)' in \
319            *$$dep*) \
320              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
321                && { if test -f $@; then exit 0; else break; fi; }; \
322              exit 1;; \
323          esac; \
324        done; \
325        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
326        $(am__cd) $(top_srcdir) && \
327          $(AUTOMAKE) --foreign tests/Makefile
328Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
329        @case '$?' in \
330          *config.status*) \
331            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
332          *) \
333            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
334            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
335        esac;
336
337$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
338        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
339
340$(top_srcdir)/configure:  $(am__configure_deps)
341        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
342$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
343        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
344$(am__aclocal_m4_deps):
345config.py: $(top_builddir)/config.status $(srcdir)/config.py.in
346        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
347avltree/$(am__dirstamp):
348        @$(MKDIR_P) avltree
349        @: > avltree/$(am__dirstamp)
350avltree/$(DEPDIR)/$(am__dirstamp):
351        @$(MKDIR_P) avltree/$(DEPDIR)
352        @: > avltree/$(DEPDIR)/$(am__dirstamp)
353avltree/avl_test.$(OBJEXT): avltree/$(am__dirstamp) \
354        avltree/$(DEPDIR)/$(am__dirstamp)
355avltree/avl0.$(OBJEXT): avltree/$(am__dirstamp) \
356        avltree/$(DEPDIR)/$(am__dirstamp)
357avltree/avl1.$(OBJEXT): avltree/$(am__dirstamp) \
358        avltree/$(DEPDIR)/$(am__dirstamp)
359avltree/avl2.$(OBJEXT): avltree/$(am__dirstamp) \
360        avltree/$(DEPDIR)/$(am__dirstamp)
361avltree/avl3.$(OBJEXT): avltree/$(am__dirstamp) \
362        avltree/$(DEPDIR)/$(am__dirstamp)
363avltree/avl4.$(OBJEXT): avltree/$(am__dirstamp) \
364        avltree/$(DEPDIR)/$(am__dirstamp)
365avltree/avl-private.$(OBJEXT): avltree/$(am__dirstamp) \
366        avltree/$(DEPDIR)/$(am__dirstamp)
367
368avl_test$(EXEEXT): $(avl_test_OBJECTS) $(avl_test_DEPENDENCIES) $(EXTRA_avl_test_DEPENDENCIES)
369        @rm -f avl_test$(EXEEXT)
370        $(AM_V_CCLD)$(LINK) $(avl_test_OBJECTS) $(avl_test_LDADD) $(LIBS)
371
372fstream_test$(EXEEXT): $(fstream_test_OBJECTS) $(fstream_test_DEPENDENCIES) $(EXTRA_fstream_test_DEPENDENCIES)
373        @rm -f fstream_test$(EXEEXT)
374        $(AM_V_CCLD)$(LINK) $(fstream_test_OBJECTS) $(fstream_test_LDADD) $(LIBS)
375
376mostlyclean-compile:
377        -rm -f *.$(OBJEXT)
378        -rm -f avltree/*.$(OBJEXT)
379
380distclean-compile:
381        -rm -f *.tab.c
382
383@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstream_test.Po@am__quote@
384@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl-private.Po@am__quote@
385@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl0.Po@am__quote@
386@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl1.Po@am__quote@
387@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl2.Po@am__quote@
388@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl3.Po@am__quote@
389@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl4.Po@am__quote@
390@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl_test.Po@am__quote@
391
392.c.o:
393@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
394@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
395@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
396@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
397@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
398@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
399
400.c.obj:
401@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
402@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
403@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
404@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
405@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
406@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
407
408ID: $(am__tagged_files)
409        $(am__define_uniq_tagged_files); mkid -fID $$unique
410tags: tags-am
411TAGS: tags
412
413tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
414        set x; \
415        here=`pwd`; \
416        $(am__define_uniq_tagged_files); \
417        shift; \
418        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
419          test -n "$$unique" || unique=$$empty_fix; \
420          if test $$# -gt 0; then \
421            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
422              "$$@" $$unique; \
423          else \
424            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
425              $$unique; \
426          fi; \
427        fi
428ctags: ctags-am
429
430CTAGS: ctags
431ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
432        $(am__define_uniq_tagged_files); \
433        test -z "$(CTAGS_ARGS)$$unique" \
434          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
435             $$unique
436
437GTAGS:
438        here=`$(am__cd) $(top_builddir) && pwd` \
439          && $(am__cd) $(top_srcdir) \
440          && gtags -i $(GTAGS_ARGS) "$$here"
441cscopelist: cscopelist-am
442
443cscopelist-am: $(am__tagged_files)
444        list='$(am__tagged_files)'; \
445        case "$(srcdir)" in \
446          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
447          *) sdir=$(subdir)/$(srcdir) ;; \
448        esac; \
449        for i in $$list; do \
450          if test -f "$$i"; then \
451            echo "$(subdir)/$$i"; \
452          else \
453            echo "$$sdir/$$i"; \
454          fi; \
455        done >> $(top_builddir)/cscope.files
456
457distclean-tags:
458        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
459
460distdir: $(DISTFILES)
461        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
462        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
463        list='$(DISTFILES)'; \
464          dist_files=`for file in $$list; do echo $$file; done | \
465          sed -e "s|^$$srcdirstrip/||;t" \
466              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
467        case $$dist_files in \
468          */*) $(MKDIR_P) `echo "$$dist_files" | \
469                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
470                           sort -u` ;; \
471        esac; \
472        for file in $$dist_files; do \
473          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
474          if test -d $$d/$$file; then \
475            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
476            if test -d "$(distdir)/$$file"; then \
477              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
478            fi; \
479            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
480              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
481              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
482            fi; \
483            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
484          else \
485            test -f "$(distdir)/$$file" \
486            || cp -p $$d/$$file "$(distdir)/$$file" \
487            || exit 1; \
488          fi; \
489        done
490check-am: all-am
491check: check-am
492all-am: Makefile all-local
493installdirs:
494install: install-am
495install-exec: install-exec-am
496install-data: install-data-am
497uninstall: uninstall-am
498
499install-am: all-am
500        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
501
502installcheck: installcheck-am
503install-strip:
504        if test -z '$(STRIP)'; then \
505          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
506            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
507              install; \
508        else \
509          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
510            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
511            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
512        fi
513mostlyclean-generic:
514
515clean-generic:
516
517distclean-generic:
518        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
519        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
520        -rm -f avltree/$(DEPDIR)/$(am__dirstamp)
521        -rm -f avltree/$(am__dirstamp)
522
523maintainer-clean-generic:
524        @echo "This command is intended for maintainers to use"
525        @echo "it deletes files that may require special tools to rebuild."
526clean: clean-am
527
528clean-am: clean-generic clean-local mostlyclean-am
529
530distclean: distclean-am
531        -rm -rf ./$(DEPDIR) avltree/$(DEPDIR)
532        -rm -f Makefile
533distclean-am: clean-am distclean-compile distclean-generic \
534        distclean-tags
535
536dvi: dvi-am
537
538dvi-am:
539
540html: html-am
541
542html-am:
543
544info: info-am
545
546info-am:
547
548install-data-am:
549
550install-dvi: install-dvi-am
551
552install-dvi-am:
553
554install-exec-am:
555
556install-html: install-html-am
557
558install-html-am:
559
560install-info: install-info-am
561
562install-info-am:
563
564install-man:
565
566install-pdf: install-pdf-am
567
568install-pdf-am:
569
570install-ps: install-ps-am
571
572install-ps-am:
573
574installcheck-am:
575
576maintainer-clean: maintainer-clean-am
577        -rm -rf ./$(DEPDIR) avltree/$(DEPDIR)
578        -rm -f Makefile
579maintainer-clean-am: distclean-am maintainer-clean-generic
580
581mostlyclean: mostlyclean-am
582
583mostlyclean-am: mostlyclean-compile mostlyclean-generic
584
585pdf: pdf-am
586
587pdf-am:
588
589ps: ps-am
590
591ps-am:
592
593uninstall-am:
594
595.MAKE: install-am install-strip
596
597.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am clean \
598        clean-generic clean-local cscopelist-am ctags ctags-am \
599        distclean distclean-compile distclean-generic distclean-tags \
600        distdir dvi dvi-am html html-am info info-am install \
601        install-am install-data install-data-am install-dvi \
602        install-dvi-am install-exec install-exec-am install-html \
603        install-html-am install-info install-info-am install-man \
604        install-pdf install-pdf-am install-ps install-ps-am \
605        install-strip installcheck installcheck-am installdirs \
606        maintainer-clean maintainer-clean-generic mostlyclean \
607        mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
608        tags tags-am uninstall uninstall-am
609
610.PRECIOUS: Makefile
611
612
613.PHONY: list .validate
614.INTERMEDIATE: .validate .validate.c
615
616#----------------------------------------------------------------------------------------------------------------
617all-local :
618        @+${TEST_PY} --debug=${debug}  --install=${installed} ${concurrent} ${quick_test}
619
620all-tests :
621        @+${TEST_PY} --all --debug=${debug}  --install=${installed} ${concurrent}               # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
622
623clean-local :
624        rm -f ${EXTRA_PROGRAMS}
625
626list :
627        @+${TEST_PY} --list ${concurrent}
628
629.validate: .validate.c
630        $(COMPILE) .validate.c -fsyntax-only -Wall -Wextra -Werror
631
632.validate.c:
633        @echo "int main() { return 0; }" > ${@}
634
635concurrency :
636        @+${TEST_PY} --debug=${debug}  --install=${installed} -Iconcurrent
637
638#----------------------------------------------------------------------------------------------------------------
639# implicit rule so not all test require a rule
640% : %.c $(CC)
641        $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
642
643declarationSpecifier: declarationSpecifier.c $(CC)
644        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
645
646gccExtensions : gccExtensions.c $(CC)
647        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
648
649extension : extension.c $(CC)
650        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
651
652attributes : attributes.c $(CC)
653        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
654
655functions: functions.c $(CC)
656        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
657
658KRfunctions : KRfunctions.c $(CC)
659        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
660
661sched-ext-parse : sched-ext-parse.c $(CC)
662        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
663
664gmp : gmp.c $(CC)
665        $(PRETTY_PATH) $(COMPILE) -lgmp $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
666
667#builtins
668builtins/sync: builtins/sync.c $(CC)
669        $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only
670
671#------------------------------------------------------------------------------
672#To make errors path independent we need to cd into the correct directories
673completeTypeError : completeTypeError.c $(CC)
674        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
675
676typedefRedef-ERR1: typedefRedef.c $(CC)
677        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
678
679alloc-ERROR: alloc.c $(CC)
680        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
681
682fallthrough-ERROR: fallthrough.c $(CC)
683        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
684
685nested-types-ERR1: nested-types.c $(CC)
686        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
687
688nested-types-ERR2: nested-types.c $(CC)
689        $(PRETTY_PATH) $(COMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
690
691# Constructor/destructor tests
692raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c $(CC)
693        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
694
695raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c $(CC)
696        $(PRETTY_PATH) $(COMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
697
698raii/memberCtors-ERR1: raii/memberCtors.c $(CC)
699        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
700
701raii/ctor-autogen-ERR1: raii/ctor-autogen.c $(CC)
702        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
703
704# Warnings
705warnings/self-assignment: warnings/self-assignment.c $(CC)
706        $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only
707
708# Tell versions [3.59,3.63) of GNU make to not export all variables.
709# Otherwise a system limit (for SysV at least) may be exceeded.
710.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.