Changes in libcfa/src/Makefile.am [b7fe2e6:d119d613]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/Makefile.am
rb7fe2e6 rd119d613 17 17 # create object files in directory with source files 18 18 AUTOMAKE_OPTIONS = foreign subdir-objects 19 ACLOCAL_AMFLAGS = -I ../automake19 ACLOCAL_AMFLAGS = -I automake 20 20 21 21 include $(top_srcdir)/../tools/build/cfa.make … … 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_src33 # The built sources must not depend on the installed headers 34 34 AM_CFAFLAGS = -quiet -cfalib -I$(srcdir)/stdhdr $(if $(findstring ${gdbwaittarget}, ${@}), -XCFA --gdb) @CONFIG_CFAFLAGS@ 35 35 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC -fexceptions -pthread @ARCH_FLAGS@ @CONFIG_CFLAGS@ … … 39 39 #---------------------------------------------------------------------------------------------------------------- 40 40 if BUILDLIB 41 inst_headers_nosrc = \ 42 bitmanip.hfa \ 43 clock.hfa \ 44 exception.hfa \ 45 gmp.hfa \ 46 math.hfa \ 47 time_t.hfa \ 48 bits/align.hfa \ 49 bits/containers.hfa \ 50 bits/debug.hfa \ 51 bits/defs.hfa \ 52 bits/locks.hfa \ 53 concurrency/iofwd.hfa \ 54 containers/list.hfa \ 55 containers/stackLockFree.hfa 41 headers_nosrc = bitmanip.hfa exception.hfa math.hfa gmp.hfa time_t.hfa clock.hfa \ 42 bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa \ 43 containers/list.hfa containers/stackLockFree.hfa concurrency/iofwd.hfa 56 44 57 inst_headers_src = \ 58 common.hfa \ 59 fstream.hfa \ 60 heap.hfa \ 61 iostream.hfa \ 62 iterator.hfa \ 63 limits.hfa \ 64 parseargs.hfa \ 65 rational.hfa \ 66 stdlib.hfa \ 67 time.hfa \ 68 containers/maybe.hfa \ 69 containers/pair.hfa \ 70 containers/result.hfa \ 71 containers/vector.hfa 45 headers = common.hfa fstream.hfa heap.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa \ 46 time.hfa stdlib.hfa parseargs.hfa \ 47 containers/maybe.hfa containers/pair.hfa containers/result.hfa containers/vector.hfa 72 48 73 libsrc = ${inst_headers_src} ${inst_headers_src:.hfa=.cfa} \ 74 assert.cfa \ 75 bits/algorithm.hfa \ 76 bits/debug.cfa \ 77 exception.c \ 78 exception.h \ 79 interpose.cfa \ 80 lsda.h \ 81 startup.cfa \ 82 startup.hfa \ 83 virtual.c \ 84 virtual.h 49 libsrc = startup.cfa interpose.cfa bits/debug.cfa assert.cfa exception.c virtual.c ${headers:.hfa=.cfa} 85 50 86 51 # not all platforms support concurrency, add option do disable it 87 inst_thread_headers_nosrc = \ 88 bits/random.hfa \ 89 concurrency/invoke.h \ 90 concurrency/kernel/fwd.hfa 52 thread_headers_nosrc = bits/random.hfa concurrency/invoke.h concurrency/kernel/fwd.hfa 91 53 92 inst_thread_headers_src = \ 93 concurrency/coroutine.hfa \ 94 concurrency/kernel.hfa \ 95 concurrency/monitor.hfa \ 96 concurrency/mutex.hfa \ 97 concurrency/thread.hfa 54 thread_headers = concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa \ 55 concurrency/monitor.hfa concurrency/mutex.hfa concurrency/exception.hfa 98 56 99 thread_libsrc = ${inst_thread_headers_src} ${inst_thread_headers_src:.hfa=.cfa} \ 100 bits/signal.hfa \ 101 concurrency/alarm.cfa \ 102 concurrency/alarm.hfa \ 103 concurrency/CtxSwitch-@ARCHITECTURE@.S \ 104 concurrency/invoke.c \ 105 concurrency/io.cfa \ 106 concurrency/io/setup.cfa \ 107 concurrency/io/types.hfa \ 108 concurrency/iocall.cfa \ 109 concurrency/iofwd.hfa \ 110 concurrency/kernel_private.hfa \ 111 concurrency/kernel/startup.cfa \ 112 concurrency/preemption.cfa \ 113 concurrency/preemption.hfa \ 114 concurrency/ready_queue.cfa \ 115 concurrency/ready_subqueue.hfa \ 116 concurrency/snzi.hfa \ 117 concurrency/stats.cfa \ 118 concurrency/stats.hfa \ 119 concurrency/stats.hfa 120 57 thread_libsrc = concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa \ 58 concurrency/invoke.c concurrency/io.cfa concurrency/iocall.cfa \ 59 concurrency/io/setup.cfa \ 60 concurrency/kernel/startup.cfa concurrency/preemption.cfa \ 61 concurrency/ready_queue.cfa concurrency/stats.cfa \ 62 ${thread_headers:.hfa=.cfa} 121 63 else 122 inst_headers_src=123 inst_thread_headers_src=124 inst_headers_nosrc =125 inst_thread_headers_nosrc =64 headers = 65 thread_headers = 66 headers_nosrc = 67 thread_headers_nosrc = 126 68 libsrc = 127 69 endif … … 173 115 174 116 #---------------------------------------------------------------------------------------------------------------- 175 libcfa_la_SOURCES = ${libsrc} 176 nodist_libcfa_la_SOURCES = prelude.cfa 117 libcfa_la_SOURCES = prelude.cfa ${libsrc} 177 118 libcfa_la_LDFLAGS = -version-info @CFA_VERSION@ 178 119 … … 183 124 184 125 cfa_includedir = $(CFA_INCDIR) 185 nobase_cfa_include_HEADERS = ${stdhdr} ${inst_headers_src} ${inst_headers_nosrc} ${inst_thread_headers_src} ${inst_thread_headers_nosrc} 186 EXTRA_DIST = stdhdr 126 nobase_cfa_include_HEADERS = ${stdhdr} ${headers} ${headers_nosrc} ${thread_headers} ${thread_headers_nosrc} 187 127 188 128 #----------------------------------------------------------------------------------------------------------------
Note: See TracChangeset
for help on using the changeset viewer.