Changeset 375a068 for src/libcfa
- Timestamp:
- Dec 14, 2016, 3:31:01 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- 74e5a3aa
- Parents:
- 37efaf56
- Location:
- src/libcfa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/libcfa/Makefile.am ¶
r37efaf56 r375a068 11 11 ## Created On : Sun May 31 08:54:01 2015 12 12 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Fri Aug 26 12:03:37201614 ## Update Count : 19913 ## Last Modified On : Wed Dec 14 15:17:30 2016 14 ## Update Count : 211 15 15 ############################################################################### 16 16 … … 28 28 endif 29 29 30 # put into lib for now31 cfalibdir = ${libdir}32 cfalib_DATA = builtins.cf extras.cf prelude.cf33 34 # create extra forward types/declarations to reduce inclusion of library files35 extras.cf : extras.regx extras.c36 ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -E ${srcdir}/extras.c | grep -f extras.regx > ${srcdir}/extras.cf37 38 # create forward declarations for gcc builtins39 builtins.cf : builtins.c40 ${AM_V_GEN}if [ -e $< ] ; then \41 @BACKEND_CC@ -E -P $^ | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > $@ ; \42 fi43 44 builtins.c : builtins.def prototypes.awk45 ${AM_V_GEN}if [ -e $< ] ; then \46 @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ ; \47 fi48 49 builtins.def :50 51 prototypes.awk :52 53 MAINTAINERCLEANFILES = builtins.cf extras.cf ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}}54 55 #--------------------------------------------------56 57 libcfa-prelude.c : ${srcdir}/prelude.cf ${srcdir}/extras.cf ${srcdir}/builtins.cf58 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -l ${srcdir}/prelude.cf $@ # use src/cfa-cpp as not in lib until after install59 60 30 libcfa_a-libcfa-prelude.o : libcfa-prelude.c 61 31 ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -O2 -c -o $@ $< … … 64 34 ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -D__CFA_DEBUG__ -O0 -c -o $@ $< 65 35 66 EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr 36 EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr @CFA_FLAGS@ 67 37 68 38 AM_CCASFLAGS = @CFA_FLAGS@ … … 77 47 % : %.c 78 48 @true 49 50 # %.$(OJBEXT) : libcfa-prelude.c 51 # echo "FRED" 52 # @false 53 # ${AM_V_CC} ${abs_top_srcdir}/src/driver/cfa 79 54 80 55 concurrency/libcfa_a-invoke.o : concurrency/invoke.c -
TabularUnified src/libcfa/Makefile.in ¶
r37efaf56 r375a068 18 18 ######################## -*- Mode: Makefile-Automake -*- ###################### 19 19 ############################################################################### 20 21 20 22 21 … … 80 79 $(am__cd) "$$dir" && rm -f $$files; }; \ 81 80 } 82 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(cfalibdir)" \ 83 "$(DESTDIR)$(includedir)" 81 am__installdirs = "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)" 84 82 LIBRARIES = $(lib_LIBRARIES) 85 83 AR = ar … … 146 144 SOURCES = $(libcfa_d_a_SOURCES) $(libcfa_a_SOURCES) 147 145 DIST_SOURCES = $(libcfa_d_a_SOURCES) $(libcfa_a_SOURCES) 148 DATA = $(cfalib_DATA)149 146 HEADERS = $(nobase_include_HEADERS) 150 147 ETAGS = etags … … 273 270 AUTOMAKE_OPTIONS = subdir-objects 274 271 lib_LIBRARIES = $(am__append_1) $(am__append_2) 275 276 # put into lib for now 277 cfalibdir = ${libdir} 278 cfalib_DATA = builtins.cf extras.cf prelude.cf 279 MAINTAINERCLEANFILES = builtins.cf extras.cf ${addprefix ${libdir}/,${cfalib_DATA}} ${addprefix ${libdir}/,${lib_LIBRARIES}} 280 EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr @CFA_FLAGS@ 272 EXTRA_FLAGS = -g -Wall -Wno-unused-function -I${abs_top_srcdir}/src/libcfa/libhdr @CFA_FLAGS@ 281 273 AM_CCASFLAGS = @CFA_FLAGS@ 282 274 headers = limits stdlib math iostream fstream iterator rational assert containers/vector concurrency/threads … … 769 761 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ 770 762 @am__fastdepCC_FALSE@ $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libcfa_a_CFLAGS) $(CFLAGS) -c -o concurrency/libcfa_a-invoke.obj `if test -f 'concurrency/invoke.c'; then $(CYGPATH_W) 'concurrency/invoke.c'; else $(CYGPATH_W) '$(srcdir)/concurrency/invoke.c'; fi` 771 install-cfalibDATA: $(cfalib_DATA)772 @$(NORMAL_INSTALL)773 test -z "$(cfalibdir)" || $(MKDIR_P) "$(DESTDIR)$(cfalibdir)"774 @list='$(cfalib_DATA)'; test -n "$(cfalibdir)" || list=; \775 for p in $$list; do \776 if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \777 echo "$$d$$p"; \778 done | $(am__base_list) | \779 while read files; do \780 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(cfalibdir)'"; \781 $(INSTALL_DATA) $$files "$(DESTDIR)$(cfalibdir)" || exit $$?; \782 done783 784 uninstall-cfalibDATA:785 @$(NORMAL_UNINSTALL)786 @list='$(cfalib_DATA)'; test -n "$(cfalibdir)" || list=; \787 files=`for p in $$list; do echo $$p; done | sed -e 's|^.*/||'`; \788 dir='$(DESTDIR)$(cfalibdir)'; $(am__uninstall_files_from_dir)789 763 install-nobase_includeHEADERS: $(nobase_include_HEADERS) 790 764 @$(NORMAL_INSTALL) … … 893 867 check-am: all-am 894 868 check: check-am 895 all-am: Makefile $(LIBRARIES) $( DATA) $(HEADERS)869 all-am: Makefile $(LIBRARIES) $(HEADERS) 896 870 installdirs: 897 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$( cfalibdir)" "$(DESTDIR)$(includedir)"; do \871 for dir in "$(DESTDIR)$(libdir)" "$(DESTDIR)$(includedir)"; do \ 898 872 test -z "$$dir" || $(MKDIR_P) "$$dir"; \ 899 873 done … … 933 907 @echo "This command is intended for maintainers to use" 934 908 @echo "it deletes files that may require special tools to rebuild." 935 -test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)936 909 clean: clean-am 937 910 … … 956 929 info-am: 957 930 958 install-data-am: install- cfalibDATA install-nobase_includeHEADERS931 install-data-am: install-nobase_includeHEADERS 959 932 960 933 install-dvi: install-dvi-am … … 1002 975 ps-am: 1003 976 1004 uninstall-am: uninstall-cfalibDATA uninstall-libLIBRARIES \ 1005 uninstall-nobase_includeHEADERS 977 uninstall-am: uninstall-libLIBRARIES uninstall-nobase_includeHEADERS 1006 978 1007 979 .MAKE: install-am install-strip … … 1010 982 clean-libLIBRARIES ctags distclean distclean-compile \ 1011 983 distclean-generic distclean-tags distdir dvi dvi-am html \ 1012 html-am info info-am install install-am install- cfalibDATA\1013 install-data install-data-am install-dvi install-dvi-am\1014 install-exec install-exec-am install-html install-html-am\1015 install-info install-info-am install-libLIBRARIES install-man \984 html-am info info-am install install-am install-data \ 985 install-data-am install-dvi install-dvi-am install-exec \ 986 install-exec-am install-html install-html-am install-info \ 987 install-info-am install-libLIBRARIES install-man \ 1016 988 install-nobase_includeHEADERS install-pdf install-pdf-am \ 1017 989 install-ps install-ps-am install-strip installcheck \ … … 1019 991 maintainer-clean-generic maintainer-clean-local mostlyclean \ 1020 992 mostlyclean-compile mostlyclean-generic pdf pdf-am ps ps-am \ 1021 tags uninstall uninstall-am uninstall-cfalibDATA \ 1022 uninstall-libLIBRARIES uninstall-nobase_includeHEADERS 1023 1024 1025 # create extra forward types/declarations to reduce inclusion of library files 1026 extras.cf : extras.regx extras.c 1027 ${AM_V_GEN}@BACKEND_CC@ @CFA_FLAGS@ -E ${srcdir}/extras.c | grep -f extras.regx > ${srcdir}/extras.cf 1028 1029 # create forward declarations for gcc builtins 1030 builtins.cf : builtins.c 1031 ${AM_V_GEN}if [ -e $< ] ; then \ 1032 @BACKEND_CC@ -E -P $^ | sed -e "/targetm/s/.*//" -e "/_Decimal/s/.*//" -e "s/void (const char \*)0();//" -e "s/\"//g" -e "s/\(__builtin_\) /\1/" > $@ ; \ 1033 fi 1034 1035 builtins.c : builtins.def prototypes.awk 1036 ${AM_V_GEN}if [ -e $< ] ; then \ 1037 @BACKEND_CC@ -E prototypes.c | awk -f prototypes.awk > $@ ; \ 1038 fi 1039 1040 builtins.def : 1041 1042 prototypes.awk : 1043 1044 #-------------------------------------------------- 1045 1046 libcfa-prelude.c : ${srcdir}/prelude.cf ${srcdir}/extras.cf ${srcdir}/builtins.cf 1047 ${AM_V_GEN}${abs_top_srcdir}/src/driver/cfa-cpp -l ${srcdir}/prelude.cf $@ # use src/cfa-cpp as not in lib until after install 993 tags uninstall uninstall-am uninstall-libLIBRARIES \ 994 uninstall-nobase_includeHEADERS 995 1048 996 1049 997 libcfa_a-libcfa-prelude.o : libcfa-prelude.c … … 1057 1005 @true 1058 1006 1007 # %.$(OJBEXT) : libcfa-prelude.c 1008 # echo "FRED" 1009 # @false 1010 # ${AM_V_CC} ${abs_top_srcdir}/src/driver/cfa 1011 1059 1012 concurrency/libcfa_a-invoke.o : concurrency/invoke.c 1060 1013 ${AM_V_CC}@BACKEND_CC@ -DHAVE_CONFIG_H -I. -I../.. -O2 ${EXTRA_FLAGS} -c -o $@ $<
Note: See TracChangeset
for help on using the changeset viewer.