Changeset b067d9b for src/Makefile.am
- Timestamp:
- Oct 29, 2019, 4:01:24 PM (6 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 773db65, 9421f3d8
- Parents:
- 7951100 (diff), 8364209 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - File:
-
- 1 edited
-
src/Makefile.am (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/Makefile.am
r7951100 rb067d9b 10 10 ## Author : Peter A. Buhr 11 11 ## Created On : Sun May 31 08:51:46 2015 12 ## Last Modified By : Andrew Beach13 ## Last Modified On : Tus Jul 25 10:34:00 201714 ## Update Count : 7612 ## Last Modified By : Peter A. Buhr 13 ## Last Modified On : Mon Aug 5 12:57:46 2019 14 ## Update Count : 98 15 15 ############################################################################### 16 16 17 17 # create object files in directory with source files 18 AUTOMAKE_OPTIONS = subdir-objects 18 AUTOMAKE_OPTIONS = foreign subdir-objects 19 ACLOCAL_AMFLAGS = -I automake 19 20 20 21 SRC = main.cc \ 21 MakeLibCfa.cc 22 MakeLibCfa.cc \ 23 CompilationState.cc 24 25 SRCDEMANGLE = CompilationState.cc 22 26 23 27 MAINTAINERCLEANFILES = 28 MOSTLYCLEANFILES = 24 29 25 # Is there a way to use a variable for the directory names? 30 if WITH_LIBPROFILER 31 LIBPROFILER = -lprofiler 32 endif 26 33 34 if WITH_LIBTCMALLOC 35 LIBTCMALLOC = -ltcmalloc 36 TCMALLOCFLAG = -DTCMALLOC 37 endif 38 39 include AST/module.mk 27 40 include CodeGen/module.mk 28 41 include CodeTools/module.mk … … 37 50 include SynTree/module.mk 38 51 include Tuples/module.mk 52 include Validate/module.mk 39 53 include Virtual/module.mk 40 54 55 $(addprefix $(srcdir)/, ResolvExpr/ConversionCost.cc ResolvExpr/CommonType.cc SymTab/ManglerCommon.cc) : $(srcdir)/SynTree/Type.h 56 57 $(srcdir)/AST/Type.hpp : BasicTypes-gen.cc 58 ${AM_V_GEN}${CXXCOMPILE} $< -o BasicTypes-gen -Wall -Wextra 59 @./BasicTypes-gen 60 @rm BasicTypes-gen 61 41 62 # put into lib for now 42 cfa_cpplibdir = ${CFA_LIBDIR} 43 cfa_cpplib_PROGRAMS = driver/cfa-cpp 44 driver_cfa_cpp_SOURCES = ${SRC} 45 driver_cfa_cpp_LDADD = -ldl # yywrap 46 driver_cfa_cpp_CXXFLAGS = -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I${abs_top_srcdir}/src/include -DYY_NO_INPUT -O2 -g -std=c++14 47 driver_cfa_cpp_LDFLAGS = -Xlinker -export-dynamic 63 cfa_cpplibdir = $(CFA_LIBDIR) 64 cfa_cpplib_PROGRAMS = ../driver/cfa-cpp $(DEMANGLER) 65 EXTRA_PROGRAMS = demangler 66 ___driver_cfa_cpp_SOURCES = $(SRC) 67 ___driver_cfa_cpp_LDADD = -ldl $(LIBPROFILER) $(LIBTCMALLOC) 68 69 AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O3 -g -std=c++14 $(TCMALLOCFLAG) 70 AM_LDFLAGS = @HOST_FLAGS@ -Xlinker -export-dynamic 71 ARFLAGS = cr 72 73 demangler_SOURCES = SymTab/demangler.cc # test driver for the demangler, also useful as a sanity check that libdemangle.a is complete 74 75 demangler_LDADD = libdemangle.a -ldl # yywrap 76 77 noinst_LIBRARIES = $(LIBDEMANGLE) 78 EXTRA_LIBRARIES = libdemangle.a 79 libdemangle_a_SOURCES = $(SRCDEMANGLE) 48 80 49 81 MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
Note:
See TracChangeset
for help on using the changeset viewer.