-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile.am
154 lines (136 loc) · 3.55 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
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
SUBDIRS = . arch examples lp-creation-python-policy testsuite
AM_YFLAGS = -d
BUILT_SOURCES = gnuc_parser.hh pp_expr_parser.hh stack.hh
EXTRA_DIST = COPYING stack.hh
stack.hh: gnuc_parser.hh pp_expr_parser.hh
noinst_HEADERS = \
ast.hh \
ast_evaluate.hh \
ast_impl.hh \
ast_processor.hh \
ast_processor_impl.hh \
builtins.hh \
builtins_impl.hh \
callables_wrapper.hh \
cmdline_except.hh \
code_remark.hh \
code_remarks.hh \
constexpr_value.hh \
create_lp.hh \
depreprocessor.hh \
execution_charset_encoder.hh \
execution_charset_encoder_iconv.hh \
gcc_cmdline_parser.hh \
gcc_cmdline_opts_common.cc \
gcc_cmdline_opts_c_family.cc \
gcc_cmdline_opts_i386.cc \
gnuc_parser_driver.hh \
header_resolver.hh \
lp_creation_policy.hh \
lp_creation_python_policy.hh \
lp_except.hh \
mp_arithmetic.hh \
offset_to_line_col_map.hh \
output_remark.hh \
output_remarks.hh \
parse_except.hh \
path.hh \
pp_except.hh \
pp_expr_parser_driver.hh \
pp_result.hh \
pp_token.hh \
pp_tokens.hh \
pp_tokens_range.hh \
pp_tokenizer.hh \
preprocessor.hh \
range_in_file.hh \
raw_pp_token.hh \
raw_pp_tokens.hh \
raw_pp_tokens_range.hh \
ret_type_invoker.hh \
semantic_except.hh \
source_reader.hh \
source_writer.hh \
target.hh \
target_gcc.hh \
target_x86_64_gcc.hh \
target_float.hh \
target_int.hh \
type_set.hh \
types.hh \
types_impl.hh
noinst_LIBRARIES = libcp.a
libcp_a_SOURCES = \
ast.cc \
ast_evaluate.cc \
ast_resolve.cc \
builtins.cc \
builtins_impl.cc \
cmdline_except.cc \
code_remark.cc \
code_remarks.cc \
constexpr_value.cc \
create_lp.cc \
depreprocessor.cc \
execution_charset_encoder.cc \
execution_charset_encoder_iconv.cc \
gcc_cmdline_parser.cc \
gnuc_parser.yy \
gnuc_parser_driver.cc \
header_resolver.cc \
lp_creation_policy.cc \
lp_except.cc \
mp_arithmetic.cc \
offset_to_line_col_map.cc \
output_remark.cc \
output_remarks.cc \
parse_except.cc \
path.cc \
pp_except.cc \
pp_expr_parser.yy \
pp_expr_parser_driver.cc \
pp_result.cc \
pp_token.cc \
pp_tokens.cc \
pp_tokens_range.cc \
pp_tokenizer.cc \
preprocessor.cc \
raw_pp_token.cc \
semantic_except.cc \
source_reader.cc \
source_writer.cc \
target.cc \
target_gcc.cc \
target_x86_64_gcc.cc \
target_float.cc \
target_int.cc \
types.cc
# Compile into a separate intermediate library to allow for using the
# python CPPFLAGS only for this.
noinst_LIBRARIES += libklp-ccp-pypol.a
pypoldir = $(pkglibdir)/lp-creation-python-policy
libklp_ccp_pypol_a_SOURCES = lp_creation_python_policy.cc
libklp_ccp_pypol_a_CPPFLAGS = \
-DKLP_CCP_PYPOL_DIR='"$(pypoldir)"' \
$(PYTHON3_EMBED_CFLAGS)
bin_PROGRAMS = klp-ccp
klp_ccp_SOURCES = klp_ccp.cc
klp_ccp_LDADD = libklp-ccp-pypol.a libcp.a $(PYTHON3_EMBED_LIBS)
check_PROGRAMS = cpp_tokenize normalize_path dirname cpp cparse \
test_mp_arithmetic test_target_int test_target_float
cpp_tokenize_SOURCES = cpp_tokenize.cc
cpp_tokenize_LDADD = libcp.a
normalize_path_SOURCES = normalize_path.cc
normalize_path_LDADD = libcp.a
dirname_SOURCES = dirname.cc
dirname_LDADD = libcp.a
cpp_SOURCES = cpp.cc
cpp_LDADD = libcp.a
cparse_SOURCES = cparse.cc
cparse_LDADD = libcp.a
test_mp_arithmetic_SOURCES = test_mp_arithmetic.cc
test_mp_arithmetic_LDADD = libcp.a
test_target_int_SOURCES = test_target_int.cc
test_target_int_LDADD = libcp.a
test_target_float_SOURCES = test_target_float.cc
test_target_float_LDADD = libcp.a