- Timestamp:
- Sep 25, 2018, 4:43:25 PM (6 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 2725882
- Parents:
- 6d44da1
- Location:
- libcfa
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/Makefile.in
r6d44da1 rc6bbcdb 236 236 CFA_NAME = @CFA_NAME@ 237 237 CFA_PREFIX = @CFA_PREFIX@ 238 CFA_VERSION = @CFA_VERSION@ 238 239 CFLAGS = @CFLAGS@ 239 240 CONFIGURATION = @CONFIGURATION@ -
libcfa/configure
r6d44da1 rc6bbcdb 709 709 CFACPP 710 710 CFACC 711 CFA_VERSION 711 712 DRIVER_DIR 712 713 CONFIGURATION … … 799 800 CONFIGURATION 800 801 DRIVER_DIR 802 CFA_VERSION 801 803 CC 802 804 CFLAGS … … 1473 1475 deubg, nodebug, nolib (prelude-only) 1474 1476 DRIVER_DIR The path to the cforall driver directory 1477 CFA_VERSION The long version of cfa 1475 1478 CC C compiler command 1476 1479 CFLAGS C compiler flags … … 2932 2935 2933 2936 2937 2934 2938 CFACC=${DRIVER_DIR}cfa 2935 2939 CFACPP=${DRIVER_DIR}cfa-cpp 2940 2936 2941 2937 2942 -
libcfa/configure.ac
r6d44da1 rc6bbcdb 22 22 AC_ARG_VAR(CONFIGURATION, [The configuration to use when building libcfa, options are: deubg, nodebug, nolib (prelude-only)]) 23 23 AC_ARG_VAR(DRIVER_DIR, [The path to the cforall driver directory]) 24 AC_ARG_VAR(CFA_VERSION, [The long version of cfa]) 24 25 25 26 CFACC=${DRIVER_DIR}cfa … … 27 28 AC_SUBST(CFACC) 28 29 AC_SUBST(CFACPP) 30 AC_SUBST(CFA_VERSION) 29 31 30 32 #============================================================================== -
libcfa/prelude/Makefile.in
r6d44da1 rc6bbcdb 179 179 CFA_NAME = @CFA_NAME@ 180 180 CFA_PREFIX = @CFA_PREFIX@ 181 CFA_VERSION = @CFA_VERSION@ 181 182 CFLAGS = @CFLAGS@ 182 183 CONFIGURATION = @CONFIGURATION@ … … 302 303 # put into lib for now 303 304 cfalibdir = ${CFA_LIBDIR} 304 <<<<<<< HEAD 305 cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cf bootloader.c 306 noinst_DATA = ../src/prelude.c 305 cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c 307 306 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@ 308 =======309 cfalib_DATA = gcc-builtins.cf builtins.cf extras.cf prelude.cfa bootloader.c310 AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@311 >>>>>>> master312 307 AM_CFAFLAGS = @CONFIG_CFAFLAGS@ 313 308 MOSTLYCLEANFILES = bootloader.c builtins.cf extras.cf gcc-builtins.c gcc-builtins.cf prelude.cfa -
libcfa/src/Makefile.am
r6d44da1 rc6bbcdb 38 38 #---------------------------------------------------------------------------------------------------------------- 39 39 if BUILDLIB 40 headers_nosrc = math.hfa gmp.hfa time_t.hfa bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa 40 41 headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa time.hfa stdlib.hfa common.hfa \ 41 42 containers/maybe.hfa containers/pair.hfa containers/result.hfa containers/vector.hfa 42 43 43 headers_nosrc = math.hfa gmp.hfa time_t.hfa bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa44 45 44 # not all platforms support concurrency, add option do disable it 45 headers_nosrc += concurrency/invoke.h 46 46 headers += concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa concurrency/monitor.hfa concurrency/mutex.hfa 47 47 48 headers_nosrc += concurrency/invoke.h49 50 libobjs = ${headers:.hfa=.lo}51 48 libsrc = startup.cfa interpose.cfa bits/debug.cfa assert.cfa exception.c virtual.c heap.cfa ${headers:.hfa=.cfa} 52 49 … … 77 74 -include $(libdeps) 78 75 79 prelude. lo : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@76 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@ 80 77 ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@} 81 78 79 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@ 80 ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \ 81 @CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@} 82 82 83 83 84 84 #---------------------------------------------------------------------------------------------------------------- 85 85 libcfa_la_SOURCES = prelude.cfa ${libsrc} 86 libcfa_la_LDFLAGS = -version-info @CFA_VERSION@ 86 87 87 88 stdhdr = $(shell find $(srcdir)/stdhdr -type f -printf "%p ") -
libcfa/src/Makefile.in
r6d44da1 rc6bbcdb 135 135 } 136 136 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cfa_includedir)" 137 <<<<<<< HEAD138 137 LTLIBRARIES = $(lib_LTLIBRARIES) 139 138 libcfa_la_LIBADD = 140 am__dirstamp = $(am__leading_dot)dirstamp 141 am__objects_1 = fstream.lo iostream.lo iterator.lo limits.lo \ 142 rational.lo time.lo stdlib.lo common.lo containers/maybe.lo \ 143 containers/pair.lo containers/result.lo containers/vector.lo \ 144 concurrency/coroutine.lo concurrency/thread.lo \ 145 concurrency/kernel.lo concurrency/monitor.lo \ 146 concurrency/mutex.lo 147 am__objects_2 = prelude.lo startup.lo interpose.lo bits/debug.lo \ 148 assert.lo exception.lo virtual.lo heap.lo $(am__objects_1) \ 149 concurrency/CtxSwitch-@ARCHITECTURE@.lo concurrency/alarm.lo \ 150 concurrency/invoke.lo concurrency/preemption.lo 151 am_libcfa_la_OBJECTS = $(am__objects_2) 152 libcfa_la_OBJECTS = $(am_libcfa_la_OBJECTS) 153 AM_V_lt = $(am__v_lt_@AM_V@) 154 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) 155 am__v_lt_0 = --silent 156 am__v_lt_1 = 157 ======= 158 LIBRARIES = $(lib_LIBRARIES) 159 AR = ar 160 AM_V_AR = $(am__v_AR_@AM_V@) 161 am__v_AR_ = $(am__v_AR_@AM_DEFAULT_V@) 162 am__v_AR_0 = @echo " AR " $@; 163 am__v_AR_1 = 164 libcfa_a_AR = $(AR) $(ARFLAGS) 165 libcfa_a_LIBADD = 166 am__libcfa_a_SOURCES_DIST = prelude.cfa startup.cfa interpose.cfa \ 139 am__libcfa_la_SOURCES_DIST = prelude.cfa startup.cfa interpose.cfa \ 167 140 bits/debug.cfa assert.cfa exception.c virtual.c heap.cfa \ 168 141 fstream.cfa iostream.cfa iterator.cfa limits.cfa rational.cfa \ … … 175 148 concurrency/invoke.c concurrency/preemption.cfa 176 149 am__dirstamp = $(am__leading_dot)dirstamp 177 @BUILDLIB_TRUE@am__objects_1 = fstream.$(OBJEXT) iostream.$(OBJEXT) \ 178 @BUILDLIB_TRUE@ iterator.$(OBJEXT) limits.$(OBJEXT) \ 179 @BUILDLIB_TRUE@ rational.$(OBJEXT) time.$(OBJEXT) \ 180 @BUILDLIB_TRUE@ stdlib.$(OBJEXT) common.$(OBJEXT) \ 181 @BUILDLIB_TRUE@ containers/maybe.$(OBJEXT) \ 182 @BUILDLIB_TRUE@ containers/pair.$(OBJEXT) \ 183 @BUILDLIB_TRUE@ containers/result.$(OBJEXT) \ 184 @BUILDLIB_TRUE@ containers/vector.$(OBJEXT) \ 185 @BUILDLIB_TRUE@ concurrency/coroutine.$(OBJEXT) \ 186 @BUILDLIB_TRUE@ concurrency/thread.$(OBJEXT) \ 187 @BUILDLIB_TRUE@ concurrency/kernel.$(OBJEXT) \ 188 @BUILDLIB_TRUE@ concurrency/monitor.$(OBJEXT) \ 189 @BUILDLIB_TRUE@ concurrency/mutex.$(OBJEXT) 190 @BUILDLIB_TRUE@am__objects_2 = startup.$(OBJEXT) interpose.$(OBJEXT) \ 191 @BUILDLIB_TRUE@ bits/debug.$(OBJEXT) assert.$(OBJEXT) \ 192 @BUILDLIB_TRUE@ exception.$(OBJEXT) virtual.$(OBJEXT) \ 193 @BUILDLIB_TRUE@ heap.$(OBJEXT) $(am__objects_1) \ 194 @BUILDLIB_TRUE@ concurrency/CtxSwitch-@ARCHITECTURE@.$(OBJEXT) \ 195 @BUILDLIB_TRUE@ concurrency/alarm.$(OBJEXT) \ 196 @BUILDLIB_TRUE@ concurrency/invoke.$(OBJEXT) \ 197 @BUILDLIB_TRUE@ concurrency/preemption.$(OBJEXT) 198 am_libcfa_a_OBJECTS = prelude.$(OBJEXT) $(am__objects_2) 199 libcfa_a_OBJECTS = $(am_libcfa_a_OBJECTS) 200 >>>>>>> master 150 @BUILDLIB_TRUE@am__objects_1 = fstream.lo iostream.lo iterator.lo \ 151 @BUILDLIB_TRUE@ limits.lo rational.lo time.lo stdlib.lo \ 152 @BUILDLIB_TRUE@ common.lo containers/maybe.lo \ 153 @BUILDLIB_TRUE@ containers/pair.lo containers/result.lo \ 154 @BUILDLIB_TRUE@ containers/vector.lo concurrency/coroutine.lo \ 155 @BUILDLIB_TRUE@ concurrency/thread.lo concurrency/kernel.lo \ 156 @BUILDLIB_TRUE@ concurrency/monitor.lo concurrency/mutex.lo 157 @BUILDLIB_TRUE@am__objects_2 = startup.lo interpose.lo bits/debug.lo \ 158 @BUILDLIB_TRUE@ assert.lo exception.lo virtual.lo heap.lo \ 159 @BUILDLIB_TRUE@ $(am__objects_1) \ 160 @BUILDLIB_TRUE@ concurrency/CtxSwitch-@ARCHITECTURE@.lo \ 161 @BUILDLIB_TRUE@ concurrency/alarm.lo concurrency/invoke.lo \ 162 @BUILDLIB_TRUE@ concurrency/preemption.lo 163 am_libcfa_la_OBJECTS = prelude.lo $(am__objects_2) 164 libcfa_la_OBJECTS = $(am_libcfa_la_OBJECTS) 165 AM_V_lt = $(am__v_lt_@AM_V@) 166 am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@) 167 am__v_lt_0 = --silent 168 am__v_lt_1 = 169 libcfa_la_LINK = $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) \ 170 $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ 171 $(libcfa_la_LDFLAGS) $(LDFLAGS) -o $@ 201 172 AM_V_P = $(am__v_P_@AM_V@) 202 173 am__v_P_ = $(am__v_P_@AM_DEFAULT_V@) … … 243 214 am__v_CCLD_0 = @echo " CCLD " $@; 244 215 am__v_CCLD_1 = 245 <<<<<<< HEAD246 216 SOURCES = $(libcfa_la_SOURCES) 247 DIST_SOURCES = $(libcfa_la_SOURCES) 248 ======= 249 SOURCES = $(libcfa_a_SOURCES) 250 DIST_SOURCES = $(am__libcfa_a_SOURCES_DIST) 251 >>>>>>> master 217 DIST_SOURCES = $(am__libcfa_la_SOURCES_DIST) 252 218 am__can_run_installinfo = \ 253 219 case $$AM_UPDATE_INFO_DIR in \ … … 255 221 *) (install-info --version) >/dev/null 2>&1;; \ 256 222 esac 257 am__nobase_cfa_include_HEADERS_DIST = $ {shell find ${srcdir}/stdhdr \258 -type f -printf "%p " }fstream.hfa iostream.hfa iterator.hfa \223 am__nobase_cfa_include_HEADERS_DIST = $(shell find $(srcdir)/stdhdr \ 224 -type f -printf "%p ") fstream.hfa iostream.hfa iterator.hfa \ 259 225 limits.hfa rational.hfa time.hfa stdlib.hfa common.hfa \ 260 226 containers/maybe.hfa containers/pair.hfa containers/result.hfa \ … … 310 276 CFA_NAME = @CFA_NAME@ 311 277 CFA_PREFIX = @CFA_PREFIX@ 278 CFA_VERSION = @CFA_VERSION@ 312 279 CFLAGS = @CFLAGS@ 313 280 CONFIGURATION = @CONFIGURATION@ … … 429 396 # create object files in directory with source files 430 397 AUTOMAKE_OPTIONS = foreign subdir-objects 431 <<<<<<< HEAD432 398 ACLOCAL_AMFLAGS = -I automake 433 =======434 >>>>>>> master435 399 ARFLAGS = cr 436 400 CFACOMPILE = $(CFACC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CFAFLAGS) $(CFAFLAGS) $(AM_CFLAGS) $(CFLAGS) … … 450 414 # use -no-include-stdhdr to prevent rebuild cycles 451 415 # The built sources must not depend on the installed headers 452 <<<<<<< HEAD 453 AM_CFAFLAGS = -quiet -in-tree -imacros prelude.c -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@ 416 AM_CFAFLAGS = -quiet -in-tree -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@ 454 417 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC @ARCH_FLAGS@ @CONFIG_CFLAGS@ 455 =======456 AM_CFAFLAGS = -quiet -in-tree -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@457 AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@458 >>>>>>> master459 418 AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 419 @BUILDLIB_FALSE@headers_nosrc = 420 421 #---------------------------------------------------------------------------------------------------------------- 422 423 # not all platforms support concurrency, add option do disable it 424 @BUILDLIB_TRUE@headers_nosrc = math.hfa gmp.hfa time_t.hfa \ 425 @BUILDLIB_TRUE@ bits/align.hfa bits/containers.hfa \ 426 @BUILDLIB_TRUE@ bits/defs.hfa bits/debug.hfa bits/locks.hfa \ 427 @BUILDLIB_TRUE@ concurrency/invoke.h 460 428 @BUILDLIB_FALSE@headers = 461 462 #----------------------------------------------------------------------------------------------------------------463 464 # not all platforms support concurrency, add option do disable it465 <<<<<<< HEAD466 headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa \467 rational.hfa time.hfa stdlib.hfa common.hfa \468 containers/maybe.hfa containers/pair.hfa containers/result.hfa \469 containers/vector.hfa concurrency/coroutine.hfa \470 concurrency/thread.hfa concurrency/kernel.hfa \471 concurrency/monitor.hfa concurrency/mutex.hfa472 libobjs = ${headers:.hfa=.lo}473 474 # not all platforms support concurrency, add option do disable it475 libsrc = prelude.c startup.cfa interpose.cfa bits/debug.cfa assert.cfa \476 exception.c virtual.c heap.cfa ${headers:.hfa=.cfa} \477 concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa \478 concurrency/invoke.c concurrency/preemption.cfa479 libcfa_la_SOURCES = ${libsrc}480 stdhdr = $(shell find $(srcdir)/stdhdr -type f -printf "%p ")481 =======482 429 @BUILDLIB_TRUE@headers = fstream.hfa iostream.hfa iterator.hfa \ 483 430 @BUILDLIB_TRUE@ limits.hfa rational.hfa time.hfa stdlib.hfa \ … … 487 434 @BUILDLIB_TRUE@ concurrency/thread.hfa concurrency/kernel.hfa \ 488 435 @BUILDLIB_TRUE@ concurrency/monitor.hfa concurrency/mutex.hfa 489 @BUILDLIB_FALSE@headers_nosrc =490 @BUILDLIB_TRUE@headers_nosrc = math.hfa gmp.hfa time_t.hfa \491 @BUILDLIB_TRUE@ bits/align.hfa bits/containers.hfa \492 @BUILDLIB_TRUE@ bits/defs.hfa bits/debug.hfa bits/locks.hfa \493 @BUILDLIB_TRUE@ concurrency/invoke.h494 436 @BUILDLIB_FALSE@libsrc = 495 437 … … 507 449 508 450 # add dependency of cfa files 509 libobjs = $(addsuffix . o, $(basename $(filter %.cfa,$(libsrc))))451 libobjs = $(addsuffix .lo, $(basename $(filter %.cfa,$(libsrc)))) 510 452 511 453 # .deps inclusion is not done automatically by automake for new languages 512 454 libdeps = $(join \ 513 455 $(addsuffix $(DEPDIR)/ , $(dir $(libobjs) ) ), \ 514 $(notdir ${libobjs:. o=.Po}) \456 $(notdir ${libobjs:.lo=.Po}) \ 515 457 ) 516 458 517 459 518 460 #---------------------------------------------------------------------------------------------------------------- 519 libcfa_ a_SOURCES = prelude.cfa ${libsrc}520 stdhdr = ${shell find ${srcdir}/stdhdr -type f -printf "%p "} 521 >>>>>>> master 461 libcfa_la_SOURCES = prelude.cfa ${libsrc} 462 libcfa_la_LDFLAGS = -version-info @CFA_VERSION@ 463 stdhdr = $(shell find $(srcdir)/stdhdr -type f -printf "%p ") 522 464 cfa_includedir = $(CFA_INCDIR) 523 465 nobase_cfa_include_HEADERS = ${stdhdr} ${headers} ${headers_nosrc} … … 638 580 639 581 libcfa.la: $(libcfa_la_OBJECTS) $(libcfa_la_DEPENDENCIES) $(EXTRA_libcfa_la_DEPENDENCIES) 640 $(AM_V_CCLD)$( LINK) -rpath $(libdir) $(libcfa_la_OBJECTS) $(libcfa_la_LIBADD) $(LIBS)582 $(AM_V_CCLD)$(libcfa_la_LINK) -rpath $(libdir) $(libcfa_la_OBJECTS) $(libcfa_la_LIBADD) $(LIBS) 641 583 642 584 mostlyclean-compile: … … 652 594 -rm -f *.tab.c 653 595 654 <<<<<<< HEAD655 596 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exception.Plo@am__quote@ 656 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/prelude.Plo@am__quote@657 597 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virtual.Plo@am__quote@ 658 598 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/CtxSwitch-@ARCHITECTURE@.Plo@am__quote@ 659 599 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/invoke.Plo@am__quote@ 660 =======661 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/exception.Po@am__quote@662 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/virtual.Po@am__quote@663 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/CtxSwitch-@ARCHITECTURE@.Po@am__quote@664 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/invoke.Po@am__quote@665 >>>>>>> master666 600 667 601 .S.o: … … 969 903 $(CFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 970 904 $(am__mv) $$depbase.Tpo $$depbase.Po 971 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa 972 973 <<<<<<< HEAD 905 974 906 .cfa.lo: 975 907 $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.lo$$||'`;\ 976 908 $(LTCFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 977 909 $(am__mv) $$depbase.Tpo $$depbase.Plo 978 979 #---------------------------------------------------------------------------------------------------------------- 980 # add dependency to cfa-cpp so all libraries are rebuilt with new translator 981 ${libobjs} : ${cfalib_DATA} 982 ======= 910 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa 911 983 912 -include $(libdeps) 984 913 985 914 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@ 986 915 ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@} 987 >>>>>>> master 916 917 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@ 918 ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \ 919 @CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@} 988 920 989 921 #----------------------------------------------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.