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