forked from kartta-labs/cgimap
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.am
152 lines (141 loc) · 6.28 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
ACLOCAL_AMFLAGS = -I aclocal
SUBDIRS=src
LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status libtool
cgimap_includedir=$(includedir)/cgimap
cgimap_include_HEADERS = \
include/cgimap/bbox.hpp \
include/cgimap/backend.hpp \
include/cgimap/config.hpp \
include/cgimap/data_selection.hpp \
include/cgimap/data_update.hpp \
include/cgimap/handler.hpp \
include/cgimap/http.hpp \
include/cgimap/infix_ostream_iterator.hpp \
include/cgimap/logger.hpp \
include/cgimap/mime_types.hpp \
include/cgimap/basicauth.hpp \
include/cgimap/output_buffer.hpp \
include/cgimap/output_formatter.hpp \
include/cgimap/process_request.hpp \
include/cgimap/rate_limiter.hpp \
include/cgimap/request_helpers.hpp \
include/cgimap/request.hpp \
include/cgimap/routes.hpp \
include/cgimap/types.hpp \
include/cgimap/util.hpp \
include/cgimap/zlib.hpp \
include/parsers/exception.hpp \
include/parsers/internal_error.hpp \
include/parsers/parse_error.hpp \
include/parsers/parser.hpp \
include/parsers/saxparser.hpp \
include/parsers/wrapped_exception.hpp
cgimap_api06_includedir=$(includedir)/cgimap/api06
cgimap_api06_include_HEADERS = \
include/cgimap/api06/changeset_close_handler.hpp \
include/cgimap/api06/changeset_create_handler.hpp \
include/cgimap/api06/changeset_download_handler.hpp \
include/cgimap/api06/changeset_handler.hpp \
include/cgimap/api06/changeset_update_handler.hpp \
include/cgimap/api06/changeset_upload_handler.hpp \
include/cgimap/api06/handler_utils.hpp \
include/cgimap/api06/map_handler.hpp \
include/cgimap/api06/node_handler.hpp \
include/cgimap/api06/node_history_handler.hpp \
include/cgimap/api06/node_relations_handler.hpp \
include/cgimap/api06/node_version_handler.hpp \
include/cgimap/api06/node_ways_handler.hpp \
include/cgimap/api06/nodes_handler.hpp \
include/cgimap/api06/relation_full_handler.hpp \
include/cgimap/api06/relation_handler.hpp \
include/cgimap/api06/relation_history_handler.hpp \
include/cgimap/api06/relation_relations_handler.hpp \
include/cgimap/api06/relation_version_handler.hpp \
include/cgimap/api06/relations_handler.hpp \
include/cgimap/api06/way_full_handler.hpp \
include/cgimap/api06/way_handler.hpp \
include/cgimap/api06/way_history_handler.hpp \
include/cgimap/api06/way_relations_handler.hpp \
include/cgimap/api06/way_version_handler.hpp \
include/cgimap/api06/ways_handler.hpp
cgimap_api06_changeset_upload_includedir=$(includedir)/cgimap/api06/changeset_upload
cgimap_api06_changeset_upload_include_HEADERS = \
include/cgimap/api06/changeset_upload/changeset_updater.hpp \
include/cgimap/api06/changeset_upload/node_updater.hpp \
include/cgimap/api06/changeset_upload/osmchange_handler.hpp \
include/cgimap/api06/changeset_upload/osmchange_input_format.hpp \
include/cgimap/api06/changeset_upload/osmchange_tracking.hpp \
include/cgimap/api06/changeset_upload/osmobject.hpp \
include/cgimap/api06/changeset_upload/relation.hpp \
include/cgimap/api06/changeset_upload/relation_updater.hpp \
include/cgimap/api06/changeset_upload/way_updater.hpp
if ENABLE_APIDB
cgimap_apidb_includedir=$(includedir)/cgimap/backend/apidb
cgimap_apidb_include_HEADERS = \
include/cgimap/backend/apidb/apidb.hpp \
include/cgimap/backend/apidb/cache.hpp \
include/cgimap/backend/apidb/changeset.hpp \
include/cgimap/backend/apidb/quad_tile.hpp \
include/cgimap/backend/apidb/readonly_pgsql_selection.hpp \
include/cgimap/backend/apidb/transaction_manager.hpp \
include/cgimap/backend/apidb/utils.hpp
cgimap_apidb_changeset_upload_includedir=$(includedir)/cgimap/backend/apidb/changeset_upload
cgimap_apidb_changeset_upload_include_HEADERS = \
include/cgimap/backend/apidb/changeset_upload/changeset_updater.hpp \
include/cgimap/backend/apidb/changeset_upload/node_updater.hpp \
include/cgimap/backend/apidb/changeset_upload/relation_updater.hpp \
include/cgimap/backend/apidb/changeset_upload/way_updater.hpp
endif
cgimap_staticxml_includedir=$(includedir)/cgimap/backend/staticxml
cgimap_staticxml_include_HEADERS = \
include/cgimap/backend/staticxml/staticxml.hpp
if ENABLE_API07
cgimap_api07_includedir=$(includedir)/cgimap/api07
cgimap_api07_include_HEADERS = \
include/cgimap/api07/map_handler.hpp
endif
TESTS = test/map.testcore test/node.testcore test/anon.testcore test/way.testcore test/relation.testcore
TESTS += test/empty.testcore test/way_full.testcore test/relation_full.testcore
TESTS += test/test_parse_id_list test/test_basicauth test/test_http test/test_parse_time
TESTS += test/changesets.testcore test/message.testcore test/routes.testcore
TESTS += test/redactions.testcore
TESTS += test/test_parse_osmchange_input
TESTS += test/test_parse_changeset_input
TESTS += test/node_ways.testcore
TESTS += test/node_relations.testcore
TESTS += test/way_relations.testcore
TESTS += test/relation_relations.testcore
if HAVE_YAJL
TESTS += test/json.testcore
endif
if ENABLE_APIDB
TESTS += \
test/test_apidb_backend_nodes \
test/test_apidb_backend_historic \
test/test_apidb_backend_changesets \
test/test_apidb_backend_changeset_downloads \
test/test_apidb_backend_changeset_uploads
endif
TEST_EXTENSIONS = .testcore
TESTCORE_LOG_COMPILER = test/test_core
if HAVE_CLANG_FORMAT
.PHONY: clang-format
clang-format:
@echo "Reformatting files..."; \
for i in include/api06/*.hpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in include/cgimap/api06/*.hpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in include/cgimap/api07/*.hpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in include/cgimap/backend/apidb/*.hpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in include/cgimap/backend/staticxml/*.hpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in include/cgimap/*.hpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in include/*.hpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in src/api06/*.cpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in src/api07/*.cpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in src/backend/apidb/*.cpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in src/backend/staticxml/*.cpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in src/*.cpp; do @CLANG_FORMAT@ -style=file -i $$i; done; \
for i in test/*.cpp; do @CLANG_FORMAT@ -style=file -i $$i; done;
endif
man1_MANS = openstreetmap-cgimap.1