Changes in / [1f690b3:9507ce3]


Ignore:
Files:
2 added
7 edited

Legend:

Unmodified
Added
Removed
  • benchmark/Makefile.am

    r1f690b3 r9507ce3  
    2020include $(top_srcdir)/src/cfa.make
    2121
    22 UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
     22UPPCC = u++
    2323
    2424AM_CFLAGS = -O2 -Wall -I$(srcdir) -lrt -pthread
     
    3434PRINT_FORMAT = %20s: #Comments needed for spacing
    3535
     36#prevent any tests in parallel
    3637.NOTPARALLEL:
    3738
    38 noinst_PROGRAMS =
    39 
     39#make sure automake includes the compile rules for C and C++
     40EXTRA_PROGRAMS = dummy
     41dummy_SOURCES = c.c cxx.cpp
     42
     43## =========================================================================================================
    4044all : ctxswitch$(EXEEXT) mutex$(EXEEXT) signal$(EXEEXT) waitfor$(EXEEXT) creation$(EXEEXT)
    4145
     
    4751        @${STATS} .result.log
    4852        @echo "------------------------------------------------------"
    49         @rm -f a.out .result.log
     53        @rm -f a.out .result.log *.class
    5054
    5155%.runquiet :
     
    100104## =========================================================================================================
    101105loop$(EXEEXT):
    102         $(COMPILE) -DBENCH_N=5000000000 loop.c
     106        $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
    103107
    104108function$(EXEEXT):
    105         $(COMPILE) -DBENCH_N=5000000000 function.c
     109        $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c
    106110
    107111fetch_add$(EXEEXT):
    108         $(COMPILE) -DBENCH_N=500000000  fetch_add.c
     112        $(AM_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/fetch_add.c
    109113
    110114## =========================================================================================================
     
    129133
    130134ctxswitch-kos_fibre$(EXEEXT):
    131         @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
     135        $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
    132136
    133137ctxswitch-kos_fibre2$(EXEEXT):
    134         @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
     138        $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
    135139endif
    136140
     
    138142
    139143ctxswitch-pthread$(EXEEXT):
    140         @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
     144        $(AM_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
    141145
    142146ctxswitch-cfa_coroutine$(EXEEXT):
    143         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.c
     147        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.c
    144148
    145149ctxswitch-cfa_thread$(EXEEXT):
    146         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.c
     150        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.c
    147151
    148152ctxswitch-cfa_thread2$(EXEEXT):
    149         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.c
     153        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.c
    150154
    151155ctxswitch-upp_coroutine$(EXEEXT):
    152         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
     156        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
    153157
    154158ctxswitch-upp_thread$(EXEEXT):
    155         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
     159        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
    156160
    157161ctxswitch-goroutine$(EXEEXT):
    158         @go build -o a.out $(srcdir)/ctxswitch/goroutine.go
     162        $(AM_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go
    159163
    160164ctxswitch-java_thread$(EXEEXT):
    161         @javac $(srcdir)/ctxswitch/JavaThread.java
     165        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
    162166        @echo "#!/bin/sh" > a.out
    163         @echo "cd ctxswitch && java JavaThread" >> a.out
     167        @echo "java JavaThread" >> a.out
    164168        @chmod a+x a.out
    165169
     
    177181
    178182mutex-pthread_lock$(EXEEXT):
    179         @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c
     183        $(AM_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c
    180184
    181185mutex-upp$(EXEEXT):
    182         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc
     186        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc
    183187
    184188mutex-cfa1$(EXEEXT):
    185         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa1.c
     189        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa1.c
    186190
    187191mutex-cfa2$(EXEEXT):
    188         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa2.c
     192        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa2.c
    189193
    190194mutex-cfa4$(EXEEXT):
    191         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa4.c
     195        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa4.c
    192196
    193197mutex-java_thread$(EXEEXT):
    194         @javac $(srcdir)/mutex/JavaThread.java
     198        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
    195199        @echo "#!/bin/sh" > a.out
    196         @echo "cd mutex && java JavaThread" >> a.out
     200        @echo "java JavaThread" >> a.out
    197201        @chmod a+x a.out
    198202
     
    207211
    208212signal-pthread_cond$(EXEEXT):
    209         @$(COMPILE)    -DBENCH_N=500000  $(srcdir)/schedint/pthreads.c
     213        $(AM_V_CC)$(COMPILE)    -DBENCH_N=500000  $(srcdir)/schedint/pthreads.c
    210214
    211215signal-upp$(EXEEXT):
    212         @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc
     216        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc
    213217
    214218signal-cfa1$(EXEEXT):
    215         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa1.c
     219        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa1.c
    216220
    217221signal-cfa2$(EXEEXT):
    218         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa2.c
     222        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa2.c
    219223
    220224signal-cfa4$(EXEEXT):
    221         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa4.c
     225        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa4.c
    222226
    223227signal-java_thread$(EXEEXT):
    224         @javac $(srcdir)/schedint/JavaThread.java
     228        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
    225229        @echo "#!/bin/sh" > a.out
    226         @echo "cd schedint && java JavaThread" >> a.out
     230        @echo "java JavaThread" >> a.out
    227231        @chmod a+x a.out
    228232
     
    236240
    237241waitfor-upp$(EXEEXT):
    238         @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc
     242        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc
    239243
    240244waitfor-cfa1$(EXEEXT):
    241         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa1.c
     245        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa1.c
    242246
    243247waitfor-cfa2$(EXEEXT):
    244         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa2.c
     248        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa2.c
    245249
    246250waitfor-cfa4$(EXEEXT):
    247         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa4.c
     251        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa4.c
    248252
    249253## =========================================================================================================
     
    259263
    260264creation-cfa_coroutine$(EXEEXT):
    261         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c
     265        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c
    262266
    263267creation-cfa_coroutine_eager$(EXEEXT):
    264         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c
     268        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c
    265269
    266270creation-cfa_thread$(EXEEXT):
    267         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.c
     271        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.c
    268272
    269273creation-upp_coroutine$(EXEEXT):
    270         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc
     274        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc
    271275
    272276creation-upp_thread$(EXEEXT):
    273         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc
     277        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc
    274278
    275279creation-pthread$(EXEEXT):
    276         @$(COMPILE)    -DBENCH_N=250000   $(srcdir)/creation/pthreads.c
     280        $(AM_V_CC)$(COMPILE)    -DBENCH_N=250000   $(srcdir)/creation/pthreads.c
    277281
    278282creation-goroutine$(EXEEXT):
    279         @go build -o a.out $(srcdir)/creation/goroutine.go
     283        $(AM_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go
    280284
    281285creation-java_thread$(EXEEXT):
    282         @javac $(srcdir)/creation/JavaThread.java
     286        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
    283287        @echo "#!/bin/sh" > a.out
    284         @echo "cd creation && java JavaThread" >> a.out
     288        @echo "java JavaThread" >> a.out
    285289        @chmod a+x a.out
    286290
     
    301305
    302306compile-array$(EXEEXT):
    303         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.c
     307        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.c
    304308
    305309compile-attributes$(EXEEXT):
    306         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.c
     310        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.c
    307311
    308312compile-empty$(EXEEXT):
    309         @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.c
     313        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.c
    310314
    311315compile-expression$(EXEEXT):
    312         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.c
     316        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.c
    313317
    314318compile-io$(EXEEXT):
    315         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.c
     319        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.c
    316320
    317321compile-monitor$(EXEEXT):
    318         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.c
     322        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.c
    319323
    320324compile-operators$(EXEEXT):
    321         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.c
     325        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.c
    322326
    323327compile-thread$(EXEEXT):
    324         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.c
     328        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.c
    325329
    326330compile-typeof$(EXEEXT):
    327         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.c
    328 
     331        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.c
     332
  • benchmark/Makefile.in

    r1f690b3 r9507ce3  
    1717######################## -*- Mode: Makefile-Automake -*- ######################
    1818###############################################################################
    19 
    2019VPATH = @srcdir@
    2120am__is_gnu_make = { \
     
    9291build_triplet = @build@
    9392host_triplet = @host@
    94 noinst_PROGRAMS =
     93EXTRA_PROGRAMS = dummy$(EXEEXT)
    9594@WITH_LIBFIBRE_TRUE@am__append_1 = \
    9695@WITH_LIBFIBRE_TRUE@    ctxswitch-kos_fibre.run  \
     
    108107CONFIG_CLEAN_FILES =
    109108CONFIG_CLEAN_VPATH_FILES =
    110 PROGRAMS = $(noinst_PROGRAMS)
     109am_dummy_OBJECTS = c.$(OBJEXT) cxx.$(OBJEXT)
     110dummy_OBJECTS = $(am_dummy_OBJECTS)
     111dummy_LDADD = $(LDADD)
    111112AM_V_P = $(am__v_P_@AM_V@)
    112113am__v_P_ = $(am__v_P_@AM_DEFAULT_V@)
     
    121122am__v_at_0 = @
    122123am__v_at_1 =
    123 SOURCES =
    124 DIST_SOURCES =
     124DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
     125depcomp = $(SHELL) $(top_srcdir)/automake/depcomp
     126am__depfiles_maybe = depfiles
     127am__mv = mv -f
     128COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
     129        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
     130AM_V_CC = $(am__v_CC_@AM_V@)
     131am__v_CC_ = $(am__v_CC_@AM_DEFAULT_V@)
     132am__v_CC_0 = @echo "  CC      " $@;
     133am__v_CC_1 =
     134CCLD = $(CC)
     135LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
     136AM_V_CCLD = $(am__v_CCLD_@AM_V@)
     137am__v_CCLD_ = $(am__v_CCLD_@AM_DEFAULT_V@)
     138am__v_CCLD_0 = @echo "  CCLD    " $@;
     139am__v_CCLD_1 =
     140CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
     141        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
     142AM_V_CXX = $(am__v_CXX_@AM_V@)
     143am__v_CXX_ = $(am__v_CXX_@AM_DEFAULT_V@)
     144am__v_CXX_0 = @echo "  CXX     " $@;
     145am__v_CXX_1 =
     146CXXLD = $(CXX)
     147CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) \
     148        -o $@
     149AM_V_CXXLD = $(am__v_CXXLD_@AM_V@)
     150am__v_CXXLD_ = $(am__v_CXXLD_@AM_DEFAULT_V@)
     151am__v_CXXLD_0 = @echo "  CXXLD   " $@;
     152am__v_CXXLD_1 =
     153SOURCES = $(dummy_SOURCES)
     154DIST_SOURCES = $(dummy_SOURCES)
    125155am__can_run_installinfo = \
    126156  case $$AM_UPDATE_INFO_DIR in \
     
    129159  esac
    130160am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP)
    131 am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/src/cfa.make \
    132         compile
     161# Read a list of newline-separated strings from the standard input,
     162# and print each of them once, without duplicates.  Input order is
     163# *not* preserved.
     164am__uniquify_input = $(AWK) '\
     165  BEGIN { nonempty = 0; } \
     166  { items[$$0] = 1; nonempty = 1; } \
     167  END { if (nonempty) { for (i in items) print i; }; } \
     168'
     169# Make sure the list of sources is unique.  This is necessary because,
     170# e.g., the same source file might be shared among _SOURCES variables
     171# for different programs/libraries.
     172am__define_uniq_tagged_files = \
     173  list='$(am__tagged_files)'; \
     174  unique=`for i in $$list; do \
     175    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
     176  done | $(am__uniquify_input)`
     177ETAGS = etags
     178CTAGS = ctags
     179am__DIST_COMMON = $(srcdir)/Makefile.in $(top_srcdir)/automake/depcomp \
     180        $(top_srcdir)/src/cfa.make compile
    133181DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
    134182ACLOCAL = @ACLOCAL@
     
    269317am__v_CFA_0 = @echo "  CFA     " $@;
    270318am__v_CFA_1 =
     319AM_V_JAVAC = $(am__v_JAVAC_@AM_V@)
     320am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@)
     321am__v_JAVAC_0 = @echo "  JAVAC   " $@;
     322am__v_JAVAC_1 =
     323AM_V_GOC = $(am__v_GOC_@AM_V@)
     324am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@)
     325am__v_GOC_0 = @echo "  GOC     " $@;
     326am__v_GOC_1 =
     327UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
     328AM_V_UPP = $(am__v_UPP_@AM_V@)
     329am__v_UPP_ = $(am__v_UPP_@AM_DEFAULT_V@)
     330am__v_UPP_0 = @echo "  UPP     " $@;
     331am__v_UPP_1 =
    271332
    272333# applies to both programs
    273 UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
     334UPPCC = u++
    274335AM_CFLAGS = -O2 -Wall -I$(srcdir) -lrt -pthread
    275336AM_CFAFLAGS = -quiet -in-tree -nodebug
     
    282343TIME_FORMAT = "%E"
    283344PRINT_FORMAT = %20s: #Comments needed for spacing
     345dummy_SOURCES = c.c cxx.cpp
    284346CTXSWITCH_DEPEND = loop.run function.run fetch_add.run \
    285347        ctxswitch-pthread.run ctxswitch-cfa_coroutine.run \
     
    292354
    293355.SUFFIXES:
    294 .SUFFIXES: .cfa .lo .o
     356.SUFFIXES: .c .cfa .cpp .lo .o .obj
    295357$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/src/cfa.make $(am__configure_deps)
    296358        @for dep in $?; do \
     
    324386$(am__aclocal_m4_deps):
    325387
    326 clean-noinstPROGRAMS:
    327         -test -z "$(noinst_PROGRAMS)" || rm -f $(noinst_PROGRAMS)
    328 tags TAGS:
    329 
    330 ctags CTAGS:
    331 
    332 cscope cscopelist:
    333 
     388dummy$(EXEEXT): $(dummy_OBJECTS) $(dummy_DEPENDENCIES) $(EXTRA_dummy_DEPENDENCIES)
     389        @rm -f dummy$(EXEEXT)
     390        $(AM_V_CXXLD)$(CXXLINK) $(dummy_OBJECTS) $(dummy_LDADD) $(LIBS)
     391
     392mostlyclean-compile:
     393        -rm -f *.$(OBJEXT)
     394
     395distclean-compile:
     396        -rm -f *.tab.c
     397
     398@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/c.Po@am__quote@
     399@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cxx.Po@am__quote@
     400
     401.c.o:
     402@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
     403@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     404@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
     405@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     406@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     407@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ $<
     408
     409.c.obj:
     410@am__fastdepCC_TRUE@    $(AM_V_CC)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
     411@am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
     412@am__fastdepCC_TRUE@    $(am__mv) $$depbase.Tpo $$depbase.Po
     413@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     414@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     415@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(COMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     416
     417.cpp.o:
     418@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
     419@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
     420@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
     421@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     422@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     423@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ $<
     424
     425.cpp.obj:
     426@am__fastdepCXX_TRUE@   $(AM_V_CXX)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\
     427@am__fastdepCXX_TRUE@   $(CXXCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\
     428@am__fastdepCXX_TRUE@   $(am__mv) $$depbase.Tpo $$depbase.Po
     429@AMDEP_TRUE@@am__fastdepCXX_FALSE@      $(AM_V_CXX)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
     430@AMDEP_TRUE@@am__fastdepCXX_FALSE@      DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     431@am__fastdepCXX_FALSE@  $(AM_V_CXX@am__nodep@)$(CXXCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'`
     432
     433ID: $(am__tagged_files)
     434        $(am__define_uniq_tagged_files); mkid -fID $$unique
     435tags: tags-am
     436TAGS: tags
     437
     438tags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
     439        set x; \
     440        here=`pwd`; \
     441        $(am__define_uniq_tagged_files); \
     442        shift; \
     443        if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
     444          test -n "$$unique" || unique=$$empty_fix; \
     445          if test $$# -gt 0; then \
     446            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     447              "$$@" $$unique; \
     448          else \
     449            $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
     450              $$unique; \
     451          fi; \
     452        fi
     453ctags: ctags-am
     454
     455CTAGS: ctags
     456ctags-am: $(TAGS_DEPENDENCIES) $(am__tagged_files)
     457        $(am__define_uniq_tagged_files); \
     458        test -z "$(CTAGS_ARGS)$$unique" \
     459          || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
     460             $$unique
     461
     462GTAGS:
     463        here=`$(am__cd) $(top_builddir) && pwd` \
     464          && $(am__cd) $(top_srcdir) \
     465          && gtags -i $(GTAGS_ARGS) "$$here"
     466cscopelist: cscopelist-am
     467
     468cscopelist-am: $(am__tagged_files)
     469        list='$(am__tagged_files)'; \
     470        case "$(srcdir)" in \
     471          [\\/]* | ?:[\\/]*) sdir="$(srcdir)" ;; \
     472          *) sdir=$(subdir)/$(srcdir) ;; \
     473        esac; \
     474        for i in $$list; do \
     475          if test -f "$$i"; then \
     476            echo "$(subdir)/$$i"; \
     477          else \
     478            echo "$$sdir/$$i"; \
     479          fi; \
     480        done >> $(top_builddir)/cscope.files
     481
     482distclean-tags:
     483        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
    334484
    335485distdir: $(DISTFILES)
     
    365515check-am: all-am
    366516check: check-am
    367 all-am: Makefile $(PROGRAMS)
     517all-am: Makefile
    368518installdirs:
    369519install: install-am
     
    399549clean: clean-am
    400550
    401 clean-am: clean-generic clean-noinstPROGRAMS mostlyclean-am
     551clean-am: clean-generic mostlyclean-am
    402552
    403553distclean: distclean-am
     554        -rm -rf ./$(DEPDIR)
    404555        -rm -f Makefile
    405 distclean-am: clean-am distclean-generic
     556distclean-am: clean-am distclean-compile distclean-generic \
     557        distclean-tags
    406558
    407559dvi: dvi-am
     
    446598
    447599maintainer-clean: maintainer-clean-am
     600        -rm -rf ./$(DEPDIR)
    448601        -rm -f Makefile
    449602maintainer-clean-am: distclean-am maintainer-clean-generic
     
    451604mostlyclean: mostlyclean-am
    452605
    453 mostlyclean-am: mostlyclean-generic
     606mostlyclean-am: mostlyclean-compile mostlyclean-generic
    454607
    455608pdf: pdf-am
     
    465618.MAKE: install-am install-strip
    466619
    467 .PHONY: all all-am check check-am clean clean-generic \
    468         clean-noinstPROGRAMS cscopelist-am ctags-am distclean \
    469         distclean-generic distdir dvi dvi-am html html-am info info-am \
    470         install install-am install-data install-data-am install-dvi \
    471         install-dvi-am install-exec install-exec-am install-html \
    472         install-html-am install-info install-info-am install-man \
    473         install-pdf install-pdf-am install-ps install-ps-am \
    474         install-strip installcheck installcheck-am installdirs \
    475         maintainer-clean maintainer-clean-generic mostlyclean \
    476         mostlyclean-generic pdf pdf-am ps ps-am tags-am uninstall \
     620.PHONY: CTAGS GTAGS TAGS all all-am check check-am clean clean-generic \
     621        cscopelist-am ctags ctags-am distclean distclean-compile \
     622        distclean-generic distclean-tags distdir dvi dvi-am html \
     623        html-am info info-am install install-am install-data \
     624        install-data-am install-dvi install-dvi-am install-exec \
     625        install-exec-am install-html install-html-am install-info \
     626        install-info-am install-man install-pdf install-pdf-am \
     627        install-ps install-ps-am install-strip installcheck \
     628        installcheck-am installdirs maintainer-clean \
     629        maintainer-clean-generic mostlyclean mostlyclean-compile \
     630        mostlyclean-generic pdf pdf-am ps ps-am tags tags-am uninstall \
    477631        uninstall-am
    478632
     
    490644        $(am__mv) $$depbase.Tpo $$depbase.Plo
    491645
     646#prevent any tests in parallel
    492647.NOTPARALLEL:
    493648
     
    501656        @${STATS} .result.log
    502657        @echo "------------------------------------------------------"
    503         @rm -f a.out .result.log
     658        @rm -f a.out .result.log *.class
    504659
    505660%.runquiet :
     
    551706
    552707loop$(EXEEXT):
    553         $(COMPILE) -DBENCH_N=5000000000 loop.c
     708        $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/loop.c
    554709
    555710function$(EXEEXT):
    556         $(COMPILE) -DBENCH_N=5000000000 function.c
     711        $(AM_V_CC)$(COMPILE) -DBENCH_N=5000000000 $(srcdir)/function.c
    557712
    558713fetch_add$(EXEEXT):
    559         $(COMPILE) -DBENCH_N=500000000  fetch_add.c
     714        $(AM_V_CC)$(COMPILE) -DBENCH_N=500000000  $(srcdir)/fetch_add.c
    560715
    561716@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre$(EXEEXT):
    562 @WITH_LIBFIBRE_TRUE@    @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
     717@WITH_LIBFIBRE_TRUE@    $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre.cpp  -I$(LIBFIBRE_DIR) -lfibre
    563718
    564719@WITH_LIBFIBRE_TRUE@ctxswitch-kos_fibre2$(EXEEXT):
    565 @WITH_LIBFIBRE_TRUE@    @$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
     720@WITH_LIBFIBRE_TRUE@    $(AM_V_CXX)$(CXXCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/kos_fibre2.cpp -I$(LIBFIBRE_DIR) -lfibre
    566721
    567722ctxswitch$(EXEEXT): $(CTXSWITCH_DEPEND)
    568723
    569724ctxswitch-pthread$(EXEEXT):
    570         @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
     725        $(AM_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/ctxswitch/pthreads.c
    571726
    572727ctxswitch-cfa_coroutine$(EXEEXT):
    573         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.c
     728        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_cor.c
    574729
    575730ctxswitch-cfa_thread$(EXEEXT):
    576         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.c
     731        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd.c
    577732
    578733ctxswitch-cfa_thread2$(EXEEXT):
    579         @$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.c
     734        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/cfa_thrd2.c
    580735
    581736ctxswitch-upp_coroutine$(EXEEXT):
    582         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
     737        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_cor.cc
    583738
    584739ctxswitch-upp_thread$(EXEEXT):
    585         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
     740        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/ctxswitch/upp_thrd.cc
    586741
    587742ctxswitch-goroutine$(EXEEXT):
    588         @go build -o a.out $(srcdir)/ctxswitch/goroutine.go
     743        $(AM_V_GOC)go build -o a.out $(srcdir)/ctxswitch/goroutine.go
    589744
    590745ctxswitch-java_thread$(EXEEXT):
    591         @javac $(srcdir)/ctxswitch/JavaThread.java
     746        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/ctxswitch/JavaThread.java
    592747        @echo "#!/bin/sh" > a.out
    593         @echo "cd ctxswitch && java JavaThread" >> a.out
     748        @echo "java JavaThread" >> a.out
    594749        @chmod a+x a.out
    595750
     
    606761
    607762mutex-pthread_lock$(EXEEXT):
    608         @$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c
     763        $(AM_V_CC)$(COMPILE)    -DBENCH_N=50000000 $(srcdir)/mutex/pthreads.c
    609764
    610765mutex-upp$(EXEEXT):
    611         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc
     766        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/mutex/upp.cc
    612767
    613768mutex-cfa1$(EXEEXT):
    614         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa1.c
     769        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa1.c
    615770
    616771mutex-cfa2$(EXEEXT):
    617         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa2.c
     772        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa2.c
    618773
    619774mutex-cfa4$(EXEEXT):
    620         @$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa4.c
     775        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=5000000  $(srcdir)/mutex/cfa4.c
    621776
    622777mutex-java_thread$(EXEEXT):
    623         @javac $(srcdir)/mutex/JavaThread.java
     778        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/mutex/JavaThread.java
    624779        @echo "#!/bin/sh" > a.out
    625         @echo "cd mutex && java JavaThread" >> a.out
     780        @echo "java JavaThread" >> a.out
    626781        @chmod a+x a.out
    627782
     
    635790
    636791signal-pthread_cond$(EXEEXT):
    637         @$(COMPILE)    -DBENCH_N=500000  $(srcdir)/schedint/pthreads.c
     792        $(AM_V_CC)$(COMPILE)    -DBENCH_N=500000  $(srcdir)/schedint/pthreads.c
    638793
    639794signal-upp$(EXEEXT):
    640         @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc
     795        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedint/upp.cc
    641796
    642797signal-cfa1$(EXEEXT):
    643         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa1.c
     798        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa1.c
    644799
    645800signal-cfa2$(EXEEXT):
    646         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa2.c
     801        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa2.c
    647802
    648803signal-cfa4$(EXEEXT):
    649         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa4.c
     804        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedint/cfa4.c
    650805
    651806signal-java_thread$(EXEEXT):
    652         @javac $(srcdir)/schedint/JavaThread.java
     807        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/schedint/JavaThread.java
    653808        @echo "#!/bin/sh" > a.out
    654         @echo "cd schedint && java JavaThread" >> a.out
     809        @echo "java JavaThread" >> a.out
    655810        @chmod a+x a.out
    656811
     
    662817
    663818waitfor-upp$(EXEEXT):
    664         @$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc
     819        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=5000000 $(srcdir)/schedext/upp.cc
    665820
    666821waitfor-cfa1$(EXEEXT):
    667         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa1.c
     822        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa1.c
    668823
    669824waitfor-cfa2$(EXEEXT):
    670         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa2.c
     825        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa2.c
    671826
    672827waitfor-cfa4$(EXEEXT):
    673         @$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa4.c
     828        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=500000  $(srcdir)/schedext/cfa4.c
    674829
    675830creation$(EXEEXT) :\
     
    684839
    685840creation-cfa_coroutine$(EXEEXT):
    686         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c
     841        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c
    687842
    688843creation-cfa_coroutine_eager$(EXEEXT):
    689         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c
     844        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_cor.c
    690845
    691846creation-cfa_thread$(EXEEXT):
    692         @$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.c
     847        $(AM_V_CFA)$(CFACOMPILE) -DBENCH_N=10000000 $(srcdir)/creation/cfa_thrd.c
    693848
    694849creation-upp_coroutine$(EXEEXT):
    695         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc
     850        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_cor.cc
    696851
    697852creation-upp_thread$(EXEEXT):
    698         @$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc
     853        $(AM_V_UPP)$(UPPCOMPILE) -DBENCH_N=50000000 $(srcdir)/creation/upp_thrd.cc
    699854
    700855creation-pthread$(EXEEXT):
    701         @$(COMPILE)    -DBENCH_N=250000   $(srcdir)/creation/pthreads.c
     856        $(AM_V_CC)$(COMPILE)    -DBENCH_N=250000   $(srcdir)/creation/pthreads.c
    702857
    703858creation-goroutine$(EXEEXT):
    704         @go build -o a.out $(srcdir)/creation/goroutine.go
     859        $(AM_V_GOC)go build -o a.out $(srcdir)/creation/goroutine.go
    705860
    706861creation-java_thread$(EXEEXT):
    707         @javac $(srcdir)/creation/JavaThread.java
     862        $(AM_V_JAVAC)javac -d $(builddir) $(srcdir)/creation/JavaThread.java
    708863        @echo "#!/bin/sh" > a.out
    709         @echo "cd creation && java JavaThread" >> a.out
     864        @echo "java JavaThread" >> a.out
    710865        @chmod a+x a.out
    711866
     
    721876
    722877compile-array$(EXEEXT):
    723         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.c
     878        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/array.c
    724879
    725880compile-attributes$(EXEEXT):
    726         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.c
     881        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/attributes.c
    727882
    728883compile-empty$(EXEEXT):
    729         @$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.c
     884        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(srcdir)/compile/empty.c
    730885
    731886compile-expression$(EXEEXT):
    732         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.c
     887        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/expression.c
    733888
    734889compile-io$(EXEEXT):
    735         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.c
     890        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/io1.c
    736891
    737892compile-monitor$(EXEEXT):
    738         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.c
     893        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/monitor.c
    739894
    740895compile-operators$(EXEEXT):
    741         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.c
     896        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/operators.c
    742897
    743898compile-thread$(EXEEXT):
    744         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.c
     899        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/concurrent/thread.c
    745900
    746901compile-typeof$(EXEEXT):
    747         @$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.c
     902        $(AM_V_CFA)$(CFACOMPILE) -fsyntax-only -w $(testdir)/typeof.c
    748903
    749904# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • driver/as.cc

    r1f690b3 r9507ce3  
    1 // 
     1//
    22// Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
    33//
    44// The contents of this file are covered under the licence agreement in the
    55// file "LICENCE" distributed with Cforall.
    6 // 
     6//
    77// as.c -- map assembler file, scan for debug information. If found, expand file by one character and insert Cforall
    88//         language code on the N line from the start of the debug information.
    9 // 
     9//
    1010// Author           : Peter A. Buhr
    1111// Created On       : Wed Aug  1 10:49:42 2018
     
    1313// Last Modified On : Sat Sep  8 08:40:16 2018
    1414// Update Count     : 97
    15 // 
     15//
    1616
    1717#include <cstdio>                                                                               // perror
     
    4545
    4646        if ( size ) {                                                                           // cannot map 0 sized file
    47                 char * start = (char *)mmap( NULL, size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0 );
     47                char * start = (char *)mmap( NULL, size + 2, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0 );
    4848                if ( start == (void *)-1 ) { perror( "mmap" ); exit( EXIT_FAILURE ); };
    4949
     
    6565                } // if
    6666
    67                 if ( munmap( start, size ) ) { perror( "munmap" ); exit( EXIT_FAILURE ); }; // update on disk
     67                if ( munmap( start, size + 2 ) ) { perror( "munmap" ); exit( EXIT_FAILURE ); }; // update on disk
    6868        } // if
    6969
  • libcfa/src/Makefile.am

    r1f690b3 r9507ce3  
    6868libdeps = $(join \
    6969        $(addsuffix $(DEPDIR)/ , $(dir $(libobjs) ) ), \
    70         $(notdir ${libobjs:.lo=.Po}) \
     70        $(notdir ${libobjs:.lo=.Plo}) \
    7171)
    7272
    73 -include $(libdeps)
     73include $(libdeps)
     74
     75$(libdeps):
     76        @mkdir -p $(dir $@)
     77        @echo '#dummy' > $@
    7478
    7579prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@
    76         ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@}
     80        ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree @CONFIG_CFAFLAGS@ -XCFA -l ${<} -c -o ${@}
    7781
    7882prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@
    7983        ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \
    80         @CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@}
     84        @CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree @CONFIG_CFAFLAGS@ -XCFA -l ${<} -c -o ${@}
    8185
    8286
  • libcfa/src/Makefile.in

    r1f690b3 r9507ce3  
    407407am__v_CFA_0 = @echo "  CFA     " $@;
    408408am__v_CFA_1 =
     409AM_V_JAVAC = $(am__v_JAVAC_@AM_V@)
     410am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@)
     411am__v_JAVAC_0 = @echo "  JAVAC   " $@;
     412am__v_JAVAC_1 =
     413AM_V_GOC = $(am__v_GOC_@AM_V@)
     414am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@)
     415am__v_GOC_0 = @echo "  GOC     " $@;
     416am__v_GOC_1 =
     417UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
     418AM_V_UPP = $(am__v_UPP_@AM_V@)
     419am__v_UPP_ = $(am__v_UPP_@AM_DEFAULT_V@)
     420am__v_UPP_0 = @echo "  UPP     " $@;
     421am__v_UPP_1 =
    409422lib_LTLIBRARIES = libcfa.la
    410423
     
    453466libdeps = $(join \
    454467        $(addsuffix $(DEPDIR)/ , $(dir $(libobjs) ) ), \
    455         $(notdir ${libobjs:.lo=.Po}) \
     468        $(notdir ${libobjs:.lo=.Plo}) \
    456469)
    457470
     
    909922$(libobjs) : @CFACC@ @CFACPP@ prelude.cfa
    910923
    911 -include $(libdeps)
     924include $(libdeps)
     925
     926$(libdeps):
     927        @mkdir -p $(dir $@)
     928        @echo '#dummy' > $@
    912929
    913930prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@
    914         ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@}
     931        ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree @CONFIG_CFAFLAGS@ -XCFA -l ${<} -c -o ${@}
    915932
    916933prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@
    917934        ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \
    918         @CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@}
     935        @CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree @CONFIG_CFAFLAGS@ -XCFA -l ${<} -c -o ${@}
    919936
    920937#----------------------------------------------------------------------------------------------------------------
  • libcfa/src/bits/locks.hfa

    r1f690b3 r9507ce3  
    3737#endif
    3838
    39 #if defined( __i386 ) || defined( __x86_64 ) || defined( __ARM_ARCH )
    40         // Intel recommendation
    41         #define __ALIGN__ __attribute__(( aligned (128) ))
    42 #elif defined( __sparc )
    43         #define __ALIGN__ CALIGN
    44 #else
    45         #error unsupported architecture
    46 #endif
    47 
    4839struct __spinlock_t {
    4940        // Wrap in struct to prevent false sharing with debug info
    50         struct {
    51                 // Align lock on 128-bit boundary
    52                 __ALIGN__ volatile bool lock;
    53         };
     41        volatile bool lock;
    5442        #ifdef __CFA_DEBUG__
    5543                // previous function to acquire the lock
     
    5846                void* prev_thrd;
    5947        #endif
    60 } __ALIGN__;
     48};
    6149
    6250#ifdef __cforall
  • src/cfa.make

    r1f690b3 r9507ce3  
    2121        $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\
    2222        $(am__mv) $$depbase.Tpo $$depbase.Plo
     23
     24AM_V_JAVAC = $(am__v_JAVAC_@AM_V@)
     25am__v_JAVAC_ = $(am__v_JAVAC_@AM_DEFAULT_V@)
     26am__v_JAVAC_0 = @echo "  JAVAC   " $@;
     27am__v_JAVAC_1 =
     28
     29AM_V_GOC = $(am__v_GOC_@AM_V@)
     30am__v_GOC_ = $(am__v_GOC_@AM_DEFAULT_V@)
     31am__v_GOC_0 = @echo "  GOC     " $@;
     32am__v_GOC_1 =
     33
     34
     35UPPCOMPILE = $(UPPCC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_UPPFLAGS) $(UPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(AM_CFLAGS) $(CFLAGS)
     36
     37AM_V_UPP = $(am__v_UPP_@AM_V@)
     38am__v_UPP_ = $(am__v_UPP_@AM_DEFAULT_V@)
     39am__v_UPP_0 = @echo "  UPP     " $@;
     40am__v_UPP_1 =
Note: See TracChangeset for help on using the changeset viewer.