Changes in libcfa/src/Makefile.am [70f8bcd2:e054263f]
- File:
-
- 1 edited
-
libcfa/src/Makefile.am (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/Makefile.am
r70f8bcd2 re054263f 11 11 ## Created On : Sun May 31 08:54:01 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Wed Dec 9 22:46:14 202014 ## Update Count : 2 5013 ## Last Modified On : Mon Jul 15 22:43:27 2019 14 ## Update Count : 241 15 15 ############################################################################### 16 16 … … 19 19 ACLOCAL_AMFLAGS = -I automake 20 20 21 include $( top_srcdir)/../tools/build/cfa.make21 include $(srcdir)/../../src/cfa.make 22 22 23 23 libdir = ${CFA_LIBDIR} … … 31 31 # AM_CFAFLAGS for only cfa source 32 32 # use -no-include-stdhdr to prevent rebuild cycles 33 # The built sources must not depend on the installed inst_headers_src34 AM_CFAFLAGS = -quiet -cfalib -I$(srcdir)/stdhdr -I$(srcdir)/concurrency$(if $(findstring ${gdbwaittarget}, ${@}), -XCFA --gdb) @CONFIG_CFAFLAGS@35 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC - fexceptions -pthread @ARCH_FLAGS@ @CONFIG_CFLAGS@33 # The built sources must not depend on the installed headers 34 AM_CFAFLAGS = -quiet -cfalib -I$(srcdir)/stdhdr $(if $(findstring ${gdbwaittarget}, ${@}), -XCFA --gdb) @CONFIG_CFAFLAGS@ 35 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC -pthread @ARCH_FLAGS@ @CONFIG_CFLAGS@ 36 36 AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 37 37 CFACC = @CFACC@ … … 39 39 #---------------------------------------------------------------------------------------------------------------- 40 40 if BUILDLIB 41 inst_headers_nosrc = \ 42 bitmanip.hfa \ 43 clock.hfa \ 44 exception.hfa \ 45 exception.h \ 46 gmp.hfa \ 47 math.hfa \ 48 time_t.hfa \ 49 bits/align.hfa \ 50 bits/containers.hfa \ 51 bits/debug.hfa \ 52 bits/defs.hfa \ 53 bits/locks.hfa \ 54 bits/collection.hfa \ 55 bits/stack.hfa \ 56 bits/queue.hfa \ 57 bits/sequence.hfa \ 58 concurrency/iofwd.hfa \ 59 containers/list.hfa \ 60 containers/stackLockFree.hfa 41 headers_nosrc = math.hfa gmp.hfa time_t.hfa bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa 42 headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa time.hfa stdlib.hfa common.hfa \ 43 containers/maybe.hfa containers/pair.hfa containers/result.hfa containers/vector.hfa \ 44 vec/vec.hfa vec/vec2.hfa vec/vec3.hfa vec/vec4.hfa 61 45 62 inst_headers_src = \ 63 common.hfa \ 64 fstream.hfa \ 65 heap.hfa \ 66 iostream.hfa \ 67 iterator.hfa \ 68 limits.hfa \ 69 memory.hfa \ 70 parseargs.hfa \ 71 rational.hfa \ 72 stdlib.hfa \ 73 time.hfa \ 74 containers/maybe.hfa \ 75 containers/pair.hfa \ 76 containers/result.hfa \ 77 containers/vector.hfa 78 79 libsrc = ${inst_headers_src} ${inst_headers_src:.hfa=.cfa} \ 80 assert.cfa \ 81 bits/algorithm.hfa \ 82 bits/debug.cfa \ 83 exception.c \ 84 interpose.cfa \ 85 lsda.h \ 86 startup.cfa \ 87 startup.hfa \ 88 virtual.c \ 89 virtual.h 46 libsrc = startup.cfa interpose.cfa bits/debug.cfa assert.cfa exception.c virtual.c heap.cfa ${headers:.hfa=.cfa} 90 47 91 48 # not all platforms support concurrency, add option do disable it 92 inst_thread_headers_nosrc = \ 93 bits/random.hfa \ 94 concurrency/clib/cfathread.h \ 95 concurrency/invoke.h \ 96 concurrency/future.hfa \ 97 concurrency/kernel/fwd.hfa 98 99 inst_thread_headers_src = \ 100 concurrency/coroutine.hfa \ 101 concurrency/exception.hfa \ 102 concurrency/kernel.hfa \ 103 concurrency/locks.hfa \ 104 concurrency/monitor.hfa \ 105 concurrency/mutex.hfa \ 106 concurrency/thread.hfa 107 108 thread_libsrc = ${inst_thread_headers_src} ${inst_thread_headers_src:.hfa=.cfa} \ 109 bits/signal.hfa \ 110 concurrency/alarm.cfa \ 111 concurrency/alarm.hfa \ 112 concurrency/clib/cfathread.cfa \ 113 concurrency/CtxSwitch-@ARCHITECTURE@.S \ 114 concurrency/invoke.c \ 115 concurrency/io.cfa \ 116 concurrency/io/setup.cfa \ 117 concurrency/io/types.hfa \ 118 concurrency/io/call.cfa \ 119 concurrency/iofwd.hfa \ 120 concurrency/kernel_private.hfa \ 121 concurrency/kernel/startup.cfa \ 122 concurrency/preemption.cfa \ 123 concurrency/preemption.hfa \ 124 concurrency/ready_queue.cfa \ 125 concurrency/ready_subqueue.hfa \ 126 concurrency/snzi.hfa \ 127 concurrency/stats.cfa \ 128 concurrency/stats.hfa \ 129 concurrency/stats.hfa 130 49 thread_headers_nosrc = concurrency/invoke.h 50 thread_headers = concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa concurrency/monitor.hfa concurrency/mutex.hfa 51 thread_libsrc = concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa concurrency/invoke.c concurrency/preemption.cfa ${thread_headers:.hfa=.cfa} 131 52 else 132 inst_headers_src=133 inst_thread_headers_src=134 inst_headers_nosrc =135 inst_thread_headers_nosrc =53 headers = 54 thread_headers = 55 headers_nosrc = 56 thread_headers_nosrc = 136 57 libsrc = 137 58 endif … … 176 97 177 98 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @CFACPP@ 178 ${AM_V_GEN}$(CFACOMPILE) -quiet -XCFA ,-l ${<} -c -o ${@}99 ${AM_V_GEN}$(CFACOMPILE) -quiet -XCFA -l ${<} -c -o ${@} 179 100 180 101 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @LOCAL_CFACC@ @CFACPP@ 181 102 ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \ 182 $(CFACOMPILE) -quiet -XCFA ,-l ${<} -c -o ${@}103 $(CFACOMPILE) -quiet -XCFA -l ${<} -c -o ${@} 183 104 184 105 #---------------------------------------------------------------------------------------------------------------- 185 libcfa_la_SOURCES = ${libsrc} 186 nodist_libcfa_la_SOURCES = prelude.cfa 106 libcfa_la_SOURCES = prelude.cfa ${libsrc} 187 107 libcfa_la_LDFLAGS = -version-info @CFA_VERSION@ 188 108 … … 193 113 194 114 cfa_includedir = $(CFA_INCDIR) 195 nobase_cfa_include_HEADERS = ${stdhdr} ${inst_headers_src} ${inst_headers_nosrc} ${inst_thread_headers_src} ${inst_thread_headers_nosrc} 196 EXTRA_DIST = stdhdr 115 nobase_cfa_include_HEADERS = ${stdhdr} ${headers} ${headers_nosrc} ${thread_headers} ${thread_headers_nosrc} 197 116 198 117 #---------------------------------------------------------------------------------------------------------------- … … 200 119 -rm -rf ${CFA_INCDIR} ${CFA_LIBDIR} 201 120 202 distclean-local:203 find ${builddir} -path '*.Plo' -delete204 205 121 206 122 # $(AM_V_CFA)depbase=`echo $@ | sed 's|[^/]*$$|$(DEPDIR)/&|;s|\.o$$||'`;\
Note:
See TracChangeset
for help on using the changeset viewer.