Changes in libcfa/src/Makefile.am [c6bbcdb:e523b07]
- File:
-
- 1 edited
-
libcfa/src/Makefile.am (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/src/Makefile.am
rc6bbcdb re523b07 17 17 # create object files in directory with source files 18 18 AUTOMAKE_OPTIONS = foreign subdir-objects 19 ACLOCAL_AMFLAGS = -I automake20 19 ARFLAGS = cr 21 20 … … 23 22 24 23 libdir = ${CFA_LIBDIR} 25 lib_L TLIBRARIES = libcfa.la24 lib_LIBRARIES = libcfa.a 26 25 27 26 VPATH += :../prelude … … 32 31 # The built sources must not depend on the installed headers 33 32 AM_CFAFLAGS = -quiet -in-tree -I$(srcdir)/stdhdr @CONFIG_CFAFLAGS@ 34 AM_CFLAGS = -g -Wall -Wno-unused-function -fPIC@ARCH_FLAGS@ @CONFIG_CFLAGS@33 AM_CFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 35 34 AM_CCASFLAGS = -g -Wall -Wno-unused-function @ARCH_FLAGS@ @CONFIG_CFLAGS@ 36 35 CFACC = @CFACC@ … … 38 37 #---------------------------------------------------------------------------------------------------------------- 39 38 if BUILDLIB 40 headers_nosrc = math.hfa gmp.hfa time_t.hfa bits/align.hfa bits/containers.hfa bits/defs.hfa bits/debug.hfa bits/locks.hfa41 39 headers = fstream.hfa iostream.hfa iterator.hfa limits.hfa rational.hfa time.hfa stdlib.hfa common.hfa \ 42 40 containers/maybe.hfa containers/pair.hfa containers/result.hfa containers/vector.hfa 43 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 44 44 # not all platforms support concurrency, add option do disable it 45 headers += concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa concurrency/monitor.hfa concurrency/mutex.hfa 46 45 47 headers_nosrc += concurrency/invoke.h 46 headers += concurrency/coroutine.hfa concurrency/thread.hfa concurrency/kernel.hfa concurrency/monitor.hfa concurrency/mutex.hfa47 48 48 49 libsrc = startup.cfa interpose.cfa bits/debug.cfa assert.cfa exception.c virtual.c heap.cfa ${headers:.hfa=.cfa} … … 62 63 63 64 # add dependency of cfa files 64 libobjs = $(addsuffix . lo, $(basename $(filter %.cfa,$(libsrc))))65 libobjs = $(addsuffix .o, $(basename $(filter %.cfa,$(libsrc)))) 65 66 $(libobjs) : @CFACC@ @CFACPP@ prelude.cfa 66 67 … … 69 70 libdeps = $(join \ 70 71 $(addsuffix $(DEPDIR)/ , $(dir $(libobjs) ) ), \ 71 $(notdir ${libobjs:. lo=.Po}) \72 $(notdir ${libobjs:.o=.Po}) \ 72 73 ) 73 74 … … 77 78 ${AM_V_GEN}@CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@} 78 79 79 prelude.lo: prelude.cfa extras.cf gcc-builtins.cf builtins.cf @CFACC@ @CFACPP@80 ${AM_V_GEN}$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile \81 @CFACC@ ${AM_CFLAGS} ${CFLAGS} -quiet -in-tree -XCFA -l ${<} -c -o ${@}82 80 83 81 84 82 #---------------------------------------------------------------------------------------------------------------- 85 libcfa_la_SOURCES = prelude.cfa ${libsrc} 86 libcfa_la_LDFLAGS = -version-info @CFA_VERSION@ 83 libcfa_a_SOURCES = prelude.cfa ${libsrc} 87 84 88 stdhdr = $ (shell find $(srcdir)/stdhdr -type f -printf "%p ")85 stdhdr = ${shell find ${srcdir}/stdhdr -type f -printf "%p "} 89 86 90 87 cfa_includedir = $(CFA_INCDIR)
Note:
See TracChangeset
for help on using the changeset viewer.