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