forked from cleishm/libcypher-parser
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile.am
More file actions
178 lines (173 loc) · 4.17 KB
/
Makefile.am
File metadata and controls
178 lines (173 loc) · 4.17 KB
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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
lib_LTLIBRARIES = libcypher-parser.la
include_HEADERS = cypher-parser.h
libcypher_parser_la_SOURCES = \
annotation.c \
annotation.h \
ast.c \
ast.h \
astnode.h \
ast_all.c \
ast_all_nodes_scan.c \
ast_all_rels_scan.c \
ast_any.c \
ast_apply_operator.c \
ast_apply_all_operator.c \
ast_boolean.c \
ast_binary_operator.c \
ast_block_comment.c \
ast_call.c \
ast_case.c \
ast_collection.c \
ast_command.c \
ast_comment.c \
ast_comparison.c \
ast_create.c \
ast_create_node_props_index.c \
ast_create_node_prop_constraint.c \
ast_create_rel_prop_constraint.c \
ast_cypher_option.c \
ast_cypher_option_param.c \
ast_delete.c \
ast_drop_node_props_index.c \
ast_drop_node_prop_constraint.c \
ast_drop_rel_prop_constraint.c \
ast_error.c \
ast_explain_option.c \
ast_expression.c \
ast_extract.c \
ast_false.c \
ast_filter.c \
ast_float.c \
ast_foreach.c \
ast_function_name.c \
ast_identifier.c \
ast_index_name.c \
ast_integer.c \
ast_label.c \
ast_labels_operator.c \
ast_line_comment.c \
ast_list_comprehension.c \
ast_load_csv.c \
ast_match.c \
ast_match_hint.c \
ast_map.c \
ast_merge.c \
ast_merge_action.c \
ast_merge_properties.c \
ast_named_path.c \
ast_node_id_lookup.c \
ast_node_index_lookup.c \
ast_node_index_query.c \
ast_node_pattern.c \
ast_none.c \
ast_null.c \
ast_on_create.c \
ast_on_match.c \
ast_order_by.c \
ast_parameter.c \
ast_path_pattern.c \
ast_path_pattern_any.c \
ast_path_pattern_expression.c \
ast_path_pattern_alternative.c \
ast_path_pattern_base.c \
ast_path_pattern_edge.c \
ast_path_pattern_reference.c \
ast_pattern.c \
ast_pattern_comprehension.c \
ast_pattern_path.c \
ast_proc_name.c \
ast_profile_option.c \
ast_projection.c \
ast_prop_name.c \
ast_property_operator.c \
ast_query.c \
ast_query_clause.c \
ast_query_option.c \
ast_range.c \
ast_range_plus.c \
ast_range_optional.c \
ast_reduce.c \
ast_rel_id_lookup.c \
ast_rel_index_lookup.c \
ast_rel_index_query.c \
ast_remove.c \
ast_remove_item.c \
ast_remove_labels.c \
ast_remove_property.c \
ast_rel_pattern.c \
ast_reltype.c \
ast_return.c \
ast_schema_command.c \
ast_set.c \
ast_set_all_properties.c \
ast_set_item.c \
ast_set_labels.c \
ast_set_property.c \
ast_shortest_path.c \
ast_single.c \
ast_slice_operator.c \
ast_sort_item.c \
ast_start.c \
ast_start_point.c \
ast_statement.c \
ast_statement_option.c \
ast_string.c \
ast_subscript_operator.c \
ast_map_projection.c \
ast_map_projection_selector.c \
ast_map_projection_literal.c \
ast_map_projection_property.c \
ast_map_projection_identifier.c \
ast_map_projection_all_properties.c \
ast_true.c \
ast_unary_operator.c \
ast_union.c \
ast_unwind.c \
ast_using_index.c \
ast_using_join.c \
ast_using_periodic_commit.c \
ast_using_scan.c \
ast_with.c \
errors.c \
errors.h \
operators.c \
operators.h \
parser.c \
parser.leg \
parser_config.c \
parser_config.h \
quick_parser.c \
quick_parser.leg \
result.c \
result.h \
segment.c \
segment.h \
string_buffer.c \
string_buffer.h \
util.c \
util.h \
vector.c \
vector.h
libcypher_parser_la_CFLAGS = $(PTHREAD_CFLAGS) $(OPENSSL_CFLAGS) -Wpedantic -Wvla
libcypher_parser_la_LIBADD = $(PTHREAD_LIBS) $(OPENSSL_LIBS) $(LIBM)
# Updating the version-info:
# 1. If the library source code has changed at all since the last update, then
# increment revision (‘c:r:a’ becomes ‘c:r+1:a’).
# 2. If any interfaces have been added, removed, or changed since the last
# update, increment current, and set revision to 0.
# 3. If any interfaces have been added since the last public release, then
# increment age.
# 4. If any interfaces have been removed or changed since the last public
# release, then set age to 0.
libcypher_parser_la_LDFLAGS = -version-info 10:2:2
parser.c: parser_leg.c
quick_parser.c: quick_parser_leg.c
if HAVE_LEG
%_leg.c: %.leg
$(LEG) -o $@ $<
else
%_leg.c: %.leg
$(error Cannot compile .leg source file, as the leg compiler was not found by the configure script: please install http://piumarta.com/software/peg/ and re-run the configure script)
endif
EXTRA_DIST = parser_leg.c quick_parser_leg.c
MAINTAINERCLEANFILES = parser_leg.c quick_parser_leg.c