source: src/Makefile.am @ b43ea9e

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since b43ea9e was ada4575, checked in by Peter A. Buhr <pabuhr@…>, 5 years ago

programmatically creation basic-type declarations

  • Property mode set to 100644
File size: 4.3 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 : Peter A. Buhr
13## Last Modified On : Fri Feb 15 09:44:09 2019
14## Update Count     : 97
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 =
27
28include CodeGen/module.mk
29include CodeTools/module.mk
30include Concurrency/module.mk
31include Common/module.mk
32include ControlStruct/module.mk
33include GenPoly/module.mk
34include InitTweak/module.mk
35include Parser/module.mk
36include ResolvExpr/module.mk
37include SymTab/module.mk
38include SynTree/module.mk
39include Tuples/module.mk
40include Validate/module.mk
41include Virtual/module.mk
42
43$(addprefix $(srcdir)/, ResolvExpr/ConversionCost.cc ResolvExpr/CommonType.cc SymTab/ManglerCommon.cc) : $(srcdir)/SynTree/Type.h
44
45$(srcdir)/SynTree/Type.h : BasicTypes-gen.cc
46        ${AM_V_GEN}${CXX} ${AM_CXXFLAGS} ${CXXFLAGS} ${AM_CFLAGS} ${<} -o BasicTypes-gen -Wall -Wextra -O2 -g -std=c++14
47        @./BasicTypes-gen
48        @rm BasicTypes-gen
49
50# put into lib for now
51cfa_cpplibdir = $(CFA_LIBDIR)
52cfa_cpplib_PROGRAMS = ../driver/cfa-cpp demangler
53___driver_cfa_cpp_SOURCES = $(SRC)
54___driver_cfa_cpp_LDADD = -ldl                  # yywrap
55
56AM_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
57AM_LDFLAGS  = @HOST_FLAGS@ -Xlinker -export-dynamic
58ARFLAGS     = cr
59
60demangler_SOURCES = SymTab/demangler.cc
61
62demangler_LDADD = libdemangle.a                 # yywrap
63
64noinst_LIBRARIES = libdemangle.a
65libdemangle_a_SOURCES = SymTab/Demangle.cc 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/GenType.cc \
104        CodeGen/OperatorTable.cc \
105        Common/Assert.cc \
106        Common/Eval.cc \
107        Common/SemanticError.cc \
108        Common/UniqueName.cc \
109        Concurrency/Keywords.cc \
110        ControlStruct/ForExprMutator.cc \
111        ControlStruct/LabelFixer.cc \
112        ControlStruct/LabelGenerator.cc \
113        ControlStruct/MLEMutator.cc \
114        ControlStruct/Mutate.cc \
115        GenPoly/GenPoly.cc \
116        GenPoly/Lvalue.cc \
117        InitTweak/GenInit.cc \
118        InitTweak/InitTweak.cc \
119        Parser/LinkageSpec.cc \
120        ResolvExpr/AdjustExprType.cc \
121        ResolvExpr/Alternative.cc \
122        ResolvExpr/AlternativeFinder.cc \
123        ResolvExpr/ExplodedActual.cc \
124        ResolvExpr/CastCost.cc \
125        ResolvExpr/CommonType.cc \
126        ResolvExpr/ConversionCost.cc \
127        ResolvExpr/CurrentObject.cc \
128        ResolvExpr/FindOpenVars.cc \
129        ResolvExpr/Occurs.cc \
130        ResolvExpr/PolyCost.cc \
131        ResolvExpr/PtrsAssignable.cc \
132        ResolvExpr/PtrsCastable.cc \
133        ResolvExpr/RenameVars.cc \
134        ResolvExpr/ResolveAssertions.cc \
135        ResolvExpr/Resolver.cc \
136        ResolvExpr/ResolveTypeof.cc \
137        ResolvExpr/SpecCost.cc \
138        ResolvExpr/TypeEnvironment.cc \
139        ResolvExpr/Unify.cc \
140        SymTab/Autogen.cc \
141        SymTab/FixFunction.cc \
142        SymTab/Indexer.cc \
143        SymTab/Mangler.cc \
144        SymTab/Validate.cc \
145        Tuples/Explode.cc \
146        Tuples/TupleAssignment.cc \
147        Tuples/TupleExpansion.cc \
148        Validate/HandleAttributes.cc
149
150MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
Note: See TracBrowser for help on using the repository browser.