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