source: src/Makefile.am @ 1427e90

ADTaaron-thesisarm-ehast-experimentalcleanup-dtorsdeferred_resnenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprno_listpersistent-indexerpthread-emulationqualifiedEnum
Last change on this file since 1427e90 was 107b01a, checked in by Thierry Delisle <tdelisle@…>, 6 years ago

Several changes to the makefiles

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