Changes in src/libcfa/Makefile.am [159c62e:854a32c]
- File:
-
- 1 edited
-
src/libcfa/Makefile.am (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/libcfa/Makefile.am
r159c62e r854a32c 11 11 ## Created On : Sun May 31 08:54:01 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Tue Jul 5 16:19:31201614 ## Update Count : 1 7813 ## Last Modified On : Mon Jun 13 14:27:22 2016 14 ## Update Count : 166 15 15 ############################################################################### 16 16 … … 19 19 # put into lib for now 20 20 cfalibdir = ${libdir} 21 cfalib_DATA = builtins.cf extras.cf prelude.cf21 cfalib_DATA = prelude.cf builtins.cf 22 22 23 23 # create forward declarations for gcc builtins 24 extras.cf : extras.regx extras.c 25 @BACKEND_CC@ -E ${srcdir}/extras.c | grep -f extras.regx > ${srcdir}/extras.cf 24 ${libdir}/builtins.cf : ${libdir} ${srcdir}/builtins.cf 25 ${INSTALL} ${srcdir}/builtins.cf ${libdir} 26 sed -i -e "s#typedef.*ptrdiff_t.*#`@BACKEND_CC@ -E ${srcdir}/ptrdiff_t.c | grep 'typedef.*ptrdiff_t'`#" ${srcdir}/prelude.cf 26 27 27 28 builtins.cf : builtins.c 28 if [ -e $< ] ; then \29 @if [ -e $< ] ; then \ 29 30 @BACKEND_CC@ -E -P $^ | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > $@ ; \ 30 31 fi 31 32 32 33 builtins.c : builtins.def prototypes.awk 33 if [ -e $< ] ; then \34 @if [ -e $< ] ; then \ 34 35 @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ ; \ 35 36 fi … … 39 40 prototypes.awk : 40 41 41 MAINTAINERCLEANFILES = builtins.cf extras.cf${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}42 MAINTAINERCLEANFILES = ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}} 42 43 43 44 #-------------------------------------------------- 44 45 45 libcfa-prelude.c : ${srcdir}/prelude.cf ${srcdir}/extras.cf ${srcdir}/builtins.cf46 libcfa-prelude.c : ${srcdir}/prelude.cf 46 47 ${abs_top_srcdir}/src/driver/cfa-cpp -l ${srcdir}/prelude.cf $@ # use src/cfa-cpp as not in lib until after install 47 48 … … 63 64 libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c} 64 65 65 nobase_include_HEADERS = ${headers} stdio.h66 nobase_include_HEADERS = ${headers} 66 67 67 68 CLEANFILES = libcfa-prelude.c 68 69 maintainer-clean-local: 70 -rm -rf ${includedir}/* 69 MAINTAINERCLEANFILES += ${includedir}/*
Note:
See TracChangeset
for help on using the changeset viewer.