source: benchmark/Makefile.in @ d65f92c

arm-ehjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-expr
Last change on this file since d65f92c was d65f92c, checked in by Thierry Delisle <tdelisle@…>, 2 years ago

Tests almost work, the only issue left is using -E and -CFA together

  • Property mode set to 100644
File size: 32.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 = dummy$(EXEEXT)
94@WITH_LIBFIBRE_TRUE@am__append_1 = \
95@WITH_LIBFIBRE_TRUE@    ctxswitch-kos_fibre.run  \
96@WITH_LIBFIBRE_TRUE@    ctxswitch-kos_fibre2.run
97
98subdir = benchmark
99ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
100am__aclocal_m4_deps = $(top_srcdir)/automake/libtool.m4 \
101        $(top_srcdir)/automake/ltoptions.m4 \
102        $(top_srcdir)/automake/ltsugar.m4 \
103        $(top_srcdir)/automake/ltversion.m4 \
104        $(top_srcdir)/automake/lt~obsolete.m4 \
105        $(top_srcdir)/automake/cfa.m4 $(top_srcdir)/configure.ac
106am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
107        $(ACLOCAL_M4)
108DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
109mkinstalldirs = $(install_sh) -d
110CONFIG_HEADER = $(top_builddir)/config.h
111CONFIG_CLEAN_FILES =
112CONFIG_CLEAN_VPATH_FILES =
113am_dummy_OBJECTS = dummyC.$(OBJEXT) dummyCXX.$(OBJEXT)
114dummy_OBJECTS = $(am_dummy_OBJECTS)
115dummy_LDADD = $(LDADD)
116AM_V_lt = $(am__v_lt_@AM_V@)
117am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
118am__v_lt_0 = --silent
119am__v_lt_1 =
120AM_V_P = $(am__v_P_@AM_V@)
121am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
122am__v_P_0 = false
123am__v_P_1 = :
124AM_V_GEN = $(am__v_GEN_@AM_V@)
125am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
126am__v_GEN_0 = @echo "  GEN     " $@;
127am__v_GEN_1 =
128AM_V_at = $(am__v_at_@AM_V@)
129am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
130am__v_at_0 = @
131am__v_at_1 =
132DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
133depcomp = $(SHELL) $(top_srcdir)/automake/depcomp
134am__depfiles_maybe = depfiles
135am__mv = mv -f
136COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
137        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
138LTCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
139        $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) \
140        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
141        $(AM_CFLAGS) $(CFLAGS)
142AM_V_CC = $(am__v_CC_@AM_V@)
143am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
144am__v_CC_0 = @echo "  CC      " $@;
145am__v_CC_1 =
146CCLD = $(CC)
147LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
148        $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
149        $(AM_LDFLAGS) $(LDFLAGS) -o $@
150AM_V_CCLD = $(am__v_CCLD_@AM_V@)
151am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
152am__v_CCLD_0 = @echo "  CCLD    " $@;
153am__v_CCLD_1 =
154CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
155        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
156LTCXXCOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
157        $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) \
158        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
159        $(AM_CXXFLAGS) $(CXXFLAGS)
160AM_V_CXX = $(am__v_CXX_@AM_V@)
161am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
162am__v_CXX_0 = @echo "  CXX     " $@;
163am__v_CXX_1 =
164CXXLD = $(CXX)
165CXXLINK = $(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) \
166        $(LIBTOOLFLAGS) --mode=link $(CXXLD) $(AM_CXXFLAGS) \
167        $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
168AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
169am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
170am__v_CXXLD_0 = @echo "  CXXLD   " $@;
171am__v_CXXLD_1 =
172SOURCES = $(dummy_SOURCES)
173DIST_SOURCES = $(dummy_SOURCES)
174am__can_run_installinfo = \
175  case $$AM_UPDATE_INFO_DIR in \
176    n|no|NO) false;; \
177    *) (install-info --version) >/dev/null 2>&1;; \
178  esac
179am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
180# Read a list of newline-separated strings from the standard input,
181# and print each of them once, without duplicates.  Input order is
182# *not* preserved.
183am__uniquify_input = $(AWK) '\
184  BEGIN { nonempty = 0; } \
185  { items[$$0] = 1; nonempty = 1; } \
186  END { if (nonempty) { for (i in items) print i; }; } \
187'
188# Make sure the list of sources is unique.  This is necessary because,
189# e.g., the same source file might be shared among _SOURCES variables
190# for different programs/libraries.
191am__define_uniq_tagged_files = \
192  list='$(am__tagged_files)'; \
193  unique=`for i in $$list; do \
194    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
195  done | $(am__uniquify_input)`
196ETAGS = etags
197CTAGS = ctags
198am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/automake/depcomp \
199        $(top_srcdir)/src/cfa.make compile
200DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
201ACLOCAL = @ACLOCAL@
202AMTAR = @AMTAR@
203AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
204AR = @AR@
205AUTOCONF = @AUTOCONF@
206AUTOHEADER = @AUTOHEADER@
207AUTOMAKE = @AUTOMAKE@
208AWK = @AWK@
209BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
210CC = @CC@
211CCAS = @CCAS@
212CCASDEPMODE = @CCASDEPMODE@
213CCASFLAGS = @CCASFLAGS@
214CCDEPMODE = @CCDEPMODE@
215CFACC = @CFACC@
216CFACPP = @CFACPP@
217CFA_BACKEND_CC = @CFA_BACKEND_CC@
218CFA_BINDIR = @CFA_BINDIR@
219CFA_FLAGS = @CFA_FLAGS@
220CFA_INCDIR = @CFA_INCDIR@
221CFA_LIBDIR = @CFA_LIBDIR@
222CFA_NAME = @CFA_NAME@
223CFA_PREFIX = @CFA_PREFIX@
224CFLAGS = @CFLAGS@
225CPP = @CPP@
226CPPFLAGS = @CPPFLAGS@
227CXX = @CXX@
228CXXCPP = @CXXCPP@
229CXXDEPMODE = @CXXDEPMODE@
230CXXFLAGS = @CXXFLAGS@
231CYGPATH_W = @CYGPATH_W@
232DEFS = @DEFS@
233DEMANGLER = @DEMANGLER@
234DEPDIR = @DEPDIR@
235DLLTOOL = @DLLTOOL@
236DRIVER_DIR = @DRIVER_DIR@
237DSYMUTIL = @DSYMUTIL@
238DUMPBIN = @DUMPBIN@
239ECHO_C = @ECHO_C@
240ECHO_N = @ECHO_N@
241ECHO_T = @ECHO_T@
242EGREP = @EGREP@
243EXEEXT = @EXEEXT@
244FGREP = @FGREP@
245GREP = @GREP@
246HAS_DISTCC = @HAS_DISTCC@
247HOST_FLAGS = @HOST_FLAGS@
248INSTALL = @INSTALL@
249INSTALL_DATA = @INSTALL_DATA@
250INSTALL_PROGRAM = @INSTALL_PROGRAM@
251INSTALL_SCRIPT = @INSTALL_SCRIPT@
252INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
253LD = @LD@
254LDFLAGS = @LDFLAGS@
255LEX = @LEX@
256LEXLIB = @LEXLIB@
257LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
258LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@
259LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@
260LIBDEMANGLE = @LIBDEMANGLE@
261LIBOBJS = @LIBOBJS@
262LIBS = @LIBS@
263LIBTOOL = @LIBTOOL@
264LIPO = @LIPO@
265LN_S = @LN_S@
266LTLIBOBJS = @LTLIBOBJS@
267LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
268MAKEINFO = @MAKEINFO@
269MANIFEST_TOOL = @MANIFEST_TOOL@
270MKDIR_P = @MKDIR_P@
271NM = @NM@
272NMEDIT = @NMEDIT@
273OBJDUMP = @OBJDUMP@
274OBJEXT = @OBJEXT@
275OTOOL = @OTOOL@
276OTOOL64 = @OTOOL64@
277PACKAGE = @PACKAGE@
278PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
279PACKAGE_NAME = @PACKAGE_NAME@
280PACKAGE_STRING = @PACKAGE_STRING@
281PACKAGE_TARNAME = @PACKAGE_TARNAME@
282PACKAGE_URL = @PACKAGE_URL@
283PACKAGE_VERSION = @PACKAGE_VERSION@
284PATH_SEPARATOR = @PATH_SEPARATOR@
285RANLIB = @RANLIB@
286SED = @SED@
287SET_MAKE = @SET_MAKE@
288SHELL = @SHELL@
289STRIP = @STRIP@
290TARGET_HOSTS = @TARGET_HOSTS@
291VERSION = @VERSION@
292YACC = @YACC@
293YFLAGS = @YFLAGS@
294abs_builddir = @abs_builddir@
295abs_srcdir = @abs_srcdir@
296abs_top_builddir = @abs_top_builddir@
297abs_top_srcdir = @abs_top_srcdir@
298ac_ct_AR = @ac_ct_AR@
299ac_ct_CC = @ac_ct_CC@
300ac_ct_CXX = @ac_ct_CXX@
301ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
302am__include = @am__include@
303am__leading_dot = @am__leading_dot@
304am__quote = @am__quote@
305am__tar = @am__tar@
306am__untar = @am__untar@
307bindir = @bindir@
308build = @build@
309build_alias = @build_alias@
310build_cpu = @build_cpu@
311build_os = @build_os@
312build_vendor = @build_vendor@
313builddir = @builddir@
314datadir = @datadir@
315datarootdir = @datarootdir@
316docdir = @docdir@
317dvidir = @dvidir@
318exec_prefix = @exec_prefix@
319host = @host@
320host_alias = @host_alias@
321host_cpu = @host_cpu@
322host_os = @host_os@
323host_vendor = @host_vendor@
324htmldir = @htmldir@
325includedir = @includedir@
326infodir = @infodir@
327install_sh = @install_sh@
328libdir = @libdir@
329libexecdir = @libexecdir@
330localedir = @localedir@
331localstatedir = @localstatedir@
332mandir = @mandir@
333mkdir_p = @mkdir_p@
334oldincludedir = @oldincludedir@
335pdfdir = @pdfdir@
336prefix = @prefix@
337program_transform_name = @program_transform_name@
338psdir = @psdir@
339runstatedir = @runstatedir@
340sbindir = @sbindir@
341sharedstatedir = @sharedstatedir@
342srcdir = @srcdir@
343sysconfdir = @sysconfdir@
344target_alias = @target_alias@
345top_build_prefix = @top_build_prefix@
346top_builddir = @top_builddir@
347top_srcdir = @top_srcdir@
348AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
349ACLOCAL_AMFLAGS = -I automake
350CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS)
351LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
352        $(LIBTOOLFLAGS) --mode=compile $(CFACC) $(DEFS) \
353        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) \
354        $(AM_CFLAGS) $(CFLAGS)
355
356AM_V_CFA = $(am__v_CFA_@AM_V@)
357am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@)
358am__v_CFA_0 = @echo "  CFA     " $@;
359am__v_CFA_1 =
360AM_V_JAVAC = $(am__v_JAVAC_@AM_V@)
361am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@)
362am__v_JAVAC_0 = @echo "  JAVAC   " $@;
363am__v_JAVAC_1 =
364AM_V_GOC = $(am__v_GOC_@AM_V@)
365am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@)
366am__v_GOC_0 = @echo "  GOC     " $@;
367am__v_GOC_1 =
368UPPCC = u++
369UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
370AM_V_UPP = $(am__v_UPP_@AM_V@)
371am__v_UPP_ = $(am__v_UPP_@AM_DEFAULT_V@)
372am__v_UPP_0 = @echo "  UPP     " $@;
373am__v_UPP_1 =
374
375# applies to both programs
376AM_CFLAGS = -O2 -Wall -Wextra -I$(srcdir) -lrt -pthread # -Werror
377AM_CFAFLAGS = -quiet -nodebug -in-tree
378AM_UPPFLAGS = -quiet -nodebug -multi -std=c++14
379BENCH_V_CC = $(__bench_v_CC_$(__quiet))
380BENCH_V_CFA = $(__bench_v_CFA_$(__quiet))
381BENCH_V_CXX = $(__bench_v_CXX_$(__quiet))
382BENCH_V_GOC = $(__bench_v_GOC_$(__quiet))
383BENCH_V_JAVAC = $(__bench_v_JAVAC_$(__quiet))
384BENCH_V_UPP = $(__bench_v_UPP_$(__quiet))
385__quiet = verbose
386__bench_v_CC_quiet = @
387__bench_v_CFA_quiet = @
388__bench_v_CXX_quiet = @
389__bench_v_GOC_quiet = @
390__bench_v_JAVAC_quiet = @
391__bench_v_UPP_quiet = @
392__bench_v_CC_verbose = $(AM_V_CC)
393__bench_v_CFA_verbose = $(AM_V_CFA)
394__bench_v_CXX_verbose = $(AM_V_CXX)
395__bench_v_GOC_verbose = $(AM_V_GOC)
396__bench_v_JAVAC_verbose = $(AM_V_JAVAC)
397__bench_v_UPP_verbose = $(AM_V_UPP)
398TOOLSDIR = ${abs_top_builddir}/tools/
399REPEAT = ${abs_top_builddir}/tools/repeat
400STATS = ${abs_top_srcdir}/tools/stat.py
401# NEED AT LEAST 4 DATA VALUES FOR BENCHMARKS BECAUSE THE MAX AND MIN VALUES ARE REMOVED
402repeats = 5 # 31 for benchmarks
403arch = x64
404skipcompile = no
405TIME_FORMAT = "%E"
406PRINT_FORMAT = %20s: #Comments needed for spacing
407dummy_SOURCES = dummyC.c dummyCXX.cpp
408FIX_NEW_LINES = cat $@ | tr "\n" "\t" | sed -r 's/\t,/,/' | tr "\t" "\n" > $@
409CTXSWITCH_DEPEND = loop.run function.run fetch_add.run ttst_lock.run \
410        tls-fetch_add.run ctxswitch-pthread.run \
411        ctxswitch-cfa_generator.run ctxswitch-cfa_coroutine.run \
412        ctxswitch-cfa_thread.run ctxswitch-cfa_thread2.run \
413        ctxswitch-upp_coroutine.run ctxswitch-upp_thread.run \
414        ctxswitch-goroutine.run ctxswitch-java_thread.run \
415        $(am__append_1)
416testdir = $(top_srcdir)/tests
417all: all-am
418
419.SUFFIXES:
420.SUFFIXES: .c .cfa .cpp .lo .o .obj
421$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/src/cfa.make $(am__configure_deps)
422        @for dep in $?; do \
423          case '$(am__configure_deps)' in \
424            *$$dep*) \
425              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
426                && { if test -f $@; then exit 0; else break; fi; }; \
427              exit 1;; \
428          esac; \
429        done; \
430        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign benchmark/Makefile'; \
431        $(am__cd) $(top_srcdir) && \
432          $(AUTOMAKE) --foreign benchmark/Makefile
433Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
434        @case '$?' in \
435          *config.status*) \
436            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
437          *) \
438            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
439            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
440        esac;
441$(top_srcdir)/src/cfa.make $(am__empty):
442
443$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
444        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
445
446$(top_srcdir)/configure:  $(am__configure_deps)
447        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
448$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
449        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
450$(am__aclocal_m4_deps):
451
452dummy$(EXEEXT): $(dummy_OBJECTS) $(dummy_DEPENDENCIES) $(EXTRA_dummy_DEPENDENCIES)
453        @rm -f dummy$(EXEEXT)
454        $(AM_V_CXXLD)$(CXXLINK) $(dummy_OBJECTS) $(dummy_LDADD) $(LIBS)
455
456mostlyclean-compile:
457        -rm -f *.$(OBJEXT)
458
459distclean-compile:
460        -rm -f *.tab.c
461
462@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummyC.Po@am__quote@
463@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummyCXX.Po@am__quote@
464
465.c.o:
466@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
467@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
468@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
469@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
470@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
471@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
472
473.c.obj:
474@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
475@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
476@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
477@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
478@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
479@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
480
481.c.lo:
482@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
483@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
484@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Plo
485@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
486@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
487@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
488
489.cpp.o:
490@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
491@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
492@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
493@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
494@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
495@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
496
497.cpp.obj:
498@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
499@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
500@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
501@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
502@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
503@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
504
505.cpp.lo:
506@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
507@am__fastdepCXX_TRUE@   $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
508@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
509@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
510@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
511@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
512
513mostlyclean-libtool:
514        -rm -f *.lo
515
516clean-libtool:
517        -rm -rf .libs _libs
518
519ID: $(am__tagged_files)
520        $(am__define_uniq_tagged_files); mkid -fID $$unique
521tags: tags-am
522TAGS: tags
523
524tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
525        set x; \
526        here=`pwd`; \
527        $(am__define_uniq_tagged_files); \
528        shift; \
529        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
530          test -n "$$unique" || unique=$$empty_fix; \
531          if test $$# -gt 0; then \
532            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
533              "$$@" $$unique; \
534          else \
535            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
536              $$unique; \
537          fi; \
538        fi
539ctags: ctags-am
540
541CTAGS: ctags
542ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
543        $(am__define_uniq_tagged_files); \
544        test -z "$(CTAGS_ARGS)$$unique" \
545          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
546             $$unique
547
548GTAGS:
549        here=`$(am__cd) $(top_builddir) && pwd` \
550          && $(am__cd) $(top_srcdir) \
551          && gtags -i $(GTAGS_ARGS) "$$here"
552cscopelist: cscopelist-am
553
554cscopelist-am: $(am__tagged_files)
555        list='$(am__tagged_files)'; \
556        case "$(srcdir)" in \
557          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
558          *) sdir=$(subdir)/$(srcdir) ;; \
559        esac; \
560        for i in $$list; do \
561          if test -f "$$i"; then \
562            echo "$(subdir)/$$i"; \
563          else \
564            echo "$$sdir/$$i"; \
565          fi; \
566        done >> $(top_builddir)/cscope.files
567
568distclean-tags:
569        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
570
571distdir: $(DISTFILES)
572        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
573        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
574        list='$(DISTFILES)'; \
575          dist_files=`for file in $$list; do echo $$file; done | \
576          sed -e "s|^$$srcdirstrip/||;t" \
577              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
578        case $$dist_files in \
579          */*) $(MKDIR_P) `echo "$$dist_files" | \
580                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
581                           sort -u` ;; \
582        esac; \
583        for file in $$dist_files; do \
584          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
585          if test -d $$d/$$file; then \
586            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
587            if test -d "$(distdir)/$$file"; then \
588              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
589            fi; \
590            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
591              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
592              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
593            fi; \
594            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
595          else \
596            test -f "$(distdir)/$$file" \
597            || cp -p $$d/$$file "$(distdir)/$$file" \
598            || exit 1; \
599          fi; \
600        done
601check-am: all-am
602check: check-am
603all-am: Makefile
604installdirs:
605install: install-am
606install-exec: install-exec-am
607install-data: install-data-am
608uninstall: uninstall-am
609
610install-am: all-am
611        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
612
613installcheck: installcheck-am
614install-strip:
615        if test -z '$(STRIP)'; then \
616          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
617            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
618              install; \
619        else \
620          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
621            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
622            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
623        fi
624mostlyclean-generic:
625
626clean-generic:
627
628distclean-generic:
629        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
630        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
631
632maintainer-clean-generic:
633        @echo "This command is intended for maintainers to use"
634        @echo "it deletes files that may require special tools to rebuild."
635clean: clean-am
636
637clean-am: clean-generic clean-libtool mostlyclean-am
638
639distclean: distclean-am
640        -rm -rf ./$(DEPDIR)
641        -rm -f Makefile
642distclean-am: clean-am distclean-compile distclean-generic \
643        distclean-tags
644
645dvi: dvi-am
646
647dvi-am:
648
649html: html-am
650
651html-am:
652
653info: info-am
654
655info-am:
656
657install-data-am:
658
659install-dvi: install-dvi-am
660
661install-dvi-am:
662
663install-exec-am:
664
665install-html: install-html-am
666
667install-html-am:
668
669install-info: install-info-am
670
671install-info-am:
672
673install-man:
674
675install-pdf: install-pdf-am
676
677install-pdf-am:
678
679install-ps: install-ps-am
680
681install-ps-am:
682
683installcheck-am:
684
685maintainer-clean: maintainer-clean-am
686        -rm -rf ./$(DEPDIR)
687        -rm -f Makefile
688maintainer-clean-am: distclean-am maintainer-clean-generic
689
690mostlyclean: mostlyclean-am
691
692mostlyclean-am: mostlyclean-compile mostlyclean-generic \
693        mostlyclean-libtool
694
695pdf: pdf-am
696
697pdf-am:
698
699ps: ps-am
700
701ps-am:
702
703uninstall-am:
704
705.MAKE: install-am install-strip
706
707.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
708        clean-libtool cscopelist-am ctags ctags-am distclean \
709        distclean-compile distclean-generic distclean-libtool \
710        distclean-tags distdir dvi dvi-am html html-am info info-am \
711        install install-am install-data install-data-am install-dvi \
712        install-dvi-am install-exec install-exec-am install-html \
713        install-html-am install-info install-info-am install-man \
714        install-pdf install-pdf-am install-ps install-ps-am \
715        install-strip installcheck installcheck-am installdirs \
716        maintainer-clean maintainer-clean-generic mostlyclean \
717        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
718        pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am
719
720.PRECIOUS: Makefile
721
722
723.cfa.o:
724        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
725        $(CFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
726        $(am__mv) $$depbase.Tpo $$depbase.Po
727
728.cfa.lo:
729        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
730        $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
731        $(am__mv) $$depbase.Tpo $$depbase.Plo
732
733dummyC.c:
734        @echo "int main() { return 0; }" > ${@}
735
736dummyCXX.cpp:
737        @echo "int main() { return 0; }" > ${@}
738
739.NOTPARALLEL:
740.PHONY: compile.csv ctxswitch.csv mutex.csv signal.csv
741
742all : ctxswitch$(EXEEXT) mutex$(EXEEXT) signal$(EXEEXT) waitfor$(EXEEXT) creation$(EXEEXT)
743
744%.run : %$(EXEEXT) ${REPEAT}
745        @rm -f .result.log
746        @echo "------------------------------------------------------"
747        @echo $<
748        @${REPEAT} ${repeats} ./a.out | tee -a .result.log
749        @${STATS} .result.log
750        @echo "------------------------------------------------------"
751        @rm -f a.out .result.log *.class
752
753%.runquiet :
754        @+make $(basename $@) CFLAGS="-w" __quiet=quiet
755        @taskset -c 1 ./a.out
756        @rm -f a.out
757
758%.make :
759        @printf "${PRINT_FORMAT}" $(basename $(subst compile-,,$@))
760        @+/usr/bin/time -f ${TIME_FORMAT} make $(basename $@) 2>&1
761
762${REPEAT} :
763        @+make -C ${abs_top_builddir}/tools repeat
764
765jenkins$(EXEEXT):
766@DOifskipcompile@
767        @+make compile.csv
768        @-+make compile.diff.csv
769@DOendif@
770        @+make ctxswitch.csv
771        @-+make ctxswitch.diff.csv
772        @+make mutex.csv
773        @-+make mutex.diff.csv
774        @+make signal.csv
775        @-+make signal.diff.csv
776@DOifskipcompile@
777        cat compile.csv
778        -cat compile.diff.csv
779@DOendif@
780        cat ctxswitch.csv
781        -cat ctxswitch.diff.csv
782        cat mutex.csv
783        -cat mutex.diff.csv
784        cat signal.csv
785        -cat signal.diff.csv
786
787compile.csv:
788        @echo "array,attributes,empty,expression,io,monitor,operators,typeof" > $@
789        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-array.make >> $@
790        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@
791        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-empty.make >> $@
792        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-expression.make >> $@
793        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-io.make >> $@
794        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-monitor.make >> $@
795        @+make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-operators.make >> $@
796        @+make TIME_FORMAT='%e' PRINT_FORMAT='' compile-typeof.make >> $@
797        @$(srcdir)/fixcsv.sh $@
798
799ctxswitch.csv:
800        @echo "generator,coroutine,thread" > $@
801        @+make ctxswitch-cfa_generator.runquiet >> $@ && echo -n ',' >> $@
802        @+make ctxswitch-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@
803        @+make ctxswitch-cfa_thread.runquiet >> $@
804        @$(srcdir)/fixcsv.sh $@
805
806mutex.csv:
807        @echo "1-monitor,2-monitor" > $@
808        @+make mutex-cfa1.runquiet >> $@ && echo -n ',' >> $@
809        @+make mutex-cfa2.runquiet >> $@
810        @$(srcdir)/fixcsv.sh $@
811
812signal.csv:
813        @echo "signal-1,signal-2,waitfor-1,waitfor-2" > $@
814        @+make signal-cfa1.runquiet >> $@ && echo -n ',' >> $@
815        @+make signal-cfa2.runquiet >> $@ && echo -n ',' >> $@
816        @+make waitfor-cfa1.runquiet >> $@ && echo -n ',' >> $@
817        @+make waitfor-cfa2.runquiet >> $@
818        @$(srcdir)/fixcsv.sh $@
819
820%.diff.csv: %.csv
821        @test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false)
822        @$(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@
823
824loop$(EXEEXT):
825        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
826
827function$(EXEEXT):
828        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c
829
830fetch_add$(EXEEXT):
831        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/fetch_add.c
832
833ttst_lock$(EXEEXT):
834        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/ttst_lock.c
835
836tls-fetch_add$(EXEEXT):
837        $(BENCH_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/tls-fetch_add.c
838
839@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre$(EXEEXT):
840@WITH_LIBFIBRE_TRUE@    $(BENCH_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
841
842@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre2$(EXEEXT):
843@WITH_LIBFIBRE_TRUE@    $(BENCH_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
844
845ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND)
846
847ctxswitch-pthread$(EXEEXT):
848        $(BENCH_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
849
850ctxswitch-cfa_generator$(EXEEXT):
851        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_gen.cfa
852
853ctxswitch-cfa_coroutine$(EXEEXT):
854        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.cfa
855
856ctxswitch-cfa_thread$(EXEEXT):
857        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.cfa
858
859ctxswitch-cfa_thread2$(EXEEXT):
860        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.cfa
861
862ctxswitch-upp_coroutine$(EXEEXT):
863        $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
864
865ctxswitch-upp_thread$(EXEEXT):
866        $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
867
868ctxswitch-goroutine$(EXEEXT):
869        $(BENCH_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go
870
871ctxswitch-java_thread$(EXEEXT):
872        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
873        @echo "#!/bin/sh" > a.out
874        @echo "java JavaThread" >> a.out
875        @chmod a+x a.out
876
877mutex$(EXEEXT) :\
878        loop.run                        \
879        function.run            \
880        fetch_add.run           \
881        mutex-pthread_lock.run  \
882        mutex-upp.run           \
883        mutex-cfa1.run          \
884        mutex-cfa2.run          \
885        mutex-cfa4.run          \
886        mutex-java_thread.run
887
888mutex-pthread_lock$(EXEEXT):
889        $(BENCH_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c
890
891mutex-upp$(EXEEXT):
892        $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc
893
894mutex-cfa1$(EXEEXT):
895        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa1.cfa
896
897mutex-cfa2$(EXEEXT):
898        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa2.cfa
899
900mutex-cfa4$(EXEEXT):
901        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa4.cfa
902
903mutex-java_thread$(EXEEXT):
904        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
905        @echo "#!/bin/sh" > a.out
906        @echo "java JavaThread" >> a.out
907        @chmod a+x a.out
908
909signal$(EXEEXT) :\
910        signal-pthread_cond.run \
911        signal-upp.run          \
912        signal-cfa1.run         \
913        signal-cfa2.run         \
914        signal-cfa4.run         \
915        signal-java_thread.run
916
917signal-pthread_cond$(EXEEXT):
918        $(BENCH_V_CC)$(COMPILE)    -DBENCH_N=500000  $(srcdir)/schedint/pthreads.c
919
920signal-upp$(EXEEXT):
921        $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc
922
923signal-cfa1$(EXEEXT):
924        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa1.cfa
925
926signal-cfa2$(EXEEXT):
927        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa2.cfa
928
929signal-cfa4$(EXEEXT):
930        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa4.cfa
931
932signal-java_thread$(EXEEXT):
933        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
934        @echo "#!/bin/sh" > a.out
935        @echo "java JavaThread" >> a.out
936        @chmod a+x a.out
937
938waitfor$(EXEEXT) :\
939        waitfor-upp.run         \
940        waitfor-cfa1.run                \
941        waitfor-cfa2.run                \
942        waitfor-cfa4.run
943
944waitfor-upp$(EXEEXT):
945        $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc
946
947waitfor-cfa1$(EXEEXT):
948        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa1.cfa
949
950waitfor-cfa2$(EXEEXT):
951        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa2.cfa
952
953waitfor-cfa4$(EXEEXT):
954        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa4.cfa
955
956creation$(EXEEXT) :\
957        creation-pthread.run                    \
958        creation-cfa_coroutine.run              \
959        creation-cfa_coroutine_eager.run        \
960        creation-cfa_thread.run                 \
961        creation-upp_coroutine.run              \
962        creation-upp_thread.run                 \
963        creation-goroutine.run                  \
964        creation-java_thread.run
965
966creation-cfa_coroutine$(EXEEXT):
967        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa
968
969creation-cfa_coroutine_eager$(EXEEXT):
970        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.cfa  -DEAGER
971
972creation-cfa_thread$(EXEEXT):
973        $(BENCH_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.cfa
974
975creation-upp_coroutine$(EXEEXT):
976        $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc
977
978creation-upp_thread$(EXEEXT):
979        $(BENCH_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc
980
981creation-pthread$(EXEEXT):
982        $(BENCH_V_CC)$(COMPILE)    -DBENCH_N=250000   $(srcdir)/creation/pthreads.c
983
984creation-goroutine$(EXEEXT):
985        $(BENCH_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go
986
987creation-java_thread$(EXEEXT):
988        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
989        @echo "#!/bin/sh" > a.out
990        @echo "java JavaThread" >> a.out
991        @chmod a+x a.out
992
993compile$(EXEEXT) :\
994        compile-array.make      \
995        compile-attributes.make \
996        compile-empty.make      \
997        compile-expression.make \
998        compile-io.make         \
999        compile-monitor.make    \
1000        compile-operators.make  \
1001        compile-typeof.make
1002
1003compile-array$(EXEEXT):
1004        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa
1005
1006compile-attributes$(EXEEXT):
1007        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa
1008
1009compile-empty$(EXEEXT):
1010        @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa
1011
1012compile-expression$(EXEEXT):
1013        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa
1014
1015compile-io$(EXEEXT):
1016        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa
1017
1018compile-monitor$(EXEEXT):
1019        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa
1020
1021compile-operators$(EXEEXT):
1022        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa
1023
1024compile-thread$(EXEEXT):
1025        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa
1026
1027compile-typeof$(EXEEXT):
1028        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa
1029
1030# Tell versions [3.59,3.63) of GNU make to not export all variables.
1031# Otherwise a system limit (for SysV at least) may be exceeded.
1032.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.