source: src/benchmark/Makefile.in @ 7fb69f6

aaron-thesisarm-ehcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 7fb69f6 was 7fb69f6, checked in by Thierry Delisle <tdelisle@…>, 5 years ago

Added configure variable for building cfa source in tree

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