Changeset e523b07 for libcfa/src
- Timestamp:
- Sep 21, 2018, 4:09:32 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:
- fcc57ba
- Parents:
- 72b0573
- Location:
- libcfa/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/Makefile.am
r72b0573 re523b07 36 36 37 37 #---------------------------------------------------------------------------------------------------------------- 38 if BUILDLIB 38 39 headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa time.hfa stdlib.hfa common.hfa \ 39 40 containers/maybe.hfa containers/pair.hfa containers/result.hfa containers/vector.hfa 40 41 42 headers_nosrc = math.hfa gmp.hfa time_t.hfa bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa 43 41 44 # not all platforms support concurrency, add option do disable it 42 45 headers += concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa concurrency/monitor.hfa concurrency/mutex.hfa 46 47 headers_nosrc += concurrency/invoke.h 43 48 44 49 libsrc = startup.cfa interpose.cfa bits/debug.cfa assert.cfa exception.c virtual.c heap.cfa ${headers:.hfa=.cfa} … … 46 51 # not all platforms support concurrency, add option do disable it 47 52 libsrc += concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa concurrency/invoke.c concurrency/preemption.cfa 53 else 54 headers = 55 headers_nosrc = 56 libsrc = 57 endif 58 48 59 49 60 #---------------------------------------------------------------------------------------------------------------- 50 61 # add dependency to cfa-cpp so all libraries are rebuilt with new translator 51 #@CFACC@ @CFACPP@ prelude.cf 62 #@CFACC@ @CFACPP@ prelude.cfa 52 63 53 64 # add dependency of cfa files 54 65 libobjs = $(addsuffix .o, $(basename $(filter %.cfa,$(libsrc)))) 55 $(libobjs) : @CFACC@ @CFACPP@ prelude.cf 66 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa 56 67 57 68 … … 64 75 -include $(libdeps) 65 76 66 prelude.o : prelude.cf extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@67 ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} - in-tree -XCFA -l ${<} -c -o ${@}77 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@ 78 ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@} 68 79 69 80 70 81 71 82 #---------------------------------------------------------------------------------------------------------------- 72 libcfa_a_SOURCES = prelude. o${libsrc}83 libcfa_a_SOURCES = prelude.cfa ${libsrc} 73 84 74 85 stdhdr = ${shell find ${srcdir}/stdhdr -type f -printf "%p "} 75 86 76 87 cfa_includedir = $(CFA_INCDIR) 77 nobase_cfa_include_HEADERS = \ 78 ${headers} \ 79 ${stdhdr} \ 80 math.hfa \ 81 gmp.hfa \ 82 time_t.hfa \ 83 bits/align.hfa \ 84 bits/containers.hfa \ 85 bits/defs.hfa \ 86 bits/debug.hfa \ 87 bits/locks.hfa \ 88 concurrency/invoke.h 88 nobase_cfa_include_HEADERS = ${stdhdr} ${headers} ${headers_nosrc} 89 89 90 90 #---------------------------------------------------------------------------------------------------------------- -
libcfa/src/Makefile.in
r72b0573 re523b07 96 96 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \ 97 97 $(ACLOCAL_M4) 98 DIST_COMMON = $(srcdir)/Makefile.am $(nobase_cfa_include_HEADERS)\99 $(am__ DIST_COMMON)98 DIST_COMMON = $(srcdir)/Makefile.am \ 99 $(am__nobase_cfa_include_HEADERS_DIST) $(am__DIST_COMMON) 100 100 mkinstalldirs = $(install_sh) -d 101 101 CONFIG_CLEAN_FILES = … … 137 137 libcfa_a_AR = $(AR) $(ARFLAGS) 138 138 libcfa_a_LIBADD = 139 am__libcfa_a_SOURCES_DIST = prelude.cfa startup.cfa interpose.cfa \ 140 bits/debug.cfa assert.cfa exception.c virtual.c heap.cfa \ 141 fstream.cfa iostream.cfa iterator.cfa limits.cfa rational.cfa \ 142 time.cfa stdlib.cfa common.cfa containers/maybe.cfa \ 143 containers/pair.cfa containers/result.cfa \ 144 containers/vector.cfa concurrency/coroutine.cfa \ 145 concurrency/thread.cfa concurrency/kernel.cfa \ 146 concurrency/monitor.cfa concurrency/mutex.cfa \ 147 concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa \ 148 concurrency/invoke.c concurrency/preemption.cfa 139 149 am__dirstamp = $(am__leading_dot)dirstamp 140 am__objects_1 = fstream.$(OBJEXT) iostream.$(OBJEXT) \ 141 iterator.$(OBJEXT) limits.$(OBJEXT) rational.$(OBJEXT) \ 142 time.$(OBJEXT) stdlib.$(OBJEXT) common.$(OBJEXT) \ 143 containers/maybe.$(OBJEXT) containers/pair.$(OBJEXT) \ 144 containers/result.$(OBJEXT) containers/vector.$(OBJEXT) \ 145 concurrency/coroutine.$(OBJEXT) concurrency/thread.$(OBJEXT) \ 146 concurrency/kernel.$(OBJEXT) concurrency/monitor.$(OBJEXT) \ 147 concurrency/mutex.$(OBJEXT) 148 am__objects_2 = startup.$(OBJEXT) interpose.$(OBJEXT) \ 149 bits/debug.$(OBJEXT) assert.$(OBJEXT) exception.$(OBJEXT) \ 150 virtual.$(OBJEXT) heap.$(OBJEXT) $(am__objects_1) \ 151 concurrency/CtxSwitch-@ARCHITECTURE@.$(OBJEXT) \ 152 concurrency/alarm.$(OBJEXT) concurrency/invoke.$(OBJEXT) \ 153 concurrency/preemption.$(OBJEXT) 154 am_libcfa_a_OBJECTS = $(am__objects_2) 150 @BUILDLIB_TRUE@am__objects_1 = fstream.$(OBJEXT) iostream.$(OBJEXT) \ 151 @BUILDLIB_TRUE@ iterator.$(OBJEXT) limits.$(OBJEXT) \ 152 @BUILDLIB_TRUE@ rational.$(OBJEXT) time.$(OBJEXT) \ 153 @BUILDLIB_TRUE@ stdlib.$(OBJEXT) common.$(OBJEXT) \ 154 @BUILDLIB_TRUE@ containers/maybe.$(OBJEXT) \ 155 @BUILDLIB_TRUE@ containers/pair.$(OBJEXT) \ 156 @BUILDLIB_TRUE@ containers/result.$(OBJEXT) \ 157 @BUILDLIB_TRUE@ containers/vector.$(OBJEXT) \ 158 @BUILDLIB_TRUE@ concurrency/coroutine.$(OBJEXT) \ 159 @BUILDLIB_TRUE@ concurrency/thread.$(OBJEXT) \ 160 @BUILDLIB_TRUE@ concurrency/kernel.$(OBJEXT) \ 161 @BUILDLIB_TRUE@ concurrency/monitor.$(OBJEXT) \ 162 @BUILDLIB_TRUE@ concurrency/mutex.$(OBJEXT) 163 @BUILDLIB_TRUE@am__objects_2 = startup.$(OBJEXT) interpose.$(OBJEXT) \ 164 @BUILDLIB_TRUE@ bits/debug.$(OBJEXT) assert.$(OBJEXT) \ 165 @BUILDLIB_TRUE@ exception.$(OBJEXT) virtual.$(OBJEXT) \ 166 @BUILDLIB_TRUE@ heap.$(OBJEXT) $(am__objects_1) \ 167 @BUILDLIB_TRUE@ concurrency/CtxSwitch-@ARCHITECTURE@.$(OBJEXT) \ 168 @BUILDLIB_TRUE@ concurrency/alarm.$(OBJEXT) \ 169 @BUILDLIB_TRUE@ concurrency/invoke.$(OBJEXT) \ 170 @BUILDLIB_TRUE@ concurrency/preemption.$(OBJEXT) 171 am_libcfa_a_OBJECTS = prelude.$(OBJEXT) $(am__objects_2) 155 172 libcfa_a_OBJECTS = $(am_libcfa_a_OBJECTS) 156 173 AM_V_P = $(am__v_P_@AM_V@) … … 189 206 am__v_CCLD_1 = 190 207 SOURCES = $(libcfa_a_SOURCES) 191 DIST_SOURCES = $( libcfa_a_SOURCES)208 DIST_SOURCES = $(am__libcfa_a_SOURCES_DIST) 192 209 am__can_run_installinfo = \ 193 210 case $$AM_UPDATE_INFO_DIR in \ … … 195 212 *) (install-info --version) >/dev/null 2>&1;; \ 196 213 esac 214 am__nobase_cfa_include_HEADERS_DIST = ${shell find ${srcdir}/stdhdr \ 215 -type f -printf "%p "} fstream.hfa iostream.hfa iterator.hfa \ 216 limits.hfa rational.hfa time.hfa stdlib.hfa common.hfa \ 217 containers/maybe.hfa containers/pair.hfa containers/result.hfa \ 218 containers/vector.hfa concurrency/coroutine.hfa \ 219 concurrency/thread.hfa concurrency/kernel.hfa \ 220 concurrency/monitor.hfa concurrency/mutex.hfa math.hfa gmp.hfa \ 221 time_t.hfa bits/align.hfa bits/containers.hfa bits/defs.hfa \ 222 bits/debug.hfa bits/locks.hfa concurrency/invoke.h 197 223 HEADERS = $(nobase_cfa_include_HEADERS) 198 224 am__tagged_files = $(HEADERS) $(SOURCES) $(TAGS_FILES) $(LISP) … … 242 268 CFLAGS = @CFLAGS@ 243 269 CONFIGURATION = @CONFIGURATION@ 270 CONFIG_BUILDLIB = @CONFIG_BUILDLIB@ 244 271 CONFIG_CFAFLAGS = @CONFIG_CFAFLAGS@ 245 272 CONFIG_CFLAGS = @CONFIG_CFLAGS@ … … 343 370 AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 344 371 AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 372 @BUILDLIB_FALSE@headers = 345 373 346 374 #---------------------------------------------------------------------------------------------------------------- 347 375 348 376 # not all platforms support concurrency, add option do disable it 349 headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa \ 350 rational.hfa time.hfa stdlib.hfa common.hfa \ 351 containers/maybe.hfa containers/pair.hfa containers/result.hfa \ 352 containers/vector.hfa concurrency/coroutine.hfa \ 353 concurrency/thread.hfa concurrency/kernel.hfa \ 354 concurrency/monitor.hfa concurrency/mutex.hfa 377 @BUILDLIB_TRUE@headers = fstream.hfa iostream.hfa iterator.hfa \ 378 @BUILDLIB_TRUE@ limits.hfa rational.hfa time.hfa stdlib.hfa \ 379 @BUILDLIB_TRUE@ common.hfa containers/maybe.hfa \ 380 @BUILDLIB_TRUE@ containers/pair.hfa containers/result.hfa \ 381 @BUILDLIB_TRUE@ containers/vector.hfa concurrency/coroutine.hfa \ 382 @BUILDLIB_TRUE@ concurrency/thread.hfa concurrency/kernel.hfa \ 383 @BUILDLIB_TRUE@ concurrency/monitor.hfa concurrency/mutex.hfa 384 @BUILDLIB_FALSE@headers_nosrc = 385 @BUILDLIB_TRUE@headers_nosrc = math.hfa gmp.hfa time_t.hfa \ 386 @BUILDLIB_TRUE@ bits/align.hfa bits/containers.hfa \ 387 @BUILDLIB_TRUE@ bits/defs.hfa bits/debug.hfa bits/locks.hfa \ 388 @BUILDLIB_TRUE@ concurrency/invoke.h 389 @BUILDLIB_FALSE@libsrc = 355 390 356 391 # not all platforms support concurrency, add option do disable it 357 libsrc = startup.cfa interpose.cfa bits/debug.cfa assert.cfa \ 358 exception.c virtual.c heap.cfa ${headers:.hfa=.cfa} \ 359 concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa \ 360 concurrency/invoke.c concurrency/preemption.cfa 392 @BUILDLIB_TRUE@libsrc = startup.cfa interpose.cfa bits/debug.cfa \ 393 @BUILDLIB_TRUE@ assert.cfa exception.c virtual.c heap.cfa \ 394 @BUILDLIB_TRUE@ ${headers:.hfa=.cfa} \ 395 @BUILDLIB_TRUE@ concurrency/CtxSwitch-@ARCHITECTURE@.S \ 396 @BUILDLIB_TRUE@ concurrency/alarm.cfa concurrency/invoke.c \ 397 @BUILDLIB_TRUE@ concurrency/preemption.cfa 361 398 362 399 #---------------------------------------------------------------------------------------------------------------- 363 400 # add dependency to cfa-cpp so all libraries are rebuilt with new translator 364 #@CFACC@ @CFACPP@ prelude.cf 401 #@CFACC@ @CFACPP@ prelude.cfa 365 402 366 403 # add dependency of cfa files … … 375 412 376 413 #---------------------------------------------------------------------------------------------------------------- 377 libcfa_a_SOURCES = prelude. o${libsrc}414 libcfa_a_SOURCES = prelude.cfa ${libsrc} 378 415 stdhdr = ${shell find ${srcdir}/stdhdr -type f -printf "%p "} 379 416 cfa_includedir = $(CFA_INCDIR) 380 nobase_cfa_include_HEADERS = \ 381 ${headers} \ 382 ${stdhdr} \ 383 math.hfa \ 384 gmp.hfa \ 385 time_t.hfa \ 386 bits/align.hfa \ 387 bits/containers.hfa \ 388 bits/defs.hfa \ 389 bits/debug.hfa \ 390 bits/locks.hfa \ 391 concurrency/invoke.h 392 417 nobase_cfa_include_HEADERS = ${stdhdr} ${headers} ${headers_nosrc} 393 418 all: all-am 394 419 … … 799 824 $(CFACOMPILE) -MT $@ -MD -MP -MF $$depbase.Tpo -c -o $@ $< &&\ 800 825 $(am__mv) $$depbase.Tpo $$depbase.Po 801 $(libobjs) : @CFACC@ @CFACPP@ prelude.cf 826 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa 802 827 803 828 -include $(libdeps) 804 829 805 prelude.o : prelude.cf extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@806 ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} - in-tree -XCFA -l ${<} -c -o ${@}830 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@ 831 ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@} 807 832 808 833 #----------------------------------------------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.