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
|
---|
18 | AUTOMAKE_OPTIONS = foreign subdir-objects
|
---|
19 |
|
---|
20 | SRC = main.cc \
|
---|
21 | MakeLibCfa.cc \
|
---|
22 | CompilationState.cc
|
---|
23 |
|
---|
24 | MAINTAINERCLEANFILES =
|
---|
25 | MOSTLYCLEANFILES =
|
---|
26 |
|
---|
27 | # Is there a way to use a variable for the directory names?
|
---|
28 |
|
---|
29 | include CodeGen/module.mk
|
---|
30 | include CodeTools/module.mk
|
---|
31 | include Concurrency/module.mk
|
---|
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
|
---|
41 | include Validate/module.mk
|
---|
42 | include Virtual/module.mk
|
---|
43 |
|
---|
44 | # put into lib for now
|
---|
45 | cfa_cpplibdir = $(CFA_LIBDIR)
|
---|
46 | cfa_cpplib_PROGRAMS = ../driver/cfa-cpp
|
---|
47 | ___driver_cfa_cpp_SOURCES = $(SRC)
|
---|
48 | ___driver_cfa_cpp_LDADD = -ldl # yywrap
|
---|
49 |
|
---|
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
|
---|
52 |
|
---|
53 | MAINTAINERCLEANFILES += ${libdir}/${notdir ${cfa_cpplib_PROGRAMS}}
|
---|