[00cc023] | 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 | ## |
---|
[0ebac75] | 8 | ## Makefile.am -- |
---|
[00cc023] | 9 | ## |
---|
| 10 | ## Author : Peter A. Buhr |
---|
| 11 | ## Created On : Sun May 31 08:51:46 2015 |
---|
[a5f0529] | 12 | ## Last Modified By : Andrew Beach |
---|
| 13 | ## Last Modified On : Tus Jul 25 10:34:00 2017 |
---|
| 14 | ## Update Count : 76 |
---|
[00cc023] | 15 | ############################################################################### |
---|
| 16 | |
---|
| 17 | # create object files in directory with source files |
---|
[0c1b566] | 18 | AUTOMAKE_OPTIONS = foreign subdir-objects |
---|
[107b01a] | 19 | ACLOCAL_AMFLAGS = -I automake |
---|
[00cc023] | 20 | |
---|
[d3b7937] | 21 | SRC = main.cc \ |
---|
[7f38b67a] | 22 | MakeLibCfa.cc \ |
---|
| 23 | CompilationState.cc |
---|
[d3b7937] | 24 | |
---|
| 25 | MAINTAINERCLEANFILES = |
---|
[fc846ae] | 26 | MOSTLYCLEANFILES = |
---|
[00cc023] | 27 | |
---|
| 28 | # Is there a way to use a variable for the directory names? |
---|
[d3b7937] | 29 | |
---|
[00cc023] | 30 | include CodeGen/module.mk |
---|
[41a7137] | 31 | include CodeTools/module.mk |
---|
[68ac32e] | 32 | include Concurrency/module.mk |
---|
[00cc023] | 33 | include Common/module.mk |
---|
| 34 | include ControlStruct/module.mk |
---|
| 35 | include GenPoly/module.mk |
---|
| 36 | include InitTweak/module.mk |
---|
| 37 | include Parser/module.mk |
---|
| 38 | include ResolvExpr/module.mk |
---|
| 39 | include SymTab/module.mk |
---|
| 40 | include SynTree/module.mk |
---|
| 41 | include Tuples/module.mk |
---|
[fd2debf] | 42 | include Validate/module.mk |
---|
[a5f0529] | 43 | include Virtual/module.mk |
---|
[00cc023] | 44 | |
---|
| 45 | # put into lib for now |
---|
[50697b0] | 46 | cfa_cpplibdir = $(CFA_LIBDIR) |
---|
[5e44ac2] | 47 | cfa_cpplib_PROGRAMS = ../driver/cfa-cpp demangler |
---|
[bf71cfd] | 48 | ___driver_cfa_cpp_SOURCES = $(SRC) |
---|
| 49 | ___driver_cfa_cpp_LDADD = -ldl # yywrap |
---|
[d1e0979] | 50 | |
---|
[47c1928] | 51 | AM_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 |
---|
| 52 | AM_LDFLAGS = @HOST_FLAGS@ -Xlinker -export-dynamic |
---|
[56b53b2] | 53 | ARFLAGS = cr |
---|
[d3b7937] | 54 | |
---|
[d1e0979] | 55 | demangler_SOURCES = SymTab/demangler.cc |
---|
| 56 | |
---|
| 57 | demangler_LDADD = libdemangle.a # yywrap |
---|
| 58 | |
---|
| 59 | noinst_LIBRARIES = libdemangle.a |
---|
| 60 | libdemangle_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 \ |
---|
[3bbd012] | 95 | CompilationState.cc \ |
---|
[d1e0979] | 96 | CodeGen/CodeGenerator.cc \ |
---|
| 97 | CodeGen/FixMain.cc \ |
---|
| 98 | CodeGen/GenType.cc \ |
---|
| 99 | CodeGen/OperatorTable.cc \ |
---|
| 100 | Common/Assert.cc \ |
---|
[3bbd012] | 101 | Common/Eval.cc \ |
---|
[d1e0979] | 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 \ |
---|
[3bbd012] | 140 | Tuples/TupleExpansion.cc \ |
---|
| 141 | Validate/HandleAttributes.cc |
---|
[d1e0979] | 142 | |
---|
[d3b7937] | 143 | MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}} |
---|