source: src/Makefile.am @ 72514aa

aaron-thesisarm-ehcleanup-dtorsjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpersistent-indexer
Last change on this file since 72514aa was 72514aa, checked in by Thierry Delisle <tdelisle@…>, 3 years ago

Fixed bad merge on some files

  • Property mode set to 100644
File size: 4.1 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
19ACLOCAL_AMFLAGS  = -I automake
20
21SRC = main.cc \
22                        MakeLibCfa.cc \
23                        CompilationState.cc
24
25MAINTAINERCLEANFILES =
26MOSTLYCLEANFILES = Parser/gcc-flags.h
27
28Parser/gcc-flags.h :
29        ${AM_V_GEN}$(CC) -dM -E - < /dev/null | sed 's/define /define __GCC__/' > $(@)
30
31Parser/lex.ll : Parser/gcc-flags.h
32
33include CodeGen/module.mk
34include CodeTools/module.mk
35include Concurrency/module.mk
36include Common/module.mk
37include ControlStruct/module.mk
38include GenPoly/module.mk
39include InitTweak/module.mk
40include Parser/module.mk
41include ResolvExpr/module.mk
42include SymTab/module.mk
43include SynTree/module.mk
44include Tuples/module.mk
45include Validate/module.mk
46include Virtual/module.mk
47
48# put into lib for now
49cfa_cpplibdir = $(CFA_LIBDIR)
50cfa_cpplib_PROGRAMS = ../driver/cfa-cpp demangler
51___driver_cfa_cpp_SOURCES = $(SRC)
52___driver_cfa_cpp_LDADD = -ldl                  # yywrap
53
54AM_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
55AM_LDFLAGS  = @HOST_FLAGS@ -Xlinker -export-dynamic
56ARFLAGS     = cr
57
58demangler_SOURCES = SymTab/demangler.cc
59
60demangler_LDADD = libdemangle.a     # yywrap
61
62noinst_LIBRARIES = libdemangle.a
63libdemangle_a_SOURCES = SymTab/Demangle.cc SymTab/ManglerCommon.cc \
64        SynTree/Type.cc \
65        SynTree/VoidType.cc \
66        SynTree/BasicType.cc \
67        SynTree/PointerType.cc \
68        SynTree/ArrayType.cc \
69        SynTree/ReferenceType.cc \
70        SynTree/FunctionType.cc \
71        SynTree/ReferenceToType.cc \
72        SynTree/TupleType.cc \
73        SynTree/TypeofType.cc \
74        SynTree/AttrType.cc \
75        SynTree/VarArgsType.cc \
76        SynTree/ZeroOneType.cc \
77        SynTree/Constant.cc \
78        SynTree/Expression.cc \
79        SynTree/TupleExpr.cc \
80        SynTree/CommaExpr.cc \
81        SynTree/TypeExpr.cc \
82        SynTree/ApplicationExpr.cc \
83        SynTree/AddressExpr.cc \
84        SynTree/Statement.cc \
85        SynTree/CompoundStmt.cc \
86        SynTree/DeclStmt.cc \
87        SynTree/Declaration.cc \
88        SynTree/DeclarationWithType.cc \
89        SynTree/ObjectDecl.cc \
90        SynTree/FunctionDecl.cc \
91        SynTree/AggregateDecl.cc \
92        SynTree/NamedTypeDecl.cc \
93        SynTree/TypeDecl.cc \
94        SynTree/Initializer.cc \
95        SynTree/TypeSubstitution.cc \
96        SynTree/Attribute.cc \
97        SynTree/DeclReplacer.cc \
98        CompilationState.cc \
99        CodeGen/CodeGenerator.cc \
100        CodeGen/FixMain.cc \
101        CodeGen/GenType.cc \
102        CodeGen/OperatorTable.cc \
103        Common/Assert.cc \
104        Common/Eval.cc \
105        Common/SemanticError.cc \
106        Common/UniqueName.cc \
107        Concurrency/Keywords.cc \
108        ControlStruct/ForExprMutator.cc \
109        ControlStruct/LabelFixer.cc \
110        ControlStruct/LabelGenerator.cc \
111        ControlStruct/MLEMutator.cc \
112        ControlStruct/Mutate.cc \
113        GenPoly/GenPoly.cc \
114        GenPoly/Lvalue.cc \
115        InitTweak/GenInit.cc \
116        InitTweak/InitTweak.cc \
117        Parser/LinkageSpec.cc \
118        ResolvExpr/AdjustExprType.cc \
119        ResolvExpr/Alternative.cc \
120        ResolvExpr/AlternativeFinder.cc \
121        ResolvExpr/ExplodedActual.cc \
122        ResolvExpr/CastCost.cc \
123        ResolvExpr/CommonType.cc \
124        ResolvExpr/ConversionCost.cc \
125        ResolvExpr/CurrentObject.cc \
126        ResolvExpr/FindOpenVars.cc \
127        ResolvExpr/Occurs.cc \
128        ResolvExpr/PolyCost.cc \
129        ResolvExpr/PtrsAssignable.cc \
130        ResolvExpr/PtrsCastable.cc \
131        ResolvExpr/RenameVars.cc \
132        ResolvExpr/ResolveAssertions.cc \
133        ResolvExpr/Resolver.cc \
134        ResolvExpr/ResolveTypeof.cc \
135        ResolvExpr/SpecCost.cc \
136        ResolvExpr/TypeEnvironment.cc \
137        ResolvExpr/Unify.cc \
138        SymTab/Autogen.cc \
139        SymTab/FixFunction.cc \
140        SymTab/Indexer.cc \
141        SymTab/Mangler.cc \
142        SymTab/Validate.cc \
143        Tuples/Explode.cc \
144        Tuples/TupleAssignment.cc \
145        Tuples/TupleExpansion.cc \
146        Validate/HandleAttributes.cc
147
148MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
Note: See TracBrowser for help on using the repository browser.