source: src/Makefile.am @ 62315a0

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

Fixed problem with TCMALLOC and heap stats

  • Property mode set to 100644
File size: 2.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 : 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
25SRCDEMANGLE = CompilationState.cc
26
27MAINTAINERCLEANFILES =
28MOSTLYCLEANFILES =
29
30if WITH_LIBPROFILER
31LIBPROFILER = -lprofiler
32endif
33
34if WITH_LIBTCMALLOC
35LIBTCMALLOC = -ltcmalloc
36TCMALLOCFLAG = -DTCMALLOC
37endif
38
39include CodeGen/module.mk
40include CodeTools/module.mk
41include Concurrency/module.mk
42include Common/module.mk
43include ControlStruct/module.mk
44include GenPoly/module.mk
45include InitTweak/module.mk
46include Parser/module.mk
47include ResolvExpr/module.mk
48include SymTab/module.mk
49include SynTree/module.mk
50include Tuples/module.mk
51include Validate/module.mk
52include Virtual/module.mk
53
54$(addprefix $(srcdir)/, ResolvExpr/ConversionCost.cc ResolvExpr/CommonType.cc SymTab/ManglerCommon.cc) : $(srcdir)/SynTree/Type.h
55
56$(srcdir)/SynTree/Type.h : BasicTypes-gen.cc
57        ${AM_V_GEN}${CXXCOMPILE} $< -o BasicTypes-gen -Wall -Wextra
58        @./BasicTypes-gen
59        @rm BasicTypes-gen
60
61# put into lib for now
62cfa_cpplibdir = $(CFA_LIBDIR)
63cfa_cpplib_PROGRAMS = ../driver/cfa-cpp demangler
64___driver_cfa_cpp_SOURCES = $(SRC)
65___driver_cfa_cpp_LDADD = -ldl $(LIBPROFILER) $(LIBTCMALLOC)
66
67AM_CXXFLAGS = @HOST_FLAGS@ -Wno-deprecated -Wall -Wextra -DDEBUG_ALL -I./Parser -I$(srcdir)/Parser -I$(srcdir)/include -DYY_NO_INPUT -O3 -g -std=c++14 $(TCMALLOCFLAG)
68AM_LDFLAGS  = @HOST_FLAGS@ -Xlinker -export-dynamic
69ARFLAGS     = cr
70
71demangler_SOURCES = SymTab/demangler.cc
72
73demangler_LDADD = libdemangle.a -ldl                    # yywrap
74
75noinst_LIBRARIES = libdemangle.a
76libdemangle_a_SOURCES = $(SRCDEMANGLE)
77
78MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
Note: See TracBrowser for help on using the repository browser.