source: src/benchmark/Makefile.in @ 90cedbdd

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprnew-envno_listpersistent-indexerpthread-emulationqualifiedEnumwith_gc
Last change on this file since 90cedbdd was d885a58, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Added 3 control benchmarks to ctx-switch

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