source: src/Makefile.am @ 550e819

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resndemanglerenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 550e819 was 2987b30, checked in by Rob Schluntz <rschlunt@…>, 6 years ago

libdemangle now shares .o files with cfa-cpp

  • Property mode set to 100644
File size: 4.0 KB
Line 
1######################## -*- Mode: Makefile-Automake -*- ######################
2##
3## Cforall Version 1.0.0 Copyright (C) 2015 University of Waterloo
4##
5## The contents of this file are covered under the licence agreement in the
6## file "LICENCE" distributed with Cforall.
7##
8## Makefile.am --
9##
10## Author           : Peter A. Buhr
11## Created On       : Sun May 31 08:51:46 2015
12## Last Modified By : Andrew Beach
13## Last Modified On : Tus Jul 25 10:34:00 2017
14## Update Count     : 76
15###############################################################################
16
17# create object files in directory with source files
18AUTOMAKE_OPTIONS = foreign subdir-objects
19
20SRC = main.cc \
21      MakeLibCfa.cc \
22      CompilationState.cc
23
24MAINTAINERCLEANFILES =
25MOSTLYCLEANFILES =
26
27# Is there a way to use a variable for the directory names?
28
29include CodeGen/module.mk
30include CodeTools/module.mk
31include Concurrency/module.mk
32include Common/module.mk
33include ControlStruct/module.mk
34include GenPoly/module.mk
35include InitTweak/module.mk
36include Parser/module.mk
37include ResolvExpr/module.mk
38include SymTab/module.mk
39include SynTree/module.mk
40include Tuples/module.mk
41include Validate/module.mk
42include Virtual/module.mk
43
44# put into lib for now
45cfa_cpplibdir = $(CFA_LIBDIR)
46cfa_cpplib_PROGRAMS = ../driver/cfa-cpp demangler
47___driver_cfa_cpp_SOURCES = $(SRC)
48___driver_cfa_cpp_LDADD = -ldl                  # yywrap
49
50AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O2 -g -std=c++14
51AM_LDFLAGS  = @HOST_FLAGS@ -Xlinker -export-dynamic
52
53demangler_SOURCES = SymTab/demangler.cc
54
55demangler_LDADD = libdemangle.a     # yywrap
56
57noinst_LIBRARIES = libdemangle.a
58libdemangle_a_SOURCES = SymTab/Demangle.cc SymTab/ManglerCommon.cc \
59  SynTree/Type.cc \
60  SynTree/VoidType.cc \
61  SynTree/BasicType.cc \
62  SynTree/PointerType.cc \
63  SynTree/ArrayType.cc \
64  SynTree/ReferenceType.cc \
65  SynTree/FunctionType.cc \
66  SynTree/ReferenceToType.cc \
67  SynTree/TupleType.cc \
68  SynTree/TypeofType.cc \
69  SynTree/AttrType.cc \
70  SynTree/VarArgsType.cc \
71  SynTree/ZeroOneType.cc \
72  SynTree/Constant.cc \
73  SynTree/Expression.cc \
74  SynTree/TupleExpr.cc \
75  SynTree/CommaExpr.cc \
76  SynTree/TypeExpr.cc \
77  SynTree/ApplicationExpr.cc \
78  SynTree/AddressExpr.cc \
79  SynTree/Statement.cc \
80  SynTree/CompoundStmt.cc \
81  SynTree/DeclStmt.cc \
82  SynTree/Declaration.cc \
83  SynTree/DeclarationWithType.cc \
84  SynTree/ObjectDecl.cc \
85  SynTree/FunctionDecl.cc \
86  SynTree/AggregateDecl.cc \
87  SynTree/NamedTypeDecl.cc \
88  SynTree/TypeDecl.cc \
89  SynTree/Initializer.cc \
90  SynTree/TypeSubstitution.cc \
91  SynTree/Attribute.cc \
92  SynTree/DeclReplacer.cc \
93  CompilationState.cc \
94  CodeGen/CodeGenerator.cc \
95  CodeGen/FixMain.cc \
96  CodeGen/GenType.cc \
97  CodeGen/OperatorTable.cc \
98  Common/Assert.cc \
99  Common/Eval.cc \
100  Common/SemanticError.cc \
101  Common/UniqueName.cc \
102  Concurrency/Keywords.cc \
103  ControlStruct/ForExprMutator.cc \
104  ControlStruct/LabelFixer.cc \
105  ControlStruct/LabelGenerator.cc \
106  ControlStruct/MLEMutator.cc \
107  ControlStruct/Mutate.cc \
108  GenPoly/GenPoly.cc \
109  GenPoly/Lvalue.cc \
110  InitTweak/GenInit.cc \
111  InitTweak/InitTweak.cc \
112  Parser/LinkageSpec.cc \
113  ResolvExpr/AdjustExprType.cc \
114  ResolvExpr/Alternative.cc \
115  ResolvExpr/AlternativeFinder.cc \
116  ResolvExpr/ExplodedActual.cc \
117  ResolvExpr/CastCost.cc \
118  ResolvExpr/CommonType.cc \
119  ResolvExpr/ConversionCost.cc \
120  ResolvExpr/CurrentObject.cc \
121  ResolvExpr/FindOpenVars.cc \
122  ResolvExpr/Occurs.cc \
123  ResolvExpr/PolyCost.cc \
124  ResolvExpr/PtrsAssignable.cc \
125  ResolvExpr/PtrsCastable.cc \
126  ResolvExpr/RenameVars.cc \
127  ResolvExpr/Resolver.cc \
128  ResolvExpr/ResolveTypeof.cc \
129  ResolvExpr/TypeEnvironment.cc \
130  ResolvExpr/Unify.cc \
131  SymTab/Autogen.cc \
132  SymTab/FixFunction.cc \
133  SymTab/Indexer.cc \
134  SymTab/Mangler.cc \
135  SymTab/Validate.cc \
136  Tuples/Explode.cc \
137  Tuples/TupleAssignment.cc \
138  Tuples/TupleExpansion.cc \
139  Validate/HandleAttributes.cc
140
141MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
Note: See TracBrowser for help on using the repository browser.