source: benchmark/Makefile.in @ 53fd995

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

Recreated makefile.in with automake from ubuntu 16.04

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