source: benchmark/Makefile.in @ 0c30ecc

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

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

  • Property mode set to 100644
File size: 34.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 = 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)/tools/build/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        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@
216CFACC_INSTALL = @CFACC_INSTALL@
217CFACPP = @CFACPP@
218CFAMAKE = @CFAMAKE@
219CFA_BACKEND_CC = @CFA_BACKEND_CC@
220CFA_BINDIR = @CFA_BINDIR@
221CFA_FLAGS = @CFA_FLAGS@
222CFA_INCDIR = @CFA_INCDIR@
223CFA_LIBDIR = @CFA_LIBDIR@
224CFA_NAME = @CFA_NAME@
225CFA_PREFIX = @CFA_PREFIX@
226CFLAGS = @CFLAGS@
227CPP = @CPP@
228CPPFLAGS = @CPPFLAGS@
229CXX = @CXX@
230CXXCPP = @CXXCPP@
231CXXDEPMODE = @CXXDEPMODE@
232CXXFLAGS = @CXXFLAGS@
233CYGPATH_W = @CYGPATH_W@
234DEFS = @DEFS@
235DEMANGLER = @DEMANGLER@
236DEPDIR = @DEPDIR@
237DLLTOOL = @DLLTOOL@
238DRIVER_DIR = @DRIVER_DIR@
239DSYMUTIL = @DSYMUTIL@
240DUMPBIN = @DUMPBIN@
241ECHO_C = @ECHO_C@
242ECHO_N = @ECHO_N@
243ECHO_T = @ECHO_T@
244EGREP = @EGREP@
245EXEEXT = @EXEEXT@
246FGREP = @FGREP@
247GREP = @GREP@
248HAS_DISTCC = @HAS_DISTCC@
249HOST_FLAGS = @HOST_FLAGS@
250INSTALL = @INSTALL@
251INSTALL_DATA = @INSTALL_DATA@
252INSTALL_PROGRAM = @INSTALL_PROGRAM@
253INSTALL_SCRIPT = @INSTALL_SCRIPT@
254INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
255LD = @LD@
256LDFLAGS = @LDFLAGS@
257LEX = @LEX@
258LEXLIB = @LEXLIB@
259LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
260LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@
261LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@
262LIBDEMANGLE = @LIBDEMANGLE@
263LIBOBJS = @LIBOBJS@
264LIBS = @LIBS@
265LIBTOOL = @LIBTOOL@
266LIPO = @LIPO@
267LN_S = @LN_S@
268LTLIBOBJS = @LTLIBOBJS@
269LT_SYS_LIBRARY_PATH = @LT_SYS_LIBRARY_PATH@
270MAKEINFO = @MAKEINFO@
271MANIFEST_TOOL = @MANIFEST_TOOL@
272MKDIR_P = @MKDIR_P@
273NM = @NM@
274NMEDIT = @NMEDIT@
275OBJDUMP = @OBJDUMP@
276OBJEXT = @OBJEXT@
277OTOOL = @OTOOL@
278OTOOL64 = @OTOOL64@
279PACKAGE = @PACKAGE@
280PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
281PACKAGE_NAME = @PACKAGE_NAME@
282PACKAGE_STRING = @PACKAGE_STRING@
283PACKAGE_TARNAME = @PACKAGE_TARNAME@
284PACKAGE_URL = @PACKAGE_URL@
285PACKAGE_VERSION = @PACKAGE_VERSION@
286PATH_SEPARATOR = @PATH_SEPARATOR@
287RANLIB = @RANLIB@
288SED = @SED@
289SET_MAKE = @SET_MAKE@
290SHELL = @SHELL@
291STRIP = @STRIP@
292TARGET_HOSTS = @TARGET_HOSTS@
293VERSION = @VERSION@
294YACC = @YACC@
295YFLAGS = @YFLAGS@
296abs_builddir = @abs_builddir@
297abs_srcdir = @abs_srcdir@
298abs_top_builddir = @abs_top_builddir@
299abs_top_srcdir = @abs_top_srcdir@
300ac_ct_AR = @ac_ct_AR@
301ac_ct_CC = @ac_ct_CC@
302ac_ct_CXX = @ac_ct_CXX@
303ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
304am__include = @am__include@
305am__leading_dot = @am__leading_dot@
306am__quote = @am__quote@
307am__tar = @am__tar@
308am__untar = @am__untar@
309bindir = @bindir@
310build = @build@
311build_alias = @build_alias@
312build_cpu = @build_cpu@
313build_os = @build_os@
314build_vendor = @build_vendor@
315builddir = @builddir@
316datadir = @datadir@
317datarootdir = @datarootdir@
318docdir = @docdir@
319dvidir = @dvidir@
320exec_prefix = @exec_prefix@
321host = @host@
322host_alias = @host_alias@
323host_cpu = @host_cpu@
324host_os = @host_os@
325host_vendor = @host_vendor@
326htmldir = @htmldir@
327includedir = @includedir@
328infodir = @infodir@
329install_sh = @install_sh@
330libdir = @libdir@
331libexecdir = @libexecdir@
332localedir = @localedir@
333localstatedir = @localstatedir@
334mandir = @mandir@
335mkdir_p = @mkdir_p@
336oldincludedir = @oldincludedir@
337pdfdir = @pdfdir@
338prefix = @prefix@
339program_transform_name = @program_transform_name@
340psdir = @psdir@
341runstatedir = @runstatedir@
342sbindir = @sbindir@
343sharedstatedir = @sharedstatedir@
344srcdir = @srcdir@
345sysconfdir = @sysconfdir@
346target_alias = @target_alias@
347top_build_prefix = @top_build_prefix@
348top_builddir = @top_builddir@
349top_srcdir = @top_srcdir@
350AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
351ACLOCAL_AMFLAGS = -I automake
352AM_CFLAGS = -O2 -Wall -Wextra -I$(srcdir) -lrt -pthread # -Werror
353AM_CFAFLAGS = -quiet -nodebug
354AM_UPPFLAGS = -quiet -nodebug -multi -std=c++14
355BENCH_V_CC = $(__bench_v_CC_$(__quiet))
356BENCH_V_CFA = $(__bench_v_CFA_$(__quiet))
357BENCH_V_CXX = $(__bench_v_CXX_$(__quiet))
358BENCH_V_UPP = $(__bench_v_UPP_$(__quiet))
359BENCH_V_GOC = $(__bench_v_GOC_$(__quiet))
360BENCH_V_PY = $(__bench_v_PY_$(__quiet))
361BENCH_V_RUSTC = $(__bench_v_RUSTC_$(__quiet))
362BENCH_V_NODEJS = $(__bench_v_NODEJS_$(__quiet))
363BENCH_V_JAVAC = $(__bench_v_JAVAC_$(__quiet))
364__quiet = verbose
365__bench_v_CC_quiet = @
366__bench_v_CFA_quiet = @
367__bench_v_CXX_quiet = @
368__bench_v_UPP_quiet = @
369__bench_v_GOC_quiet = @
370__bench_v_RUSTC_quiet = @
371__bench_v_JAVAC_quiet = @
372__bench_v_CC_verbose = $(AM_V_CC)
373__bench_v_CFA_verbose = $(AM_V_CFA)
374__bench_v_CXX_verbose = $(AM_V_CXX)
375__bench_v_UPP_verbose = $(AM_V_UPP)
376__bench_v_GOC_verbose = $(AM_V_GOC)
377__bench_v_PY_verbose = $(AM_V_PY)
378__bench_v_RUSTC_verbose = $(AM_V_RUST)
379__bench_v_NODEJS_verbose = $(AM_V_NODEJS)
380__bench_v_JAVAC_verbose = $(AM_V_JAVAC)
381TOOLSDIR = ${abs_top_builddir}/tools/
382REPEAT = ${abs_top_builddir}/tools/repeat
383STATS = ${abs_top_srcdir}/tools/stat.py
384# NEED AT LEAST 4 DATA VALUES FOR BENCHMARKS BECAUSE THE MAX AND MIN VALUES ARE REMOVED
385repeats = 13 # 31 for benchmarks
386arch = x64
387skipcompile = no
388TIME_FORMAT = "%E"
389PRINT_FORMAT = %20s: #Comments needed for spacing
390dummy_SOURCES = dummyC.c dummyCXX.cpp
391basic_loop_DURATION = 15000000000
392basic_function_DURATION = 10000000000
393basic_tls_fetch_add_DURATION = 10000000000
394basic_DURATION = 250000000
395ctxswitch_pthread_DURATION = 25000000
396ctxswitch_rust_thread_DURATION = $(ctxswitch_pthread_DURATION)
397ctxswitch_cfa_generator_DURATION = 5000000000
398ctxswitch_nodejs_await_DURATION = 5000000
399ctxswitch_DURATION = 100000000
400
401#mutex_java_DURATION = 10000000
402mutex_DURATION = 50000000
403schedint_pthread_DURATION = 1000000
404schedint_java_DURATION = $(schedint_pthread_DURATION)
405schedint_rust_DURATION = $(schedint_pthread_DURATION)
406schedint_DURATION = 10000000
407schedext_DURATION = 10000000
408creation_pthread_DURATION = 250000
409creation_rust_thread_DURATION = ${creation_pthread_DURATION}
410creation_java_thread_DURATION = ${creation_pthread_DURATION}
411creation_cfa_coroutine_DURATION = 100000000
412creation_cfa_coroutine_eager_DURATION = 10000000
413creation_cfa_generator_DURATION = 1000000000
414creation_upp_coroutine_DURATION = ${creation_cfa_coroutine_eager_DURATION}
415creation_cfa_thread_DURATION = 10000000
416creation_upp_thread_DURATION = ${creation_cfa_thread_DURATION}
417creation_DURATION = 10000000
418FIX_NEW_LINES = cat $@ | tr "\n" "\t" | sed -r 's/\t,/,/' | tr "\t" "\n" > $@
419BASIC_DEPEND = \
420        basic-loop.run                          \
421        basic-function.run                      \
422        basic-fetch_add.run                     \
423        basic-ttst_lock.run                     \
424        basic-tls-fetch_add.run
425
426CTXSWITCH_DEPEND = ctxswitch-cfa_generator.run \
427        ctxswitch-cfa_coroutine.run ctxswitch-cfa_thread.run \
428        ctxswitch-cfa_thread2.run ctxswitch-upp_coroutine.run \
429        ctxswitch-upp_thread.run ctxswitch-python_coroutine.run \
430        ctxswitch-nodejs_coroutine.run ctxswitch-nodejs_await.run \
431        ctxswitch-goroutine_thread.run ctxswitch-rust_thread.run \
432        ctxswitch-nodejs_coroutine.run ctxswitch-java_thread.run \
433        ctxswitch-pthread.run $(am__append_1)
434testdir = $(top_srcdir)/tests
435all: all-am
436
437.SUFFIXES:
438.SUFFIXES: .c .cpp .lo .o .obj
439$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am  $(am__configure_deps)
440        @for dep in $?; do \
441          case '$(am__configure_deps)' in \
442            *$$dep*) \
443              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
444                && { if test -f $@; then exit 0; else break; fi; }; \
445              exit 1;; \
446          esac; \
447        done; \
448        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign benchmark/Makefile'; \
449        $(am__cd) $(top_srcdir) && \
450          $(AUTOMAKE) --foreign benchmark/Makefile
451Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
452        @case '$?' in \
453          *config.status*) \
454            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
455          *) \
456            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
457            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
458        esac;
459
460$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
461        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
462
463$(top_srcdir)/configure:  $(am__configure_deps)
464        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
465$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
466        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
467$(am__aclocal_m4_deps):
468
469dummy$(EXEEXT): $(dummy_OBJECTS) $(dummy_DEPENDENCIES) $(EXTRA_dummy_DEPENDENCIES)
470        @rm -f dummy$(EXEEXT)
471        $(AM_V_CXXLD)$(CXXLINK) $(dummy_OBJECTS) $(dummy_LDADD) $(LIBS)
472
473mostlyclean-compile:
474        -rm -f *.$(OBJEXT)
475
476distclean-compile:
477        -rm -f *.tab.c
478
479@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummyC.Po@am__quote@
480@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/dummyCXX.Po@am__quote@
481
482.c.o:
483@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
484@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
485@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
486@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
487@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
488@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
489
490.c.obj:
491@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
492@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
493@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
494@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
495@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
496@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
497
498.c.lo:
499@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
500@am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
501@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Plo
502@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
503@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
504@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LTCOMPILE) -c -o $@ $<
505
506.cpp.o:
507@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
508@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
509@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
510@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
511@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
512@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
513
514.cpp.obj:
515@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
516@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
517@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
518@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
519@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
520@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
521
522.cpp.lo:
523@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
524@am__fastdepCXX_TRUE@   $(LTCXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
525@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Plo
526@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
527@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
528@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(LTCXXCOMPILE) -c -o $@ $<
529
530mostlyclean-libtool:
531        -rm -f *.lo
532
533clean-libtool:
534        -rm -rf .libs _libs
535
536ID: $(am__tagged_files)
537        $(am__define_uniq_tagged_files); mkid -fID $$unique
538tags: tags-am
539TAGS: tags
540
541tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
542        set x; \
543        here=`pwd`; \
544        $(am__define_uniq_tagged_files); \
545        shift; \
546        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
547          test -n "$$unique" || unique=$$empty_fix; \
548          if test $$# -gt 0; then \
549            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
550              "$$@" $$unique; \
551          else \
552            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
553              $$unique; \
554          fi; \
555        fi
556ctags: ctags-am
557
558CTAGS: ctags
559ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
560        $(am__define_uniq_tagged_files); \
561        test -z "$(CTAGS_ARGS)$$unique" \
562          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
563             $$unique
564
565GTAGS:
566        here=`$(am__cd) $(top_builddir) && pwd` \
567          && $(am__cd) $(top_srcdir) \
568          && gtags -i $(GTAGS_ARGS) "$$here"
569cscopelist: cscopelist-am
570
571cscopelist-am: $(am__tagged_files)
572        list='$(am__tagged_files)'; \
573        case "$(srcdir)" in \
574          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
575          *) sdir=$(subdir)/$(srcdir) ;; \
576        esac; \
577        for i in $$list; do \
578          if test -f "$$i"; then \
579            echo "$(subdir)/$$i"; \
580          else \
581            echo "$$sdir/$$i"; \
582          fi; \
583        done >> $(top_builddir)/cscope.files
584
585distclean-tags:
586        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
587
588distdir: $(DISTFILES)
589        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
590        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
591        list='$(DISTFILES)'; \
592          dist_files=`for file in $$list; do echo $$file; done | \
593          sed -e "s|^$$srcdirstrip/||;t" \
594              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
595        case $$dist_files in \
596          */*) $(MKDIR_P) `echo "$$dist_files" | \
597                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
598                           sort -u` ;; \
599        esac; \
600        for file in $$dist_files; do \
601          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
602          if test -d $$d/$$file; then \
603            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
604            if test -d "$(distdir)/$$file"; then \
605              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
606            fi; \
607            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
608              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
609              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
610            fi; \
611            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
612          else \
613            test -f "$(distdir)/$$file" \
614            || cp -p $$d/$$file "$(distdir)/$$file" \
615            || exit 1; \
616          fi; \
617        done
618check-am: all-am
619check: check-am
620all-am: Makefile
621installdirs:
622install: install-am
623install-exec: install-exec-am
624install-data: install-data-am
625uninstall: uninstall-am
626
627install-am: all-am
628        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
629
630installcheck: installcheck-am
631install-strip:
632        if test -z '$(STRIP)'; then \
633          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
634            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
635              install; \
636        else \
637          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
638            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
639            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
640        fi
641mostlyclean-generic:
642
643clean-generic:
644
645distclean-generic:
646        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
647        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
648
649maintainer-clean-generic:
650        @echo "This command is intended for maintainers to use"
651        @echo "it deletes files that may require special tools to rebuild."
652clean: clean-am
653
654clean-am: clean-generic clean-libtool mostlyclean-am
655
656distclean: distclean-am
657        -rm -rf ./$(DEPDIR)
658        -rm -f Makefile
659distclean-am: clean-am distclean-compile distclean-generic \
660        distclean-tags
661
662dvi: dvi-am
663
664dvi-am:
665
666html: html-am
667
668html-am:
669
670info: info-am
671
672info-am:
673
674install-data-am:
675
676install-dvi: install-dvi-am
677
678install-dvi-am:
679
680install-exec-am:
681
682install-html: install-html-am
683
684install-html-am:
685
686install-info: install-info-am
687
688install-info-am:
689
690install-man:
691
692install-pdf: install-pdf-am
693
694install-pdf-am:
695
696install-ps: install-ps-am
697
698install-ps-am:
699
700installcheck-am:
701
702maintainer-clean: maintainer-clean-am
703        -rm -rf ./$(DEPDIR)
704        -rm -f Makefile
705maintainer-clean-am: distclean-am maintainer-clean-generic
706
707mostlyclean: mostlyclean-am
708
709mostlyclean-am: mostlyclean-compile mostlyclean-generic \
710        mostlyclean-libtool
711
712pdf: pdf-am
713
714pdf-am:
715
716ps: ps-am
717
718ps-am:
719
720uninstall-am:
721
722.MAKE: install-am install-strip
723
724.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
725        clean-libtool cscopelist-am ctags ctags-am distclean \
726        distclean-compile distclean-generic distclean-libtool \
727        distclean-tags distdir dvi dvi-am html html-am info info-am \
728        install install-am install-data install-data-am install-dvi \
729        install-dvi-am install-exec install-exec-am install-html \
730        install-html-am install-info install-info-am install-man \
731        install-pdf install-pdf-am install-ps install-ps-am \
732        install-strip installcheck installcheck-am installdirs \
733        maintainer-clean maintainer-clean-generic mostlyclean \
734        mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
735        pdf pdf-am ps ps-am tags tags-am uninstall uninstall-am
736
737.PRECIOUS: Makefile
738
739
740# applies to both programs
741@CFAMAKE@
742
743dummyC.c:
744        echo "int main() { return 0; }" > ${@}
745
746dummyCXX.cpp:
747        echo "int main() { return 0; }" > ${@}
748
749.SILENT:                # do not print recipe
750.NOTPARALLEL:
751.PHONY: jenkins cleancsv
752
753all : basic$(EXEEXT) ctxswitch$(EXEEXT) mutex$(EXEEXT) schedint$(EXEEXT) schedext$(EXEEXT) creation$(EXEEXT)
754
755%.run : %$(EXEEXT) ${REPEAT}
756        rm -f .result.log
757        echo "------------------------------------------------------"
758        echo $<
759        ${REPEAT} ${repeats} -- ./a.out\
760                $(if ${$(subst -,_,$(basename $@))_DURATION},\
761                        ${$(subst -,_,$(basename $@))_DURATION},\
762                        ${$(firstword $(subst -, ,$(basename $@)))_DURATION}) | tee -a .result.log
763        ${STATS} .result.log
764        echo "------------------------------------------------------"
765        rm -f a.out .result.log *.class
766
767#       ${REPEAT} ${repeats} -- /usr/bin/time -f "%Uu %Ss %Er %Mkb" ./a.out
768
769%.runquiet :
770        +make $(basename $@) CFLAGS="-w" __quiet=quiet
771        taskset -c 1 ./a.out
772        rm -f a.out
773
774%.make :
775        printf "${PRINT_FORMAT}" $(basename $(subst compile-,,$@))
776        +/usr/bin/time -f ${TIME_FORMAT} make $(basename $@) 2>&1
777
778${REPEAT} :
779        +make -C ${abs_top_builddir}/tools repeat
780
781cleancsv:
782        rm -f compile.csv basic.csv ctxswitch.csv mutex.csv scheduling.csv
783
784jenkins$(EXEEXT): cleancsv
785@DOifskipcompile@
786        +make compile.csv
787        -+make compile.diff.csv
788@DOendif@
789        +make ctxswitch.csv
790        -+make ctxswitch.diff.csv
791        +make mutex.csv
792        -+make mutex.diff.csv
793        +make scheduling.csv
794        -+make scheduling.diff.csv
795@DOifskipcompile@
796        cat compile.csv
797        -cat compile.diff.csv
798@DOendif@
799        cat ctxswitch.csv
800        -cat ctxswitch.diff.csv
801        cat mutex.csv
802        -cat mutex.diff.csv
803        cat scheduling.csv
804        -cat scheduling.diff.csv
805
806compile.csv:
807        echo "building $@"
808        echo "array,attributes,empty,expression,io,monitor,operators,typeof" > $@
809        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-array.make >> $@
810        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-attributes.make >> $@
811        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-empty.make >> $@
812        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-expression.make >> $@
813        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-io.make >> $@
814        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-monitor.make >> $@
815        +make TIME_FORMAT='%e,' PRINT_FORMAT='' compile-operators.make >> $@
816        +make TIME_FORMAT='%e' PRINT_FORMAT='' compile-typeof.make >> $@
817        $(srcdir)/fixcsv.sh $@
818
819ctxswitch.csv:
820        echo "building $@"
821        echo "generator,coroutine,thread" > $@
822        +make ctxswitch-cfa_generator.runquiet >> $@ && echo -n ',' >> $@
823        +make ctxswitch-cfa_coroutine.runquiet >> $@ && echo -n ',' >> $@
824        +make ctxswitch-cfa_thread.runquiet >> $@
825        $(srcdir)/fixcsv.sh $@
826
827mutex.csv:
828        echo "building $@"
829        echo "1-monitor,2-monitor" > $@
830        +make mutex-cfa1.runquiet >> $@ && echo -n ',' >> $@
831        +make mutex-cfa2.runquiet >> $@
832        $(srcdir)/fixcsv.sh $@
833
834scheduling.csv:
835        echo "building $@"
836        echo "schedint-1,schedint-2,schedext-1,schedext-2" > $@
837        +make schedint-cfa1.runquiet >> $@ && echo -n ',' >> $@
838        +make schedint-cfa2.runquiet >> $@ && echo -n ',' >> $@
839        +make schedext-cfa1.runquiet >> $@ && echo -n ',' >> $@
840        +make schedext-cfa2.runquiet >> $@
841        $(srcdir)/fixcsv.sh $@
842
843%.diff.csv: %.csv
844        test -e $(srcdir)/baselines/$(arch)/$< || (echo "Error : Missing baseline for ${<}" && false)
845        $(srcdir)/baselines/calc.py $(srcdir)/baselines/$(arch)/$(<) $(<) > $@
846
847basic-loop$(EXEEXT):
848        $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/loop.c
849
850basic-function$(EXEEXT):
851        $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/function.c
852
853basic-fetch_add$(EXEEXT):
854        $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/fetch_add.c
855
856basic-ttst_lock$(EXEEXT):
857        $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/ttst_lock.c
858
859basic-tls-fetch_add$(EXEEXT):
860        $(BENCH_V_CC)$(COMPILE) $(srcdir)/basic/tls_fetch_add.c
861
862basic$(EXEEXT): $(BASIC_DEPEND)
863
864@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre$(EXEEXT):
865@WITH_LIBFIBRE_TRUE@    $(BENCH_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
866
867@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre2$(EXEEXT):
868@WITH_LIBFIBRE_TRUE@    $(BENCH_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
869
870ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND)
871
872ctxswitch-cfa_generator$(EXEEXT):
873        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_gen.cfa
874
875ctxswitch-cfa_coroutine$(EXEEXT):
876        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_cor.cfa
877
878ctxswitch-cfa_thread$(EXEEXT):
879        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_thrd.cfa
880
881ctxswitch-cfa_thread2$(EXEEXT):
882        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/ctxswitch/cfa_thrd2.cfa
883
884ctxswitch-upp_coroutine$(EXEEXT):
885        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/ctxswitch/upp_cor.cc
886
887ctxswitch-upp_thread$(EXEEXT):
888        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/ctxswitch/upp_thrd.cc
889
890ctxswitch-python_coroutine$(EXEEXT):
891        $(BENCH_V_PY)echo "#!/bin/sh" > a.out
892        echo "python3.7 $(srcdir)/ctxswitch/python_cor.py" >> a.out
893        chmod a+x a.out
894
895ctxswitch-nodejs_coroutine$(EXEEXT):
896        $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out
897        echo "nodejs $(srcdir)/ctxswitch/node_cor.js" >> a.out
898        chmod a+x a.out
899
900ctxswitch-nodejs_await$(EXEEXT):
901        $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out
902        echo "nodejs $(srcdir)/ctxswitch/node_await.js" >> a.out
903        chmod a+x a.out
904
905ctxswitch-goroutine_thread$(EXEEXT):
906        $(BENCH_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go
907
908ctxswitch-rust_thread$(EXEEXT):
909        $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/ctxswitch/rust_thrd.rs
910
911ctxswitch-java_thread$(EXEEXT):
912        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
913        echo "#!/bin/sh" > a.out
914        echo "java JavaThread" >> a.out
915        chmod a+x a.out
916
917ctxswitch-pthread$(EXEEXT):
918        $(BENCH_V_CC)$(COMPILE) $(srcdir)/ctxswitch/pthreads.c
919
920mutex$(EXEEXT) :                \
921        mutex-cfa1.run          \
922        mutex-cfa2.run          \
923        mutex-cfa4.run          \
924        mutex-upp.run           \
925        mutex-go.run            \
926        mutex-rust.run          \
927        mutex-java.run          \
928        mutex-pthread.run
929
930mutex-pthread$(EXEEXT):
931        $(BENCH_V_CC)$(COMPILE) $(srcdir)/mutex/pthreads.c
932
933mutex-cfa1$(EXEEXT):
934        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa1.cfa
935
936mutex-cfa2$(EXEEXT):
937        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa2.cfa
938
939mutex-cfa4$(EXEEXT):
940        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/mutex/cfa4.cfa
941
942mutex-upp$(EXEEXT):
943        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/mutex/upp.cc
944
945mutex-go$(EXEEXT):
946        $(BENCH_V_GOC)go build -o a.out $(srcdir)/mutex/goroutine.go
947
948mutex-rust$(EXEEXT):
949        $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/mutex/rust.rs
950
951mutex-java$(EXEEXT):
952        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
953        echo "#!/bin/sh" > a.out
954        echo "java JavaThread" >> a.out
955        chmod a+x a.out
956
957schedint$(EXEEXT) :             \
958        schedint-cfa1.run       \
959        schedint-cfa2.run       \
960        schedint-cfa4.run       \
961        schedint-upp.run        \
962        schedint-rust.run       \
963        schedint-java.run       \
964        schedint-pthread.run
965
966schedint-cfa1$(EXEEXT):
967        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa1.cfa
968
969schedint-cfa2$(EXEEXT):
970        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa2.cfa
971
972schedint-cfa4$(EXEEXT):
973        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedint/cfa4.cfa
974
975schedint-upp$(EXEEXT):
976        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/schedint/upp.cc
977
978schedint-rust$(EXEEXT):
979        $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/schedint/rust.rs
980
981schedint-java$(EXEEXT):
982        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
983        echo "#!/bin/sh" > a.out
984        echo "java JavaThread" >> a.out
985        chmod a+x a.out
986
987schedint-pthread$(EXEEXT):
988        $(BENCH_V_CC)$(COMPILE) $(srcdir)/schedint/pthreads.c
989
990schedext$(EXEEXT) :             \
991        schedext-cfa1.run       \
992        schedext-cfa2.run       \
993        schedext-cfa4.run       \
994        schedext-upp.run        \
995        schedext-goroutine.run
996
997schedext-cfa1$(EXEEXT):
998        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa1.cfa
999
1000schedext-cfa2$(EXEEXT):
1001        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa2.cfa
1002
1003schedext-cfa4$(EXEEXT):
1004        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/schedext/cfa4.cfa
1005
1006schedext-upp$(EXEEXT):
1007        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/schedext/upp.cc
1008
1009schedext-goroutine$(EXEEXT):
1010        $(BENCH_V_GOC)go build -o a.out $(srcdir)/schedext/goroutine.go
1011
1012creation$(EXEEXT) :                             \
1013        creation-cfa_generator.run              \
1014        creation-cfa_coroutine.run              \
1015        creation-cfa_coroutine_eager.run        \
1016        creation-cfa_thread.run                 \
1017        creation-upp_coroutine.run              \
1018        creation-upp_thread.run                 \
1019        creation-python_coroutine.run           \
1020        creation-nodejs_coroutine.run           \
1021        creation-goroutine_thread.run           \
1022        creation-rust_thread.run                \
1023        creation-java_thread.run                \
1024        creation-pthread.run
1025
1026creation-cfa_generator$(EXEEXT):
1027        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_gen.cfa
1028
1029creation-cfa_coroutine$(EXEEXT):
1030        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_cor.cfa
1031
1032creation-cfa_coroutine_eager$(EXEEXT):
1033        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_cor.cfa  -DEAGER
1034
1035creation-cfa_thread$(EXEEXT):
1036        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/creation/cfa_thrd.cfa
1037
1038creation-upp_coroutine$(EXEEXT):
1039        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/creation/upp_cor.cc
1040
1041creation-upp_thread$(EXEEXT):
1042        $(BENCH_V_UPP)$(UPPCOMPILE) $(srcdir)/creation/upp_thrd.cc
1043
1044creation-python_coroutine$(EXEEXT):
1045        $(BENCH_V_PY)echo "#!/bin/sh" > a.out
1046        echo "python3.7 $(srcdir)/creation/python_cor.py" >> a.out
1047        chmod a+x a.out
1048
1049creation-nodejs_coroutine$(EXEEXT):
1050        $(BENCH_V_NODEJS)echo "#!/bin/sh" > a.out
1051        echo "nodejs $(srcdir)/creation/node_cor.js" >> a.out
1052        chmod a+x a.out
1053
1054creation-goroutine_thread$(EXEEXT):
1055        $(BENCH_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go
1056
1057creation-rust_thread$(EXEEXT):
1058        $(BENCH_V_RUSTC)rustc -C opt-level=3 -o a.out $(srcdir)/creation/rust_thrd.rs
1059
1060creation-java_thread$(EXEEXT):
1061        $(BENCH_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
1062        echo "#!/bin/sh" > a.out
1063        echo "java JavaThread" >> a.out
1064        chmod a+x a.out
1065
1066creation-pthread$(EXEEXT):
1067        $(BENCH_V_CC)$(COMPILE) $(srcdir)/creation/pthreads.c
1068
1069compile$(EXEEXT) :              \
1070        compile-array.make      \
1071        compile-attributes.make \
1072        compile-empty.make      \
1073        compile-expression.make \
1074        compile-io.make         \
1075        compile-monitor.make    \
1076        compile-operators.make  \
1077        compile-typeof.make
1078
1079compile-array$(EXEEXT):
1080        $(CFACOMPILE) -fsyntax-only -w $(testdir)/array.cfa
1081
1082compile-attributes$(EXEEXT):
1083        $(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.cfa
1084
1085compile-empty$(EXEEXT):
1086        $(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.cfa
1087
1088compile-expression$(EXEEXT):
1089        $(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.cfa
1090
1091compile-io$(EXEEXT):
1092        $(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.cfa
1093
1094compile-monitor$(EXEEXT):
1095        $(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.cfa
1096
1097compile-operators$(EXEEXT):
1098        $(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.cfa
1099
1100compile-thread$(EXEEXT):
1101        $(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.cfa
1102
1103compile-typeof$(EXEEXT):
1104        $(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.cfa
1105
1106size$(EXEEXT) : size-cfa.runquiet
1107
1108size-cfa$(EXEEXT):
1109        $(BENCH_V_CFA)$(CFACOMPILE) $(srcdir)/size/size.cfa
1110
1111# Tell versions [3.59,3.63) of GNU make to not export all variables.
1112# Otherwise a system limit (for SysV at least) may be exceeded.
1113.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.