source: src/benchmark/Makefile.in @ 944a90f

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

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

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