source: src/Makefile.am @ 9856ca9

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationjenkins-sandboxnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 9856ca9 was d908563, checked in by Thierry Delisle <tdelisle@…>, 5 years ago

Merge branch 'master' into cleanup-dtors

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[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
[1f86d5e]12## Last Modified By : Peter A. Buhr
[ada4575]13## Last Modified On : Fri Feb 15 09:44:09 2019
14## Update Count     : 97
[00cc023]15###############################################################################
16
17# create object files in directory with source files
[0c1b566]18AUTOMAKE_OPTIONS = foreign subdir-objects
[107b01a]19ACLOCAL_AMFLAGS  = -I automake
[00cc023]20
[d3b7937]21SRC = main.cc \
[7abee38]22      MakeLibCfa.cc \
23      CompilationState.cc
24
25SRCDEMANGLE = CompilationState.cc
[d3b7937]26
27MAINTAINERCLEANFILES =
[1f86d5e]28MOSTLYCLEANFILES =
[00cc023]29
[292d599]30if WITH_LIBPROFILER
31LIBPROFILER = -lprofiler
32endif
[4fd45bc]33
[292d599]34if WITH_LIBTCMALLOC
35LIBTCMALLOC = -ltcmalloc
36TCMALLOCFLAG = -DTCMALLOC
37endif
[d3b7937]38
[dccc091]39include AST/module.mk
[00cc023]40include CodeGen/module.mk
[41a7137]41include CodeTools/module.mk
[68ac32e]42include Concurrency/module.mk
[00cc023]43include Common/module.mk
44include ControlStruct/module.mk
45include GenPoly/module.mk
46include InitTweak/module.mk
47include Parser/module.mk
48include ResolvExpr/module.mk
49include SymTab/module.mk
50include SynTree/module.mk
51include Tuples/module.mk
[fd2debf]52include Validate/module.mk
[a5f0529]53include Virtual/module.mk
[00cc023]54
[ada4575]55$(addprefix $(srcdir)/, ResolvExpr/ConversionCost.cc ResolvExpr/CommonType.cc SymTab/ManglerCommon.cc) : $(srcdir)/SynTree/Type.h
56
57$(srcdir)/SynTree/Type.h : BasicTypes-gen.cc
[6ca6811]58        ${AM_V_GEN}${CXXCOMPILE} $< -o BasicTypes-gen -Wall -Wextra
[ada4575]59        @./BasicTypes-gen
60        @rm BasicTypes-gen
61
[00cc023]62# put into lib for now
[50697b0]63cfa_cpplibdir = $(CFA_LIBDIR)
[5e44ac2]64cfa_cpplib_PROGRAMS = ../driver/cfa-cpp demangler
[bf71cfd]65___driver_cfa_cpp_SOURCES = $(SRC)
[292d599]66___driver_cfa_cpp_LDADD = -ldl $(LIBPROFILER) $(LIBTCMALLOC)
[d1e0979]67
[292d599]68AM_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)
[47c1928]69AM_LDFLAGS  = @HOST_FLAGS@ -Xlinker -export-dynamic
[56b53b2]70ARFLAGS     = cr
[d3b7937]71
[2bfc6b2]72demangler_SOURCES = SymTab/demangler.cc # test driver for the demangler, also useful as a sanity check that libdemangle.a is complete
[d1e0979]73
[7abee38]74demangler_LDADD = libdemangle.a -ldl                    # yywrap
[d1e0979]75
76noinst_LIBRARIES = libdemangle.a
[7abee38]77libdemangle_a_SOURCES = $(SRCDEMANGLE)
[d1e0979]78
[d3b7937]79MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
Note: See TracBrowser for help on using the repository browser.