source: benchmark/Makefile.in @ b4107c8

arm-ehenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulation
Last change on this file since b4107c8 was 90cb6f7, checked in by Peter A. Buhr <pabuhr@…>, 3 years ago

begin updating benchmark build

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