Changes in libcfa/src/Makefile.am [2026bb6:5806745]
- File:
-
- 1 edited
-
libcfa/src/Makefile.am (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/Makefile.am
r2026bb6 r5806745 22 22 23 23 libdir = ${CFA_LIBDIR} 24 lib_LTLIBRARIES = libcfa.la libcfathread.la24 lib_LTLIBRARIES = libcfa.la 25 25 26 26 VPATH += :../prelude … … 41 41 containers/maybe.hfa containers/pair.hfa containers/result.hfa containers/vector.hfa 42 42 43 # not all platforms support concurrency, add option do disable it 44 headers_nosrc += concurrency/invoke.h 45 headers += concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa concurrency/monitor.hfa concurrency/mutex.hfa 46 43 47 libsrc = startup.cfa interpose.cfa bits/debug.cfa assert.cfa exception.c virtual.c heap.cfa ${headers:.hfa=.cfa} 44 48 45 49 # not all platforms support concurrency, add option do disable it 46 thread_headers_nosrc = concurrency/invoke.h 47 thread_headers = concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa concurrency/monitor.hfa concurrency/mutex.hfa 48 thread_libsrc = concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa concurrency/invoke.c concurrency/preemption.cfa ${thread_headers:.hfa=.cfa} 50 libsrc += concurrency/CtxSwitch-@ARCHITECTURE@.S concurrency/alarm.cfa concurrency/invoke.c concurrency/preemption.cfa 49 51 else 50 52 headers = 51 thread_headers =52 53 headers_nosrc = 53 thread_headers_nosrc =54 54 libsrc = 55 55 endif … … 64 64 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa 65 65 66 thread_libobjs = $(addsuffix .lo, $(basename $(filter %.cfa,$(thread_libsrc))))67 $(thread_libobjs) : @CFACC@ @CFACPP@ prelude.cfa68 69 66 70 67 # .deps inclusion is not done automatically by automake for new languages … … 75 72 76 73 -include $(libdeps) 77 78 thread_libdeps = $(join \79 $(addsuffix $(DEPDIR)/ , $(dir $(thread_libobjs) ) ), \80 $(notdir ${thread_libobjs:.lo=.Plo}) \81 )82 83 -include $(thread_libdeps)84 85 74 86 75 prelude.o : prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@ … … 96 85 libcfa_la_LDFLAGS = -version-info @CFA_VERSION@ 97 86 98 libcfathread_la_SOURCES = ${thread_libsrc}99 libcfathread_la_LDFLAGS = -version-info @CFA_VERSION@100 101 87 stdhdr = $(shell find $(srcdir)/stdhdr -type f -printf "%p ") 102 88 103 89 cfa_includedir = $(CFA_INCDIR) 104 nobase_cfa_include_HEADERS = ${stdhdr} ${headers} ${headers_nosrc} ${thread_headers} ${thread_headers_nosrc}90 nobase_cfa_include_HEADERS = ${stdhdr} ${headers} ${headers_nosrc} 105 91 106 92 #----------------------------------------------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.