source: tests/Makefile.in @ c6bbcdb

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

Fixed shared library version number

  • 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 =
303timeouts =
304TEST_PY = python ${builddir}/test.py
305
306# applies to both programs
307AM_CFLAGS = $(if $(test), 2> $(test), ) -g -Wall -Wno-unused-function \
308        -quiet @CFA_FLAGS@ -DIN_DIR="${srcdir}/.in/" ${DEBUG_FLAGS} \
309        ${INSTALL_FLAGS} ${ARCH_FLAGS}
310PRETTY_PATH = cd ${srcdir} &&
311fstream_test_SOURCES = fstream_test.c
312avl_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
313all: all-am
314
315.SUFFIXES:
316.SUFFIXES: .c .o .obj .validate
317$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
318        @for dep in $?; do \
319          case '$(am__configure_deps)' in \
320            *$$dep*) \
321              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
322                && { if test -f $@; then exit 0; else break; fi; }; \
323              exit 1;; \
324          esac; \
325        done; \
326        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign tests/Makefile'; \
327        $(am__cd) $(top_srcdir) && \
328          $(AUTOMAKE) --foreign tests/Makefile
329Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
330        @case '$?' in \
331          *config.status*) \
332            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
333          *) \
334            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
335            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
336        esac;
337
338$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
339        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
340
341$(top_srcdir)/configure:  $(am__configure_deps)
342        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
343$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
344        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
345$(am__aclocal_m4_deps):
346config.py: $(top_builddir)/config.status $(srcdir)/config.py.in
347        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
348avltree/$(am__dirstamp):
349        @$(MKDIR_P) avltree
350        @: > avltree/$(am__dirstamp)
351avltree/$(DEPDIR)/$(am__dirstamp):
352        @$(MKDIR_P) avltree/$(DEPDIR)
353        @: > avltree/$(DEPDIR)/$(am__dirstamp)
354avltree/avl_test.$(OBJEXT): avltree/$(am__dirstamp) \
355        avltree/$(DEPDIR)/$(am__dirstamp)
356avltree/avl0.$(OBJEXT): avltree/$(am__dirstamp) \
357        avltree/$(DEPDIR)/$(am__dirstamp)
358avltree/avl1.$(OBJEXT): avltree/$(am__dirstamp) \
359        avltree/$(DEPDIR)/$(am__dirstamp)
360avltree/avl2.$(OBJEXT): avltree/$(am__dirstamp) \
361        avltree/$(DEPDIR)/$(am__dirstamp)
362avltree/avl3.$(OBJEXT): avltree/$(am__dirstamp) \
363        avltree/$(DEPDIR)/$(am__dirstamp)
364avltree/avl4.$(OBJEXT): avltree/$(am__dirstamp) \
365        avltree/$(DEPDIR)/$(am__dirstamp)
366avltree/avl-private.$(OBJEXT): avltree/$(am__dirstamp) \
367        avltree/$(DEPDIR)/$(am__dirstamp)
368
369avl_test$(EXEEXT): $(avl_test_OBJECTS) $(avl_test_DEPENDENCIES) $(EXTRA_avl_test_DEPENDENCIES)
370        @rm -f avl_test$(EXEEXT)
371        $(AM_V_CCLD)$(LINK) $(avl_test_OBJECTS) $(avl_test_LDADD) $(LIBS)
372
373fstream_test$(EXEEXT): $(fstream_test_OBJECTS) $(fstream_test_DEPENDENCIES) $(EXTRA_fstream_test_DEPENDENCIES)
374        @rm -f fstream_test$(EXEEXT)
375        $(AM_V_CCLD)$(LINK) $(fstream_test_OBJECTS) $(fstream_test_LDADD) $(LIBS)
376
377mostlyclean-compile:
378        -rm -f *.$(OBJEXT)
379        -rm -f avltree/*.$(OBJEXT)
380
381distclean-compile:
382        -rm -f *.tab.c
383
384@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/fstream_test.Po@am__quote@
385@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl-private.Po@am__quote@
386@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl0.Po@am__quote@
387@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl1.Po@am__quote@
388@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl2.Po@am__quote@
389@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl3.Po@am__quote@
390@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl4.Po@am__quote@
391@AMDEP_TRUE@@am__include@ @am__quote@avltree/$(DEPDIR)/avl_test.Po@am__quote@
392
393.c.o:
394@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
395@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
396@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
397@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
398@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
399@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
400
401.c.obj:
402@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
403@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
404@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
405@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
406@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
407@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
408
409ID: $(am__tagged_files)
410        $(am__define_uniq_tagged_files); mkid -fID $$unique
411tags: tags-am
412TAGS: tags
413
414tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
415        set x; \
416        here=`pwd`; \
417        $(am__define_uniq_tagged_files); \
418        shift; \
419        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
420          test -n "$$unique" || unique=$$empty_fix; \
421          if test $$# -gt 0; then \
422            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
423              "$$@" $$unique; \
424          else \
425            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
426              $$unique; \
427          fi; \
428        fi
429ctags: ctags-am
430
431CTAGS: ctags
432ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
433        $(am__define_uniq_tagged_files); \
434        test -z "$(CTAGS_ARGS)$$unique" \
435          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
436             $$unique
437
438GTAGS:
439        here=`$(am__cd) $(top_builddir) && pwd` \
440          && $(am__cd) $(top_srcdir) \
441          && gtags -i $(GTAGS_ARGS) "$$here"
442cscopelist: cscopelist-am
443
444cscopelist-am: $(am__tagged_files)
445        list='$(am__tagged_files)'; \
446        case "$(srcdir)" in \
447          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
448          *) sdir=$(subdir)/$(srcdir) ;; \
449        esac; \
450        for i in $$list; do \
451          if test -f "$$i"; then \
452            echo "$(subdir)/$$i"; \
453          else \
454            echo "$$sdir/$$i"; \
455          fi; \
456        done >> $(top_builddir)/cscope.files
457
458distclean-tags:
459        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
460
461distdir: $(DISTFILES)
462        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
463        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
464        list='$(DISTFILES)'; \
465          dist_files=`for file in $$list; do echo $$file; done | \
466          sed -e "s|^$$srcdirstrip/||;t" \
467              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
468        case $$dist_files in \
469          */*) $(MKDIR_P) `echo "$$dist_files" | \
470                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
471                           sort -u` ;; \
472        esac; \
473        for file in $$dist_files; do \
474          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
475          if test -d $$d/$$file; then \
476            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
477            if test -d "$(distdir)/$$file"; then \
478              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
479            fi; \
480            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
481              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
482              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
483            fi; \
484            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
485          else \
486            test -f "$(distdir)/$$file" \
487            || cp -p $$d/$$file "$(distdir)/$$file" \
488            || exit 1; \
489          fi; \
490        done
491check-am: all-am
492check: check-am
493all-am: Makefile all-local
494installdirs:
495install: install-am
496install-exec: install-exec-am
497install-data: install-data-am
498uninstall: uninstall-am
499
500install-am: all-am
501        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
502
503installcheck: installcheck-am
504install-strip:
505        if test -z '$(STRIP)'; then \
506          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
507            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
508              install; \
509        else \
510          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
511            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
512            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
513        fi
514mostlyclean-generic:
515
516clean-generic:
517
518distclean-generic:
519        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
520        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
521        -rm -f avltree/$(DEPDIR)/$(am__dirstamp)
522        -rm -f avltree/$(am__dirstamp)
523
524maintainer-clean-generic:
525        @echo "This command is intended for maintainers to use"
526        @echo "it deletes files that may require special tools to rebuild."
527clean: clean-am
528
529clean-am: clean-generic clean-local mostlyclean-am
530
531distclean: distclean-am
532        -rm -rf ./$(DEPDIR) avltree/$(DEPDIR)
533        -rm -f Makefile
534distclean-am: clean-am distclean-compile distclean-generic \
535        distclean-tags
536
537dvi: dvi-am
538
539dvi-am:
540
541html: html-am
542
543html-am:
544
545info: info-am
546
547info-am:
548
549install-data-am:
550
551install-dvi: install-dvi-am
552
553install-dvi-am:
554
555install-exec-am:
556
557install-html: install-html-am
558
559install-html-am:
560
561install-info: install-info-am
562
563install-info-am:
564
565install-man:
566
567install-pdf: install-pdf-am
568
569install-pdf-am:
570
571install-ps: install-ps-am
572
573install-ps-am:
574
575installcheck-am:
576
577maintainer-clean: maintainer-clean-am
578        -rm -rf ./$(DEPDIR) avltree/$(DEPDIR)
579        -rm -f Makefile
580maintainer-clean-am: distclean-am maintainer-clean-generic
581
582mostlyclean: mostlyclean-am
583
584mostlyclean-am: mostlyclean-compile mostlyclean-generic
585
586pdf: pdf-am
587
588pdf-am:
589
590ps: ps-am
591
592ps-am:
593
594uninstall-am:
595
596.MAKE: install-am install-strip
597
598.PHONY: CTAGS GTAGS TAGS all all-am all-local check check-am clean \
599        clean-generic clean-local cscopelist-am ctags ctags-am \
600        distclean distclean-compile distclean-generic distclean-tags \
601        distdir dvi dvi-am html html-am info info-am install \
602        install-am install-data install-data-am install-dvi \
603        install-dvi-am install-exec install-exec-am install-html \
604        install-html-am install-info install-info-am install-man \
605        install-pdf install-pdf-am install-ps install-ps-am \
606        install-strip installcheck installcheck-am installdirs \
607        maintainer-clean maintainer-clean-generic mostlyclean \
608        mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \
609        tags tags-am uninstall uninstall-am
610
611.PRECIOUS: Makefile
612
613
614.PHONY: list .validate
615.INTERMEDIATE: .validate .validate.c
616
617#----------------------------------------------------------------------------------------------------------------
618all-local :
619        @+${TEST_PY} --debug=${debug}  --install=${installed} ${concurrent} ${timeouts} ${quick_test}
620
621all-tests :
622        @+${TEST_PY} --debug=${debug}  --install=${installed} ${concurrent} ${timeouts} --all # '@' => do not echo command (SILENT), '+' => allows recursive make from within python program
623
624clean-local :
625        rm -f ${EXTRA_PROGRAMS}
626
627list :
628        @+${TEST_PY} --list ${concurrent}
629
630.validate: .validate.c
631        $(COMPILE) .validate.c -fsyntax-only -Wall -Wextra -Werror
632
633.validate.c:
634        @echo "int main() { return 0; }" > ${@}
635
636concurrency :
637        @+${TEST_PY} --debug=${debug}  --install=${installed} -Iconcurrent
638
639#----------------------------------------------------------------------------------------------------------------
640# implicit rule so not all test require a rule
641% : %.c $(CC)
642        $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
643
644declarationSpecifier: declarationSpecifier.c $(CC)
645        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
646
647gccExtensions : gccExtensions.c $(CC)
648        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
649
650extension : extension.c $(CC)
651        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
652
653attributes : attributes.c $(CC)
654        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
655
656functions: functions.c $(CC)
657        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
658
659KRfunctions : KRfunctions.c $(CC)
660        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
661
662sched-ext-parse : sched-ext-parse.c $(CC)
663        $(PRETTY_PATH) $(COMPILE) -CFA -XCFA -p $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
664
665gmp : gmp.c $(CC)
666        $(PRETTY_PATH) $(COMPILE) -lgmp $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
667
668#builtins
669builtins/sync: builtins/sync.c $(CC)
670        $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only
671
672#------------------------------------------------------------------------------
673#To make errors path independent we need to cd into the correct directories
674completeTypeError : completeTypeError.c $(CC)
675        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
676
677typedefRedef-ERR1: typedefRedef.c $(CC)
678        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
679
680alloc-ERROR: alloc.c $(CC)
681        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
682
683fallthrough-ERROR: fallthrough.c $(CC)
684        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
685
686nested-types-ERR1: nested-types.c $(CC)
687        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
688
689nested-types-ERR2: nested-types.c $(CC)
690        $(PRETTY_PATH) $(COMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
691
692# Constructor/destructor tests
693raii/dtor-early-exit-ERR1: raii/dtor-early-exit.c $(CC)
694        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
695
696raii/dtor-early-exit-ERR2: raii/dtor-early-exit.c $(CC)
697        $(PRETTY_PATH) $(COMPILE) -DERR2 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
698
699raii/memberCtors-ERR1: raii/memberCtors.c $(CC)
700        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
701
702raii/ctor-autogen-ERR1: raii/ctor-autogen.c $(CC)
703        $(PRETTY_PATH) $(COMPILE) -DERR1 $(shell realpath --relative-to=${srcdir} ${<}) -o $(abspath ${@})
704
705# Warnings
706warnings/self-assignment: warnings/self-assignment.c $(CC)
707        $(PRETTY_PATH) $(COMPILE) $(shell realpath --relative-to=${srcdir} ${<}) 2> $(abspath ${@}) -fsyntax-only
708
709# Tell versions [3.59,3.63) of GNU make to not export all variables.
710# Otherwise a system limit (for SysV at least) may be exceeded.
711.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.