source: benchmark/Makefile.in @ 38d12e7

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

Adjusted makefiles to use libtool

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