source: src/benchmark/Makefile.in @ bf5a6477

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

Converted missing makefile to use CFACC as the compiler

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