Changeset 73abe95 for libcfa/src/Makefile.am
- Timestamp:
- Aug 6, 2018, 2:50:03 PM (6 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, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
- Children:
- 58b6d1b
- Parents:
- ff593a3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/Makefile.am
rff593a3 r73abe95 33 33 CFACC = @CFACC@ 34 34 35 headers = fstream iostream iterator limits rational time stdlib common \ 36 containers/maybe containers/pair containers/result containers/vector 35 #---------------------------------------------------------------------------------------------------------------- 36 headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa time.hfa stdlib.hfa common.hfa \ 37 containers/maybe.hfa containers/pair.hfa containers/result.hfa containers/vector.hfa 37 38 38 39 # not all platforms support concurrency, add option do disable it 39 headers += concurrency/coroutine concurrency/thread concurrency/kernel concurrency/monitor concurrency/mutex40 headers += concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa concurrency/monitor.hfa concurrency/mutex.hfa 40 41 41 libobjs = ${headers: =.o}42 libobjs = ${headers:.hfa=.o} 42 43 libsrc = prelude.c startup.cfa interpose.cfa bits/debug.cfa assert.cfa exception.c virtual.c heap.cfa \ 43 ${headers: =.cfa}44 ${headers:.hfa=.cfa} 44 45 45 46 # not all platforms support concurrency, add option do disable it 46 47 libsrc += concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa concurrency/invoke.c concurrency/preemption.cfa 47 48 48 # extensionless header files are overridden by -o flag in default makerule => explicitly override default rule to silently do nothing 49 # SKULLDUGGERY in order to make sure this isn't called make the rule always fail but also create a rule for headers 50 % : %.c 51 echo "Dummy rule, should never be called" 52 false 53 54 # This rule should always match headers and since it has no prerequisite it will never be called 55 $(addprefix $(srcdir)/,$(headers)): 56 echo "Dummy rule, should never be called" 57 false 58 59 60 ${libobjs} : ${cfalib_DATA} # add dependency to cfa-cpp so all libraries are rebuilt with new translator 49 #---------------------------------------------------------------------------------------------------------------- 50 # add dependency to cfa-cpp so all libraries are rebuilt with new translator 51 ${libobjs} : ${cfalib_DATA} 61 52 62 53 libcfa_a_SOURCES = ${libsrc} … … 65 56 66 57 cfa_includedir = $(CFA_INCDIR) 67 nobase_cfa_include_HEADERS = 68 ${headers} 69 ${stdhdr} 70 math 71 gmp 72 time_t.h 73 bits/align.h 74 bits/containers.h 75 bits/defs.h 76 bits/debug.h 77 bits/locks.h 78 concurrency/invoke.h 58 nobase_cfa_include_HEADERS = \ 59 ${headers} \ 60 ${stdhdr} \ 61 math.hfa \ 62 gmp.hfa \ 63 time_t.hfa \ 64 bits/align.hfa \ 65 bits/containers.hfa \ 66 bits/defs.hfa \ 67 bits/debug.hfa \ 68 bits/locks.hfa \ 69 concurrency/invoke.hfa 79 70 80 CLEANFILES = prelude.c71 MOSTLYCLEANFILES = prelude.c 81 72 73 #---------------------------------------------------------------------------------------------------------------- 82 74 maintainer-clean-local: 83 75 -rm -rf ${CFA_INCDIR} ${CFA_LIBDIR}
Note: See TracChangeset
for help on using the changeset viewer.