source: benchmark/Makefile.in @ 7a7ab42

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

Fixed benchmark makefiles

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