-
Notifications
You must be signed in to change notification settings - Fork 48
/
Copy pathMakefile.am
135 lines (103 loc) · 3.43 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
METASOURCES = AUTO
AUTOMAKE_OPTIONS = subdir-objects
AM_CPPFLAGS = $(all_includes) -I$(BOOST_DIR) -I$(ABSEIL_DIR)
AM_LDFLAGS += $(BOOST_LDFLAGS)
# main list of binary produced
bin_PROGRAMS =
noinst_LTLIBRARIES =
noinst_HEADERS = Parameter.hpp constant_strings.hpp
Parameter.cpp : branch_name.hpp revision_hash.hpp
if INSIDE_GIT
branch_name.hpp : $(GIT_WORKTREE_PATH)/HEAD $(GIT_WORKTREE_PATH)/index
@echo "\"`git --git-dir $(GIT_WORKTREE_PATH) rev-parse --abbrev-ref HEAD`\"" >$@
revision_hash.hpp : $(GIT_WORKTREE_PATH)/HEAD $(GIT_WORKTREE_PATH)/index
@echo "\"`git --git-dir $(GIT_WORKTREE_PATH) rev-parse HEAD`\"" > $@
else
branch_name.hpp : $(top_srcdir)/dist_revision_info
@sed -n 2p $(top_srcdir)/dist_revision_info > $@
revision_hash.hpp : $(top_srcdir)/dist_revision_info
@sed -n 1p $(top_srcdir)/dist_revision_info > $@
endif
SUBDIRS =
DIST_SUBDIRS =
EXTRA_DIST =
PRJ_DOC = src.doc
include $(top_srcdir)/src/constants/constants.am
if BUILD_LIB_ALGORITHMS
include $(top_srcdir)/src/algorithms/algorithms.am
endif
if BUILD_LIB_BEHAVIOR
include $(top_srcdir)/src/behavior/behavior.am
endif
if BUILD_LIB_CIRCUIT
include $(top_srcdir)/src/circuit/circuit.am
endif
if BUILD_LIB_DESIGN_FLOWS
include $(top_srcdir)/src/design_flows/design_flows.am
endif
if BUILD_LIB_FRONTEND_ANALYSIS
include $(top_srcdir)/src/frontend_analysis/frontend_analysis.am
endif
if BUILD_LIB_GRAPH
include $(top_srcdir)/src/graph/graph.am
AM_CPPFLAGS += -I$(top_srcdir)/src/graph
endif
if BUILD_LIB_HLS
SUBDIRS += HLS
DIST_SUBDIRS += HLS
endif
if BUILD_LIB_INTERMEDIATE_REPRESENTATIONS
include $(top_srcdir)/src/intermediate_representations/intermediate_representations.am
endif
if BUILD_LIB_ILP
include $(top_srcdir)/src/ilp/ilp.am
endif
if BUILD_LIB_PARSER
SUBDIRS += parser
DIST_SUBDIRS += parser
if BUILD_LIB_FROM_C
AM_CPPFLAGS += \
-I$(top_srcdir)/src/parser/compiler
endif
endif
if BUILD_LIB_POLIXML
include $(top_srcdir)/src/polixml/polixml.am
AM_CPPFLAGS += -I$(top_srcdir)/src/polixml \
-I$(top_srcdir)/src/parser/polixml
endif
if BUILD_LIB_PRAGMA
include $(top_srcdir)/src/pragma/pragma.am
endif
if BUILD_LIB_TREE
include $(top_srcdir)/src/tree/tree.am
endif
if BUILD_LIB_WRAPPER
include $(top_srcdir)/src/wrapper/wrapper.am
endif
if BUILD_LIB_TECHNOLOGY
include $(top_srcdir)/src/technology/technology.am
endif
if BUILD_LIB_UTILITY
include $(top_srcdir)/src/utility/utility.am
AM_CPPFLAGS += -I$(top_srcdir)/src/utility
endif
#################################### Spider ####################################
if BUILD_SPIDER
include $(top_srcdir)/src/spider.am
endif
############################### tree-panda-gcc #################################
if BUILD_TREE_PANDA_GCC
include $(top_srcdir)/src/tree-panda-gcc.am
endif
########################### EUCALYPTUS SECTION ###########################
if BUILD_EUCALYPTUS
include $(top_srcdir)/src/eucalyptus.am
endif
########################### BAMBU SECTION ###########################
if BUILD_BAMBU
include $(top_srcdir)/src/bambu.am
endif
########################### DOC SECTION ###########################
DOX_TAGFILES = src/tree src/graph src/behavior src/technology src/utility src/parser src/edif src/algorithms src/circuit src/ilp src/regularity src/backend src/design_flows/backend/ToHDL src/HLS src/HLS/module_allocation src/HLS/binding src/HLS/controller src/HLS/datapath src/HLS/estimation src/HLS/hls_flow src/HLS/target src/HLS/scheduling
EXTRA_DIST += $(PRJ_DOC)
#do not touch the following line