source: src/benchmark/Makefile.in@ a2f146ee

ADT aaron-thesis arm-eh ast-experimental cleanup-dtors deferred_resn demangler enum forall-pointer-decay jacob/cs343-translation jenkins-sandbox new-ast new-ast-unique-expr no_list persistent-indexer pthread-emulation qualifiedEnum
Last change on this file since a2f146ee was d3db83c, checked in by Thierry Delisle <tdelisle@…>, 7 years ago

Fix benchmark build

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