Changeset 8e5724e
- Timestamp:
- Nov 29, 2016, 4:47:15 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 148f7290
- Parents:
- 1f44196
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
Makefile.in
r1f44196 r8e5724e 124 124 BACKEND_CC = @BACKEND_CC@ # C compiler used to compile Cforall programs, versus C++ compiler used to build cfa command 125 125 CC = @CC@ 126 CCAS = @CCAS@ 127 CCASDEPMODE = @CCASDEPMODE@ 128 CCASFLAGS = @CCASFLAGS@ 126 129 CCDEPMODE = @CCDEPMODE@ 127 130 CFA_BACKEND_CC = @CFA_BACKEND_CC@ -
aclocal.m4
r1f44196 r8e5724e 59 59 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 60 60 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) 61 62 # Figure out how to run the assembler. -*- Autoconf -*- 63 64 # Copyright (C) 2001, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 65 # 66 # This file is free software; the Free Software Foundation 67 # gives unlimited permission to copy and/or distribute it, 68 # with or without modifications, as long as this notice is preserved. 69 70 # serial 5 71 72 # AM_PROG_AS 73 # ---------- 74 AC_DEFUN([AM_PROG_AS], 75 [# By default we simply use the C compiler to build assembly code. 76 AC_REQUIRE([AC_PROG_CC]) 77 test "${CCAS+set}" = set || CCAS=$CC 78 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS 79 AC_ARG_VAR([CCAS], [assembler compiler command (defaults to CC)]) 80 AC_ARG_VAR([CCASFLAGS], [assembler compiler flags (defaults to CFLAGS)]) 81 _AM_IF_OPTION([no-dependencies],, [_AM_DEPENDENCIES([CCAS])])dnl 82 ]) 61 83 62 84 # AM_AUX_DIR_EXPAND -*- Autoconf -*- -
configure
r1f44196 r8e5724e 616 616 YFLAGS 617 617 YACC 618 am__fastdepCCAS_FALSE 619 am__fastdepCCAS_TRUE 620 CCASDEPMODE 621 CCASFLAGS 622 CCAS 618 623 am__fastdepCC_FALSE 619 624 am__fastdepCC_TRUE … … 733 738 CC 734 739 CFLAGS 740 CCAS 741 CCASFLAGS 735 742 YACC 736 743 YFLAGS … … 1374 1381 CC C compiler command 1375 1382 CFLAGS C compiler flags 1383 CCAS assembler compiler command (defaults to CC) 1384 CCASFLAGS assembler compiler flags (defaults to CFLAGS) 1376 1385 YACC The `Yet Another Compiler Compiler' implementation to use. 1377 1386 Defaults to the first program found out of: `bison -y', `byacc', … … 4503 4512 am__fastdepCC_TRUE='#' 4504 4513 am__fastdepCC_FALSE= 4514 fi 4515 4516 4517 # By default we simply use the C compiler to build assembly code. 4518 4519 test "${CCAS+set}" = set || CCAS=$CC 4520 test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS 4521 4522 4523 4524 depcc="$CCAS" am_compiler_list= 4525 4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 4527 $as_echo_n "checking dependency style of $depcc... " >&6; } 4528 if ${am_cv_CCAS_dependencies_compiler_type+:} false; then : 4529 $as_echo_n "(cached) " >&6 4530 else 4531 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then 4532 # We make a subdir and do the tests there. Otherwise we can end up 4533 # making bogus files that we don't know about and never remove. For 4534 # instance it was reported that on HP-UX the gcc test will end up 4535 # making a dummy file named `D' -- because `-MD' means `put the output 4536 # in D'. 4537 rm -rf conftest.dir 4538 mkdir conftest.dir 4539 # Copy depcomp to subdir because otherwise we won't find it if we're 4540 # using a relative directory. 4541 cp "$am_depcomp" conftest.dir 4542 cd conftest.dir 4543 # We will build objects and dependencies in a subdirectory because 4544 # it helps to detect inapplicable dependency modes. For instance 4545 # both Tru64's cc and ICC support -MD to output dependencies as a 4546 # side effect of compilation, but ICC will put the dependencies in 4547 # the current directory while Tru64 will put them in the object 4548 # directory. 4549 mkdir sub 4550 4551 am_cv_CCAS_dependencies_compiler_type=none 4552 if test "$am_compiler_list" = ""; then 4553 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp` 4554 fi 4555 am__universal=false 4556 4557 4558 for depmode in $am_compiler_list; do 4559 # Setup a source with many dependencies, because some compilers 4560 # like to wrap large dependency lists on column 80 (with \), and 4561 # we should not choose a depcomp mode which is confused by this. 4562 # 4563 # We need to recreate these files for each test, as the compiler may 4564 # overwrite some of them when testing with obscure command lines. 4565 # This happens at least with the AIX C compiler. 4566 : > sub/conftest.c 4567 for i in 1 2 3 4 5 6; do 4568 echo '#include "conftst'$i'.h"' >> sub/conftest.c 4569 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 4570 # Solaris 8's {/usr,}/bin/sh. 4571 touch sub/conftst$i.h 4572 done 4573 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf 4574 4575 # We check with `-c' and `-o' for the sake of the "dashmstdout" 4576 # mode. It turns out that the SunPro C++ compiler does not properly 4577 # handle `-M -o', and we need to detect this. Also, some Intel 4578 # versions had trouble with output in subdirs 4579 am__obj=sub/conftest.${OBJEXT-o} 4580 am__minus_obj="-o $am__obj" 4581 case $depmode in 4582 gcc) 4583 # This depmode causes a compiler race in universal mode. 4584 test "$am__universal" = false || continue 4585 ;; 4586 nosideeffect) 4587 # after this tag, mechanisms are not by side-effect, so they'll 4588 # only be used when explicitly requested 4589 if test "x$enable_dependency_tracking" = xyes; then 4590 continue 4591 else 4592 break 4593 fi 4594 ;; 4595 msvc7 | msvc7msys | msvisualcpp | msvcmsys) 4596 # This compiler won't grok `-c -o', but also, the minuso test has 4597 # not run yet. These depmodes are late enough in the game, and 4598 # so weak that their functioning should not be impacted. 4599 am__obj=conftest.${OBJEXT-o} 4600 am__minus_obj= 4601 ;; 4602 none) break ;; 4603 esac 4604 if depmode=$depmode \ 4605 source=sub/conftest.c object=$am__obj \ 4606 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \ 4607 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \ 4608 >/dev/null 2>conftest.err && 4609 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 && 4610 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 && 4611 grep $am__obj sub/conftest.Po > /dev/null 2>&1 && 4612 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 4613 # icc doesn't choke on unknown options, it will just issue warnings 4614 # or remarks (even with -Werror). So we grep stderr for any message 4615 # that says an option was ignored or not supported. 4616 # When given -MP, icc 7.0 and 7.1 complain thusly: 4617 # icc: Command line warning: ignoring option '-M'; no argument required 4618 # The diagnosis changed in icc 8.0: 4619 # icc: Command line remark: option '-MP' not supported 4620 if (grep 'ignoring option' conftest.err || 4621 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 4622 am_cv_CCAS_dependencies_compiler_type=$depmode 4623 break 4624 fi 4625 fi 4626 done 4627 4628 cd .. 4629 rm -rf conftest.dir 4630 else 4631 am_cv_CCAS_dependencies_compiler_type=none 4632 fi 4633 4634 fi 4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5 4636 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; } 4637 CCASDEPMODE=depmode=$am_cv_CCAS_dependencies_compiler_type 4638 4639 if 4640 test "x$enable_dependency_tracking" != xno \ 4641 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3; then 4642 am__fastdepCCAS_TRUE= 4643 am__fastdepCCAS_FALSE='#' 4644 else 4645 am__fastdepCCAS_TRUE='#' 4646 am__fastdepCCAS_FALSE= 4505 4647 fi 4506 4648 … … 5990 6132 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then 5991 6133 as_fn_error $? "conditional \"am__fastdepCC\" was never defined. 6134 Usually this means the macro was only invoked conditionally." "$LINENO" 5 6135 fi 6136 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then 6137 as_fn_error $? "conditional \"am__fastdepCCAS\" was never defined. 5992 6138 Usually this means the macro was only invoked conditionally." "$LINENO" 5 5993 6139 fi -
configure.ac
r1f44196 r8e5724e 91 91 AC_PROG_CXX 92 92 AC_PROG_CC 93 AM_PROG_AS 93 94 AM_PROG_CC_C_O # deprecated 94 95 # These are often not installed and people miss seeing the "no", so stop the configure. -
src/Makefile.in
r1f44196 r8e5724e 259 259 BACKEND_CC = @BACKEND_CC@ 260 260 CC = @CC@ 261 CCAS = @CCAS@ 262 CCASDEPMODE = @CCASDEPMODE@ 263 CCASFLAGS = @CCASFLAGS@ 261 264 CCDEPMODE = @CCDEPMODE@ 262 265 CFA_BACKEND_CC = @CFA_BACKEND_CC@ -
src/driver/Makefile.in
r1f44196 r8e5724e 92 92 BACKEND_CC = @BACKEND_CC@ 93 93 CC = @CC@ 94 CCAS = @CCAS@ 95 CCASDEPMODE = @CCASDEPMODE@ 96 CCASFLAGS = @CCASFLAGS@ 94 97 CCDEPMODE = @CCDEPMODE@ 95 98 CFA_BACKEND_CC = @CFA_BACKEND_CC@ -
src/examples/Makefile.in
r1f44196 r8e5724e 101 101 BACKEND_CC = @BACKEND_CC@ 102 102 CC = @CFA_BINDIR@/cfa 103 CCAS = @CCAS@ 104 CCASDEPMODE = @CCASDEPMODE@ 105 CCASFLAGS = @CCASFLAGS@ 103 106 CCDEPMODE = @CCDEPMODE@ 104 107 CFA_BACKEND_CC = @CFA_BACKEND_CC@ -
src/libcfa/Makefile.am
r1f44196 r8e5724e 53 53 ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -c -o $@ $< 54 54 55 CFLAGS = -quiet -no-include-stdhdr -g -Wall -Wno-unused-function @CFA_FLAGS@ -B${abs_top_srcdir}/src/driver -XCFA -t # TEMPORARY: does not build with -O2 55 CFLAGS = \ 56 -quiet \ 57 -no-include-stdhdr \ 58 -g \ 59 -Wall \ 60 -Wno-unused-function \ 61 @CFA_FLAGS@ \ 62 -B${abs_top_srcdir}/src/driver \ 63 -XCFA \ 64 -t \ 65 -D__CFA_DEBUG__ \ 66 -I${abs_top_srcdir}/src/libcfa/libhdr \ 67 # TEMPORARY: does not build with -O2 56 68 CC = ${abs_top_srcdir}/src/driver/cfa 57 69 … … 66 78 ${libobjs} : ${abs_top_srcdir}/src/driver/cfa-cpp ${cfalib_DATA} # add dependency to cfa-cpp so all libraries are rebuilt with new translator 67 79 68 libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c} 80 libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c} concurrency/CtxSwitch-x86_64.S 69 81 70 82 stdhdr = ${shell echo stdhdr/*} -
src/libcfa/Makefile.in
r1f44196 r8e5724e 94 94 rational.$(OBJEXT) assert.$(OBJEXT) \ 95 95 containers/vector.$(OBJEXT) concurrency/threads.$(OBJEXT) 96 am_libcfa_a_OBJECTS = libcfa-prelude.$(OBJEXT) $(am__objects_1) 96 am_libcfa_a_OBJECTS = libcfa-prelude.$(OBJEXT) $(am__objects_1) \ 97 concurrency/CtxSwitch-x86_64.$(OBJEXT) 97 98 libcfa_a_OBJECTS = $(am_libcfa_a_OBJECTS) 98 99 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir) … … 100 101 am__depfiles_maybe = depfiles 101 102 am__mv = mv -f 103 CPPASCOMPILE = $(CCAS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \ 104 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CCASFLAGS) $(CCASFLAGS) 105 AM_V_CPPAS = $(am__v_CPPAS_@AM_V@) 106 am__v_CPPAS_ = $(am__v_CPPAS_@AM_DEFAULT_V@) 107 am__v_CPPAS_0 = @echo " CPPAS " $@; 102 108 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ 103 109 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) … … 130 136 BACKEND_CC = @BACKEND_CC@ 131 137 CC = ${abs_top_srcdir}/src/driver/cfa 138 CCAS = @CCAS@ 139 CCASDEPMODE = @CCASDEPMODE@ 140 CCASFLAGS = @CCASFLAGS@ 132 141 CCDEPMODE = @CCDEPMODE@ 133 142 CFA_BACKEND_CC = @CFA_BACKEND_CC@ … … 137 146 CFA_LIBDIR = @CFA_LIBDIR@ 138 147 CFA_PREFIX = @CFA_PREFIX@ 139 CFLAGS = -quiet -no-include-stdhdr -g -Wall -Wno-unused-function @CFA_FLAGS@ -B${abs_top_srcdir}/src/driver -XCFA -t # TEMPORARY: does not build with -O2 148 CFLAGS = \ 149 -quiet \ 150 -no-include-stdhdr \ 151 -g \ 152 -Wall \ 153 -Wno-unused-function \ 154 @CFA_FLAGS@ \ 155 -B${abs_top_srcdir}/src/driver \ 156 -XCFA \ 157 -t \ 158 -D__CFA_DEBUG__ \ 159 -I${abs_top_srcdir}/src/libcfa/libhdr \ 160 # TEMPORARY: does not build with -O2 161 140 162 CPP = @CPP@ 141 163 CPPFLAGS = @CPPFLAGS@ … … 238 260 runtimehdrs = concurrency 239 261 libobjs = ${headers:=.o} 240 libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c} 262 libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c} concurrency/CtxSwitch-x86_64.S 241 263 stdhdr = ${shell echo stdhdr/*} 242 264 nobase_include_HEADERS = ${headers} ${stdhdr} … … 245 267 246 268 .SUFFIXES: 247 .SUFFIXES: . c .o .obj269 .SUFFIXES: .S .c .o .obj 248 270 $(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps) 249 271 @for dep in $?; do \ … … 322 344 concurrency/threads.$(OBJEXT): concurrency/$(am__dirstamp) \ 323 345 concurrency/$(DEPDIR)/$(am__dirstamp) 346 concurrency/CtxSwitch-x86_64.$(OBJEXT): concurrency/$(am__dirstamp) \ 347 concurrency/$(DEPDIR)/$(am__dirstamp) 324 348 libcfa.a: $(libcfa_a_OBJECTS) $(libcfa_a_DEPENDENCIES) $(EXTRA_libcfa_a_DEPENDENCIES) 325 349 $(AM_V_at)-rm -f libcfa.a … … 329 353 mostlyclean-compile: 330 354 -rm -f *.$(OBJEXT) 355 -rm -f concurrency/CtxSwitch-x86_64.$(OBJEXT) 331 356 -rm -f concurrency/threads.$(OBJEXT) 332 357 -rm -f containers/vector.$(OBJEXT) … … 344 369 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rational.Po@am__quote@ 345 370 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stdlib.Po@am__quote@ 371 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/CtxSwitch-x86_64.Po@am__quote@ 346 372 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/threads.Po@am__quote@ 347 373 @AMDEP_TRUE@@am__include@ @am__quote@containers/$(DEPDIR)/vector.Po@am__quote@ 374 375 .S.o: 376 @am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\ 377 @am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 378 @am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 379 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 380 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 381 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ $< 382 383 .S.obj: 384 @am__fastdepCCAS_TRUE@ $(AM_V_CPPAS)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.obj$$||'`;\ 385 @am__fastdepCCAS_TRUE@ $(CPPASCOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ `$(CYGPATH_W) '$<'` &&\ 386 @am__fastdepCCAS_TRUE@ $(am__mv) $$depbase.Tpo $$depbase.Po 387 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ $(AM_V_CPPAS)source='$<' object='$@' libtool=no @AMDEPBACKSLASH@ 388 @AMDEP_TRUE@@am__fastdepCCAS_FALSE@ DEPDIR=$(DEPDIR) $(CCASDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 389 @am__fastdepCCAS_FALSE@ $(AM_V_CPPAS@am__nodep@)$(CPPASCOMPILE) -c -o $@ `$(CYGPATH_W) '$<'` 348 390 349 391 .c.o: -
src/tests/Makefile.in
r1f44196 r8e5724e 111 111 BACKEND_CC = @BACKEND_CC@ 112 112 CC = @CFA_BINDIR@/cfa 113 CCAS = @CCAS@ 114 CCASDEPMODE = @CCASDEPMODE@ 115 CCASFLAGS = @CCASFLAGS@ 113 116 CCDEPMODE = @CCDEPMODE@ 114 117 CFA_BACKEND_CC = @CFA_BACKEND_CC@
Note: See TracChangeset
for help on using the changeset viewer.