source: benchmark/Makefile.in @ ff1e0f38

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since ff1e0f38 was ff1e0f38, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

configure flags are now propagated properly to libcfa

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