Changeset e523b07 for libcfa/src/Makefile.am
- Timestamp:
- Sep 21, 2018, 4:09:32 PM (7 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, stuck-waitfor-destruct
- Children:
- fcc57ba
- Parents:
- 72b0573
- File:
-
- 1 edited
-
libcfa/src/Makefile.am (modified) (3 diffs)
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 #----------------------------------------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.