source: benchmark/Makefile.in @ c6bbcdb

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

Fixed shared library version number

  • Property mode set to 100644
File size: 20.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###############################################################################
19
20VPATH = @srcdir@
21am__is_gnu_make = { \
22  if test -z '$(MAKELEVEL)'; then \
23    false; \
24  elif test -n '$(MAKE_HOST)'; then \
25    true; \
26  elif test -n '$(MAKE_VERSION)' && test -n '$(CURDIR)'; then \
27    true; \
28  else \
29    false; \
30  fi; \
31}
32am__make_running_with_option = \
33  case $${target_option-} in \
34      ?) ;; \
35      *) echo "am__make_running_with_option: internal error: invalid" \
36              "target option '$${target_option-}' specified" >&2; \
37         exit 1;; \
38  esac; \
39  has_opt=no; \
40  sane_makeflags=$$MAKEFLAGS; \
41  if $(am__is_gnu_make); then \
42    sane_makeflags=$$MFLAGS; \
43  else \
44    case $$MAKEFLAGS in \
45      *\\[\ \   ]*) \
46        bs=\\; \
47        sane_makeflags=`printf '%s\n' "$$MAKEFLAGS" \
48          | sed "s/$$bs$$bs[$$bs $$bs   ]*//g"`;; \
49    esac; \
50  fi; \
51  skip_next=no; \
52  strip_trailopt () \
53  { \
54    flg=`printf '%s\n' "$$flg" | sed "s/$$1.*$$//"`; \
55  }; \
56  for flg in $$sane_makeflags; do \
57    test $$skip_next = yes && { skip_next=no; continue; }; \
58    case $$flg in \
59      *=*|--*) continue;; \
60        -*I) strip_trailopt 'I'; skip_next=yes;; \
61      -*I?*) strip_trailopt 'I';; \
62        -*O) strip_trailopt 'O'; skip_next=yes;; \
63      -*O?*) strip_trailopt 'O';; \
64        -*l) strip_trailopt 'l'; skip_next=yes;; \
65      -*l?*) strip_trailopt 'l';; \
66      -[dEDm]) skip_next=yes;; \
67      -[JT]) skip_next=yes;; \
68    esac; \
69    case $$flg in \
70      *$$target_option*) has_opt=yes; break;; \
71    esac; \
72  done; \
73  test $$has_opt = yes
74am__make_dryrun = (target_option=n; $(am__make_running_with_option))
75am__make_keepgoing = (target_option=k; $(am__make_running_with_option))
76pkgdatadir = $(datadir)/@PACKAGE@
77pkgincludedir = $(includedir)/@PACKAGE@
78pkglibdir = $(libdir)/@PACKAGE@
79pkglibexecdir = $(libexecdir)/@PACKAGE@
80am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
81install_sh_DATA = $(install_sh) -c -m 644
82install_sh_PROGRAM = $(install_sh) -c
83install_sh_SCRIPT = $(install_sh) -c
84INSTALL_HEADER = $(INSTALL_DATA)
85transform = $(program_transform_name)
86NORMAL_INSTALL = :
87PRE_INSTALL = :
88POST_INSTALL = :
89NORMAL_UNINSTALL = :
90PRE_UNINSTALL = :
91POST_UNINSTALL = :
92build_triplet = @build@
93host_triplet = @host@
94noinst_PROGRAMS =
95@WITH_LIBFIBRE_TRUE@am__append_1 = \
96@WITH_LIBFIBRE_TRUE@    ctxswitch-kos_fibre.run  \
97@WITH_LIBFIBRE_TRUE@    ctxswitch-kos_fibre2.run
98
99subdir = benchmark
100ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
101am__aclocal_m4_deps = $(top_srcdir)/automake/cfa.m4 \
102        $(top_srcdir)/configure.ac
103am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
104        $(ACLOCAL_M4)
105DIST_COMMON = $(srcdir)/Makefile.am $(am__DIST_COMMON)
106mkinstalldirs = $(install_sh) -d
107CONFIG_HEADER = $(top_builddir)/config.h
108CONFIG_CLEAN_FILES =
109CONFIG_CLEAN_VPATH_FILES =
110PROGRAMS = $(noinst_PROGRAMS)
111AM_V_P = $(am__v_P_@AM_V@)
112am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
113am__v_P_0 = false
114am__v_P_1 = :
115AM_V_GEN = $(am__v_GEN_@AM_V@)
116am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
117am__v_GEN_0 = @echo "  GEN     " $@;
118am__v_GEN_1 =
119AM_V_at = $(am__v_at_@AM_V@)
120am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
121am__v_at_0 = @
122am__v_at_1 =
123SOURCES =
124DIST_SOURCES =
125am__can_run_installinfo = \
126  case $$AM_UPDATE_INFO_DIR in \
127    n|no|NO) false;; \
128    *) (install-info --version) >/dev/null 2>&1;; \
129  esac
130am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
131am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/src/cfa.make \
132        compile
133DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
134ACLOCAL = @ACLOCAL@
135ALLOCA = @ALLOCA@
136AMTAR = @AMTAR@
137AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
138AUTOCONF = @AUTOCONF@
139AUTOHEADER = @AUTOHEADER@
140AUTOMAKE = @AUTOMAKE@
141AWK = @AWK@
142BACKEND_CC = @BACKEND_CC@
143BUILD_IN_TREE_FLAGS = @BUILD_IN_TREE_FLAGS@
144CC = @CC@
145CCAS = @CCAS@
146CCASDEPMODE = @CCASDEPMODE@
147CCASFLAGS = @CCASFLAGS@
148CCDEPMODE = @CCDEPMODE@
149CFACC = @CFACC@
150CFACPP = @CFACPP@
151CFA_BACKEND_CC = @CFA_BACKEND_CC@
152CFA_BINDIR = @CFA_BINDIR@
153CFA_FLAGS = @CFA_FLAGS@
154CFA_INCDIR = @CFA_INCDIR@
155CFA_LIBDIR = @CFA_LIBDIR@
156CFA_NAME = @CFA_NAME@
157CFA_PREFIX = @CFA_PREFIX@
158CFLAGS = @CFLAGS@
159CPP = @CPP@
160CPPFLAGS = @CPPFLAGS@
161CXX = @CXX@
162CXXDEPMODE = @CXXDEPMODE@
163CXXFLAGS = @CXXFLAGS@
164CYGPATH_W = @CYGPATH_W@
165DEFS = @DEFS@
166DEPDIR = @DEPDIR@
167DRIVER_DIR = @DRIVER_DIR@
168ECHO_C = @ECHO_C@
169ECHO_N = @ECHO_N@
170ECHO_T = @ECHO_T@
171EGREP = @EGREP@
172EXEEXT = @EXEEXT@
173GREP = @GREP@
174HOST_FLAGS = @HOST_FLAGS@
175INSTALL = @INSTALL@
176INSTALL_DATA = @INSTALL_DATA@
177INSTALL_PROGRAM = @INSTALL_PROGRAM@
178INSTALL_SCRIPT = @INSTALL_SCRIPT@
179INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
180LDFLAGS = @LDFLAGS@
181LEX = @LEX@
182LEXLIB = @LEXLIB@
183LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@
184LIBCFA_TARGET_DIRS = @LIBCFA_TARGET_DIRS@
185LIBCFA_TARGET_MAKEFILES = @LIBCFA_TARGET_MAKEFILES@
186LIBOBJS = @LIBOBJS@
187LIBS = @LIBS@
188LTLIBOBJS = @LTLIBOBJS@
189MAKEINFO = @MAKEINFO@
190MKDIR_P = @MKDIR_P@
191OBJEXT = @OBJEXT@
192PACKAGE = @PACKAGE@
193PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
194PACKAGE_NAME = @PACKAGE_NAME@
195PACKAGE_STRING = @PACKAGE_STRING@
196PACKAGE_TARNAME = @PACKAGE_TARNAME@
197PACKAGE_URL = @PACKAGE_URL@
198PACKAGE_VERSION = @PACKAGE_VERSION@
199PATH_SEPARATOR = @PATH_SEPARATOR@
200RANLIB = @RANLIB@
201SET_MAKE = @SET_MAKE@
202SHELL = @SHELL@
203STRIP = @STRIP@
204TARGET_HOSTS = @TARGET_HOSTS@
205VERSION = @VERSION@
206YACC = @YACC@
207YFLAGS = @YFLAGS@
208abs_builddir = @abs_builddir@
209abs_srcdir = @abs_srcdir@
210abs_top_builddir = @abs_top_builddir@
211abs_top_srcdir = @abs_top_srcdir@
212ac_ct_CC = @ac_ct_CC@
213ac_ct_CXX = @ac_ct_CXX@
214am__include = @am__include@
215am__leading_dot = @am__leading_dot@
216am__quote = @am__quote@
217am__tar = @am__tar@
218am__untar = @am__untar@
219bindir = @bindir@
220build = @build@
221build_alias = @build_alias@
222build_cpu = @build_cpu@
223build_os = @build_os@
224build_vendor = @build_vendor@
225builddir = @builddir@
226datadir = @datadir@
227datarootdir = @datarootdir@
228docdir = @docdir@
229dvidir = @dvidir@
230exec_prefix = @exec_prefix@
231host = @host@
232host_alias = @host_alias@
233host_cpu = @host_cpu@
234host_os = @host_os@
235host_vendor = @host_vendor@
236htmldir = @htmldir@
237includedir = @includedir@
238infodir = @infodir@
239install_sh = @install_sh@
240libdir = @libdir@
241libexecdir = @libexecdir@
242localedir = @localedir@
243localstatedir = @localstatedir@
244mandir = @mandir@
245mkdir_p = @mkdir_p@
246oldincludedir = @oldincludedir@
247pdfdir = @pdfdir@
248prefix = @prefix@
249program_transform_name = @program_transform_name@
250psdir = @psdir@
251runstatedir = @runstatedir@
252sbindir = @sbindir@
253sharedstatedir = @sharedstatedir@
254srcdir = @srcdir@
255sysconfdir = @sysconfdir@
256target_alias = @target_alias@
257top_build_prefix = @top_build_prefix@
258top_builddir = @top_builddir@
259top_srcdir = @top_srcdir@
260AUTOMAKE_OPTIONS = foreign    # do not require all the GNU file names
261CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS)
262LTCFACOMPILE = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \
263        $(LIBTOOLFLAGS) --mode=compile $(CFACC) $(DEFS) \
264        $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) \
265        $(AM_CFLAGS) $(CFLAGS)
266
267AM_V_CFA = $(am__v_CFA_@AM_V@)
268am__v_CFA_ = $(am__v_CFA_@AM_DEFAULT_V@)
269am__v_CFA_0 = @echo "  CFA     " $@;
270am__v_CFA_1 =
271
272# applies to both programs
273UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
274AM_CFLAGS = -O2 -Wall -I$(srcdir) -lrt -pthread
275AM_CFAFLAGS = -quiet -in-tree -nodebug
276AM_UPPFLAGS = -quiet -nodebug -multi
277TOOLSDIR = ${abs_top_srcdir}/tools/
278REPEAT = ${TOOLSDIR}repeat
279STATS = ${TOOLSDIR}stat.py
280repeats = 30
281skipcompile = no
282TIME_FORMAT = "%E"
283PRINT_FORMAT = %20s: #Comments needed for spacing
284CTXSWITCH_DEPEND = loop.run function.run fetch_add.run \
285        ctxswitch-pthread.run ctxswitch-cfa_coroutine.run \
286        ctxswitch-cfa_thread.run ctxswitch-cfa_thread2.run \
287        ctxswitch-upp_coroutine.run ctxswitch-upp_thread.run \
288        ctxswitch-goroutine.run ctxswitch-java_thread.run \
289        $(am__append_1)
290testdir = $(top_srcdir)/tests
291all: all-am
292
293.SUFFIXES:
294.SUFFIXES: .cfa .lo .o
295$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/src/cfa.make $(am__configure_deps)
296        @for dep in $?; do \
297          case '$(am__configure_deps)' in \
298            *$$dep*) \
299              ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
300                && { if test -f $@; then exit 0; else break; fi; }; \
301              exit 1;; \
302          esac; \
303        done; \
304        echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign benchmark/Makefile'; \
305        $(am__cd) $(top_srcdir) && \
306          $(AUTOMAKE) --foreign benchmark/Makefile
307Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
308        @case '$?' in \
309          *config.status*) \
310            cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
311          *) \
312            echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
313            cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
314        esac;
315$(top_srcdir)/src/cfa.make $(am__empty):
316
317$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
318        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
319
320$(top_srcdir)/configure:  $(am__configure_deps)
321        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
322$(ACLOCAL_M4):  $(am__aclocal_m4_deps)
323        cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
324$(am__aclocal_m4_deps):
325
326clean-noinstPROGRAMS:
327        -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
328tags TAGS:
329
330ctags CTAGS:
331
332cscope cscopelist:
333
334
335distdir: $(DISTFILES)
336        @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
337        topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
338        list='$(DISTFILES)'; \
339          dist_files=`for file in $$list; do echo $$file; done | \
340          sed -e "s|^$$srcdirstrip/||;t" \
341              -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
342        case $$dist_files in \
343          */*) $(MKDIR_P) `echo "$$dist_files" | \
344                           sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
345                           sort -u` ;; \
346        esac; \
347        for file in $$dist_files; do \
348          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
349          if test -d $$d/$$file; then \
350            dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
351            if test -d "$(distdir)/$$file"; then \
352              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
353            fi; \
354            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
355              cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
356              find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
357            fi; \
358            cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
359          else \
360            test -f "$(distdir)/$$file" \
361            || cp -p $$d/$$file "$(distdir)/$$file" \
362            || exit 1; \
363          fi; \
364        done
365check-am: all-am
366check: check-am
367all-am: Makefile $(PROGRAMS)
368installdirs:
369install: install-am
370install-exec: install-exec-am
371install-data: install-data-am
372uninstall: uninstall-am
373
374install-am: all-am
375        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
376
377installcheck: installcheck-am
378install-strip:
379        if test -z '$(STRIP)'; then \
380          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
381            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
382              install; \
383        else \
384          $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
385            install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
386            "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'" install; \
387        fi
388mostlyclean-generic:
389
390clean-generic:
391
392distclean-generic:
393        -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
394        -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
395
396maintainer-clean-generic:
397        @echo "This command is intended for maintainers to use"
398        @echo "it deletes files that may require special tools to rebuild."
399clean: clean-am
400
401clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
402
403distclean: distclean-am
404        -rm -f Makefile
405distclean-am: clean-am distclean-generic
406
407dvi: dvi-am
408
409dvi-am:
410
411html: html-am
412
413html-am:
414
415info: info-am
416
417info-am:
418
419install-data-am:
420
421install-dvi: install-dvi-am
422
423install-dvi-am:
424
425install-exec-am:
426
427install-html: install-html-am
428
429install-html-am:
430
431install-info: install-info-am
432
433install-info-am:
434
435install-man:
436
437install-pdf: install-pdf-am
438
439install-pdf-am:
440
441install-ps: install-ps-am
442
443install-ps-am:
444
445installcheck-am:
446
447maintainer-clean: maintainer-clean-am
448        -rm -f Makefile
449maintainer-clean-am: distclean-am maintainer-clean-generic
450
451mostlyclean: mostlyclean-am
452
453mostlyclean-am: mostlyclean-generic
454
455pdf: pdf-am
456
457pdf-am:
458
459ps: ps-am
460
461ps-am:
462
463uninstall-am:
464
465.MAKE: install-am install-strip
466
467.PHONY: all all-am check check-am clean clean-generic \
468        clean-noinstPROGRAMS cscopelist-am ctags-am distclean \
469        distclean-generic distdir dvi dvi-am html html-am info info-am \
470        install install-am install-data install-data-am install-dvi \
471        install-dvi-am install-exec install-exec-am install-html \
472        install-html-am install-info install-info-am install-man \
473        install-pdf install-pdf-am install-ps install-ps-am \
474        install-strip installcheck installcheck-am installdirs \
475        maintainer-clean maintainer-clean-generic mostlyclean \
476        mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
477        uninstall-am
478
479.PRECIOUS: Makefile
480
481
482.cfa.o:
483        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
484        $(CFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
485        $(am__mv) $$depbase.Tpo $$depbase.Po
486
487.cfa.lo:
488        $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\
489        $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
490        $(am__mv) $$depbase.Tpo $$depbase.Plo
491
492.NOTPARALLEL:
493
494all : ctxswitch$(EXEEXT) mutex$(EXEEXT) signal$(EXEEXT) waitfor$(EXEEXT) creation$(EXEEXT)
495
496%.run : %$(EXEEXT) ${REPEAT}
497        @rm -f .result.log
498        @echo "------------------------------------------------------"
499        @echo $<
500        @${REPEAT} ${repeats} ./a.out | tee -a .result.log
501        @${STATS} .result.log
502        @echo "------------------------------------------------------"
503        @rm -f a.out .result.log
504
505%.runquiet :
506        @+make $(basename $@) CFLAGS="-w"
507        @taskset -c 1 ./a.out
508        @rm -f a.out
509
510%.make :
511        @printf "${PRINT_FORMAT}" $(basename $(subst compile-,,$@))
512        @+/usr/bin/time -f ${TIME_FORMAT} make $(basename $@) 2>&1
513
514${REPEAT} :
515        @+make -C ${TOOLSDIR} repeat
516
517jenkins$(EXEEXT):
518        @echo "{"
519        @echo -e '\t"githash": "'${githash}'",'
520        @echo -e '\t"arch": "'   ${arch}   '",'
521@DOifskipcompile@
522        @echo -e '\t"compile": {'
523        @+make compile TIME_FORMAT='%e,' PRINT_FORMAT='\t\t\"%s\" :'
524        @echo -e '\t\t"dummy" : {}'
525        @echo -e '\t},'
526@DOendif@
527        @echo -e '\t"ctxswitch": {'
528        @echo -en '\t\t"coroutine":'
529        @+make ctxswitch-cfa_coroutine.runquiet
530        @echo -en '\t\t,"thread":'
531        @+make ctxswitch-cfa_thread.runquiet
532        @echo -e '\t},'
533        @echo -e '\t"mutex": ['
534        @echo -en '\t\t'
535        @+make mutex-cfa1.runquiet
536        @echo -en '\t\t,'
537        @+make mutex-cfa2.runquiet
538        @echo -e '\t],'
539        @echo -e '\t"scheduling": ['
540        @echo -en '\t\t'
541        @+make signal-cfa1.runquiet
542        @echo -en '\t\t,'
543        @+make signal-cfa2.runquiet
544        @echo -en '\t\t,'
545        @+make waitfor-cfa1.runquiet
546        @echo -en '\t\t,'
547        @+make waitfor-cfa2.runquiet
548        @echo -e '\n\t],'
549        @echo -e '\t"epoch": ' $(shell date +%s)
550        @echo "}"
551
552loop$(EXEEXT):
553        $(COMPILE) -DBENCH_N=5000000000 loop.c
554
555function$(EXEEXT):
556        $(COMPILE) -DBENCH_N=5000000000 function.c
557
558fetch_add$(EXEEXT):
559        $(COMPILE) -DBENCH_N=500000000  fetch_add.c
560
561@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre$(EXEEXT):
562@WITH_LIBFIBRE_TRUE@    @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
563
564@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre2$(EXEEXT):
565@WITH_LIBFIBRE_TRUE@    @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
566
567ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND)
568
569ctxswitch-pthread$(EXEEXT):
570        @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
571
572ctxswitch-cfa_coroutine$(EXEEXT):
573        @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.c
574
575ctxswitch-cfa_thread$(EXEEXT):
576        @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.c
577
578ctxswitch-cfa_thread2$(EXEEXT):
579        @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.c
580
581ctxswitch-upp_coroutine$(EXEEXT):
582        @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
583
584ctxswitch-upp_thread$(EXEEXT):
585        @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
586
587ctxswitch-goroutine$(EXEEXT):
588        @go build -o a.out $(srcdir)/ctxswitch/goroutine.go
589
590ctxswitch-java_thread$(EXEEXT):
591        @javac $(srcdir)/ctxswitch/JavaThread.java
592        @echo "#!/bin/sh" > a.out
593        @echo "cd ctxswitch && java JavaThread" >> a.out
594        @chmod a+x a.out
595
596mutex$(EXEEXT) :\
597        loop.run                        \
598        function.run            \
599        fetch_add.run           \
600        mutex-pthread_lock.run  \
601        mutex-upp.run           \
602        mutex-cfa1.run          \
603        mutex-cfa2.run          \
604        mutex-cfa4.run          \
605        mutex-java_thread.run
606
607mutex-pthread_lock$(EXEEXT):
608        @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c
609
610mutex-upp$(EXEEXT):
611        @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc
612
613mutex-cfa1$(EXEEXT):
614        @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa1.c
615
616mutex-cfa2$(EXEEXT):
617        @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa2.c
618
619mutex-cfa4$(EXEEXT):
620        @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa4.c
621
622mutex-java_thread$(EXEEXT):
623        @javac $(srcdir)/mutex/JavaThread.java
624        @echo "#!/bin/sh" > a.out
625        @echo "cd mutex && java JavaThread" >> a.out
626        @chmod a+x a.out
627
628signal$(EXEEXT) :\
629        signal-pthread_cond.run \
630        signal-upp.run          \
631        signal-cfa1.run         \
632        signal-cfa2.run         \
633        signal-cfa4.run         \
634        signal-java_thread.run
635
636signal-pthread_cond$(EXEEXT):
637        @$(COMPILE)    -DBENCH_N=500000  $(srcdir)/schedint/pthreads.c
638
639signal-upp$(EXEEXT):
640        @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc
641
642signal-cfa1$(EXEEXT):
643        @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa1.c
644
645signal-cfa2$(EXEEXT):
646        @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa2.c
647
648signal-cfa4$(EXEEXT):
649        @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa4.c
650
651signal-java_thread$(EXEEXT):
652        @javac $(srcdir)/schedint/JavaThread.java
653        @echo "#!/bin/sh" > a.out
654        @echo "cd schedint && java JavaThread" >> a.out
655        @chmod a+x a.out
656
657waitfor$(EXEEXT) :\
658        waitfor-upp.run         \
659        waitfor-cfa1.run                \
660        waitfor-cfa2.run                \
661        waitfor-cfa4.run
662
663waitfor-upp$(EXEEXT):
664        @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc
665
666waitfor-cfa1$(EXEEXT):
667        @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa1.c
668
669waitfor-cfa2$(EXEEXT):
670        @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa2.c
671
672waitfor-cfa4$(EXEEXT):
673        @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa4.c
674
675creation$(EXEEXT) :\
676        creation-pthread.run                    \
677        creation-cfa_coroutine.run              \
678        creation-cfa_coroutine_eager.run        \
679        creation-cfa_thread.run                 \
680        creation-upp_coroutine.run              \
681        creation-upp_thread.run                 \
682        creation-goroutine.run                  \
683        creation-java_thread.run
684
685creation-cfa_coroutine$(EXEEXT):
686        @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c
687
688creation-cfa_coroutine_eager$(EXEEXT):
689        @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c
690
691creation-cfa_thread$(EXEEXT):
692        @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.c
693
694creation-upp_coroutine$(EXEEXT):
695        @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc
696
697creation-upp_thread$(EXEEXT):
698        @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc
699
700creation-pthread$(EXEEXT):
701        @$(COMPILE)    -DBENCH_N=250000   $(srcdir)/creation/pthreads.c
702
703creation-goroutine$(EXEEXT):
704        @go build -o a.out $(srcdir)/creation/goroutine.go
705
706creation-java_thread$(EXEEXT):
707        @javac $(srcdir)/creation/JavaThread.java
708        @echo "#!/bin/sh" > a.out
709        @echo "cd creation && java JavaThread" >> a.out
710        @chmod a+x a.out
711
712compile$(EXEEXT) :\
713        compile-array.make      \
714        compile-attributes.make \
715        compile-empty.make      \
716        compile-expression.make \
717        compile-io.make         \
718        compile-monitor.make    \
719        compile-operators.make  \
720        compile-typeof.make
721
722compile-array$(EXEEXT):
723        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.c
724
725compile-attributes$(EXEEXT):
726        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.c
727
728compile-empty$(EXEEXT):
729        @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.c
730
731compile-expression$(EXEEXT):
732        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.c
733
734compile-io$(EXEEXT):
735        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.c
736
737compile-monitor$(EXEEXT):
738        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.c
739
740compile-operators$(EXEEXT):
741        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.c
742
743compile-thread$(EXEEXT):
744        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.c
745
746compile-typeof$(EXEEXT):
747        @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.c
748
749# Tell versions [3.59,3.63) of GNU make to not export all variables.
750# Otherwise a system limit (for SysV at least) may be exceeded.
751.NOEXPORT:
Note: See TracBrowser for help on using the repository browser.