source: src/benchmark/Makefile.in @ 6fb1921

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

Removed more dependencies on installed target

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