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