source: benchmark/Makefile.in @ 0c1b566

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexer
Last change on this file since 0c1b566 was 0c1b566, checked in by Thierry Delisle <tdelisle@…>, 4 years ago

Fixed missing foreign options and tentative fix for TOP directories defines

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