source: src/Makefile.am @ 6a9d4b4

ADTarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 6a9d4b4 was a200795, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Merge branch 'master' into cleanup-dtors

  • Property mode set to 100644
File size: 4.2 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 # test driver for the demangler, also useful as a sanity check that libdemangle.a is complete
59
60demangler_LDADD = libdemangle.a     # yywrap
61
62noinst_LIBRARIES = libdemangle.a
63libdemangle_a_SOURCES = \
64        SymTab/Demangle.cc \
65        SymTab/ManglerCommon.cc \
66        SynTree/Type.cc \
67        SynTree/VoidType.cc \
68        SynTree/BasicType.cc \
69        SynTree/PointerType.cc \
70        SynTree/ArrayType.cc \
71        SynTree/ReferenceType.cc \
72        SynTree/FunctionType.cc \
73        SynTree/ReferenceToType.cc \
74        SynTree/TupleType.cc \
75        SynTree/TypeofType.cc \
76        SynTree/AttrType.cc \
77        SynTree/VarArgsType.cc \
78        SynTree/ZeroOneType.cc \
79        SynTree/Constant.cc \
80        SynTree/Expression.cc \
81        SynTree/TupleExpr.cc \
82        SynTree/CommaExpr.cc \
83        SynTree/TypeExpr.cc \
84        SynTree/ApplicationExpr.cc \
85        SynTree/AddressExpr.cc \
86        SynTree/Statement.cc \
87        SynTree/CompoundStmt.cc \
88        SynTree/DeclStmt.cc \
89        SynTree/Declaration.cc \
90        SynTree/DeclarationWithType.cc \
91        SynTree/ObjectDecl.cc \
92        SynTree/FunctionDecl.cc \
93        SynTree/AggregateDecl.cc \
94        SynTree/NamedTypeDecl.cc \
95        SynTree/TypeDecl.cc \
96        SynTree/Initializer.cc \
97        SynTree/TypeSubstitution.cc \
98        SynTree/Attribute.cc \
99        SynTree/DeclReplacer.cc \
100        CompilationState.cc \
101        CodeGen/CodeGenerator.cc \
102        CodeGen/FixMain.cc \
103        CodeGen/Generate.cc \
104        CodeGen/GenType.cc \
105        CodeGen/OperatorTable.cc \
106        Common/Assert.cc \
107        Common/Eval.cc \
108        Common/SemanticError.cc \
109        Common/UniqueName.cc \
110        Concurrency/Keywords.cc \
111        ControlStruct/ForExprMutator.cc \
112        ControlStruct/LabelFixer.cc \
113        ControlStruct/LabelGenerator.cc \
114        ControlStruct/MLEMutator.cc \
115        ControlStruct/Mutate.cc \
116        GenPoly/GenPoly.cc \
117        GenPoly/Lvalue.cc \
118        InitTweak/GenInit.cc \
119        InitTweak/InitTweak.cc \
120        Parser/LinkageSpec.cc \
121        ResolvExpr/AdjustExprType.cc \
122        ResolvExpr/Alternative.cc \
123        ResolvExpr/AlternativeFinder.cc \
124        ResolvExpr/ExplodedActual.cc \
125        ResolvExpr/CastCost.cc \
126        ResolvExpr/CommonType.cc \
127        ResolvExpr/ConversionCost.cc \
128        ResolvExpr/CurrentObject.cc \
129        ResolvExpr/FindOpenVars.cc \
130        ResolvExpr/Occurs.cc \
131        ResolvExpr/PolyCost.cc \
132        ResolvExpr/PtrsAssignable.cc \
133        ResolvExpr/PtrsCastable.cc \
134        ResolvExpr/RenameVars.cc \
135        ResolvExpr/ResolveAssertions.cc \
136        ResolvExpr/Resolver.cc \
137        ResolvExpr/ResolveTypeof.cc \
138        ResolvExpr/SpecCost.cc \
139        ResolvExpr/TypeEnvironment.cc \
140        ResolvExpr/Unify.cc \
141        SymTab/Autogen.cc \
142        SymTab/FixFunction.cc \
143        SymTab/Indexer.cc \
144        SymTab/Mangler.cc \
145        SymTab/Validate.cc \
146        Tuples/Explode.cc \
147        Tuples/TupleAssignment.cc \
148        Tuples/TupleExpansion.cc \
149        Validate/HandleAttributes.cc \
150        Validate/FindSpecialDecls.cc
151
152
153MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
Note: See TracBrowser for help on using the repository browser.