forked from valhalla/valhalla
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile.am
864 lines (841 loc) · 39.3 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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
ACLOCAL_AMFLAGS = -Im4
AM_LDFLAGS = @BOOST_LDFLAGS@ @COVERAGE_LDFLAGS@ @LUA_LIB@
AM_CPPFLAGS = @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@ -I@abs_srcdir@/valhalla -I@abs_srcdir@/valhalla/proto -Igenfiles
AM_CXXFLAGS = @COVERAGE_CXXFLAGS@ -I@abs_srcdir@/valhalla -I@abs_srcdir@/valhalla/proto -Igenfiles @LUA_INCLUDE@
BOOST_LIBS = $(BOOST_DATE_TIME_LIB) $(BOOST_FILESYSTEM_LIB) $(BOOST_PROGRAM_OPTIONS_LIB) $(BOOST_REGEX_LIB) $(BOOST_SYSTEM_LIB) $(BOOST_THREAD_LIB) $(BOOST_IOSTREAMS_LIB)
LIBTOOL_DEPS = @LIBTOOL_DEPS@
libtool: $(LIBTOOL_DEPS)
$(SHELL) ./config.status libtool
# things for versioning
pkgconfig_DATA = libvalhalla.pc
# conditional test coverage
if ENABLE_COVERAGE
.PHONY: clean-coverage
clean-coverage:
-find -name '*.gcda' -exec rm -rf {} \;
-$(LCOV) --directory $(top_builddir) -z
-rm -rf coverage.info coverage/
.PHONY: coverage-report
coverage-report: clean-coverage
-$(MAKE) $(AM_MAKEFLAGS) -k check
$(MAKE) $(AM_MAKEFLAGS) coverage/index.html
coverage.info:
$(LCOV) --directory $(top_builddir) --base-directory $(top_builddir) --no-external --capture --output-file $@ --no-checksum --compat-libtool
coverage/index.html: coverage.info
$(GENHTML) --prefix $(top_builddir) --output-directory $(@D) --title "Test Coverage" --legend --show-details $<
.PHONY: clean-gcno
clean-gcno:
-find -name '*.gcno' -exec rm -rf {} \;
clean-local: clean-coverage clean-gcno clean-genfiles
else
clean-local: clean-genfiles
endif
clean-genfiles:
-rm -rf genfiles
genfiles/date_time_zonespec.h:
-mkdir -p @abs_builddir@/genfiles && cd @abs_srcdir@ && xxd -i -s +$$(head -n 1 date_time/zonespec.csv | wc -c | xargs) date_time/zonespec.csv > @abs_builddir@/genfiles/date_time_zonespec.h
genfiles/graph_lua_proc.h: lua/graph.lua
-mkdir -p @abs_builddir@/genfiles && cd @abs_srcdir@ && xxd -i lua/graph.lua > @abs_builddir@/genfiles/graph_lua_proc.h
genfiles/admin_lua_proc.h: lua/admin.lua
-mkdir -p @abs_builddir@/genfiles && cd @abs_srcdir@ && xxd -i lua/admin.lua > @abs_builddir@/genfiles/admin_lua_proc.h
genfiles/locales.h: locales/*.json
-mkdir -p @abs_builddir@/genfiles && cd @abs_srcdir@/locales && ./make_locales.sh *.json > @abs_builddir@/genfiles/locales.h
PROTO_FILES = proto/osmformat.proto proto/tripcommon.proto proto/trippath.proto proto/tile.proto proto/segment.proto proto/fileformat.proto proto/directions_options.proto proto/tripdirections.proto proto/transit.proto
src/proto/%.pb.cc: proto/%.proto
@echo " PROTOC $<"; mkdir -p src/proto valhalla/proto; @PROTOC_BIN@ -Iproto --cpp_out=valhalla/proto $< && mv valhalla/proto/$(@F) src/proto
BUILT_SOURCES = $(patsubst %.proto,src/%.pb.cc,$(PROTO_FILES)) genfiles/date_time_zonespec.h genfiles/graph_lua_proc.h genfiles/admin_lua_proc.h genfiles/locales.h
nodist_libvalhalla_la_SOURCES = $(patsubst %.proto,src/%.pb.cc,$(PROTO_FILES)) genfiles/date_time_zonespec.h genfiles/graph_lua_proc.h genfiles/admin_lua_proc.h genfiles/locales.h
CLEANFILES = $(patsubst %.proto,valhalla/%.pb.h,$(PROTO_FILES)) $(patsubst %.proto,src/%.pb.cc,$(PROTO_FILES)) $(EXTRA_PROGRAMS)
lib_LTLIBRARIES = libvalhalla.la
nobase_include_HEADERS = \
valhalla/valhalla.h \
valhalla/midgard/linesegment2.h \
valhalla/midgard/tiles.h \
valhalla/midgard/gridded_data.h \
valhalla/midgard/polyline2.h \
valhalla/midgard/obb2.h \
valhalla/midgard/pointll.h \
valhalla/midgard/vector2.h \
valhalla/midgard/constants.h \
valhalla/midgard/aabb2.h \
valhalla/midgard/point2.h \
valhalla/midgard/util.h \
valhalla/midgard/distanceapproximator.h \
valhalla/midgard/ellipse.h \
valhalla/midgard/sequence.h \
valhalla/midgard/shape_decoder.h \
valhalla/midgard/encoded.h \
valhalla/midgard/logging.h \
valhalla/baldr/accessrestriction.h \
valhalla/baldr/admin.h \
valhalla/baldr/admininfo.h \
valhalla/baldr/complexrestriction.h \
valhalla/baldr/connectivity_map.h \
valhalla/baldr/datetime.h \
valhalla/baldr/directededge.h \
valhalla/baldr/double_bucket_queue.h \
valhalla/baldr/edge_elevation.h \
valhalla/baldr/edgeinfo.h \
valhalla/baldr/errorcode_util.h \
valhalla/baldr/geojson.h \
valhalla/baldr/graphconstants.h \
valhalla/baldr/graphid.h \
valhalla/baldr/graphreader.h \
valhalla/baldr/graphtile.h \
valhalla/baldr/graphtileheader.h \
valhalla/baldr/json.h \
valhalla/baldr/nodeinfo.h \
valhalla/baldr/location.h \
valhalla/baldr/pathlocation.h \
valhalla/baldr/rapidjson_utils.h \
valhalla/baldr/sign.h \
valhalla/baldr/signinfo.h \
valhalla/baldr/tilehierarchy.h \
valhalla/baldr/turn.h \
valhalla/baldr/streetname.h \
valhalla/baldr/streetnames.h \
valhalla/baldr/streetnames_factory.h \
valhalla/baldr/streetname_us.h \
valhalla/baldr/streetnames_us.h \
valhalla/baldr/trafficassociation.h \
valhalla/baldr/transitdeparture.h \
valhalla/baldr/transitroute.h \
valhalla/baldr/transitschedule.h \
valhalla/baldr/transitstop.h \
valhalla/baldr/transittransfer.h \
valhalla/baldr/laneconnectivity.h \
valhalla/baldr/verbal_text_formatter.h \
valhalla/baldr/verbal_text_formatter_us.h \
valhalla/baldr/verbal_text_formatter_us_co.h \
valhalla/baldr/verbal_text_formatter_us_tx.h \
valhalla/baldr/verbal_text_formatter_factory.h \
valhalla/baldr/reutil.h \
valhalla/baldr/edgetracker.h \
valhalla/baldr/merge.h \
valhalla/sif/costconstants.h \
valhalla/sif/costfactory.h \
valhalla/sif/autocost.h \
valhalla/sif/bicyclecost.h \
valhalla/sif/pedestriancost.h \
valhalla/sif/transitcost.h \
valhalla/sif/truckcost.h \
valhalla/sif/dynamiccost.h \
valhalla/sif/hierarchylimits.h \
valhalla/sif/edgelabel.h \
valhalla/meili/universal_cost.h \
valhalla/meili/candidate_search.h \
valhalla/meili/geometry_helpers.h \
valhalla/meili/graph_helpers.h \
valhalla/meili/grid_range_query.h \
valhalla/meili/map_matching.h \
valhalla/meili/priority_queue.h \
valhalla/meili/service.h \
valhalla/meili/routing.h \
valhalla/meili/viterbi_search.h \
valhalla/meili/geojson_reader.h \
valhalla/meili/geojson_writer.h \
valhalla/meili/measurement.h \
valhalla/meili/match_result.h \
valhalla/meili/bucket_queue.h \
valhalla/meili/grid_traversal.h \
valhalla/meili/map_matcher.h \
valhalla/meili/map_matcher_factory.h \
valhalla/meili/traffic_segment_matcher.h \
valhalla/meili/match_route.h \
valhalla/skadi/service.h \
valhalla/skadi/sample.h \
valhalla/skadi/util.h \
valhalla/loki/search.h \
valhalla/loki/node_search.h \
valhalla/loki/service.h \
valhalla/proto/tripcommon.pb.h \
valhalla/proto/trippath.pb.h \
valhalla/proto/tripdirections.pb.h \
valhalla/proto/directions_options.pb.h \
valhalla/odin/directionsbuilder.h \
valhalla/odin/maneuversbuilder.h \
valhalla/odin/narrative_dictionary.h \
valhalla/odin/narrative_builder_factory.h \
valhalla/odin/narrativebuilder.h \
valhalla/odin/enhancedtrippath.h \
valhalla/odin/maneuver.h \
valhalla/odin/sign.h \
valhalla/odin/signs.h \
valhalla/odin/util.h \
valhalla/odin/service.h \
valhalla/odin/transitrouteinfo.h \
valhalla/odin/transitstop.h \
valhalla/thor/astar.h \
valhalla/thor/astarheuristic.h \
valhalla/thor/bidirectional_astar.h \
valhalla/thor/costmatrix.h \
valhalla/thor/edgestatus.h \
valhalla/thor/isochrone.h \
valhalla/thor/optimizer.h \
valhalla/thor/map_matcher.h \
valhalla/thor/match_result.h \
valhalla/thor/multimodal.h \
valhalla/thor/pathalgorithm.h \
valhalla/thor/pathinfo.h \
valhalla/thor/route_matcher.h \
valhalla/thor/service.h \
valhalla/thor/trippathbuilder.h \
valhalla/thor/attributes_controller.h \
valhalla/thor/trafficalgorithm.h \
valhalla/thor/timedistancematrix.h \
valhalla/tyr/service.h
libvalhalla_la_SOURCES = \
src/midgard/linesegment2.cc \
src/midgard/tiles.cc \
src/midgard/gridded_data.cc \
src/midgard/polyline2.cc \
src/midgard/obb2.cc \
src/midgard/pointll.cc \
src/midgard/vector2.cc \
src/midgard/aabb2.cc \
src/midgard/point2.cc \
src/midgard/util.cc \
src/midgard/distanceapproximator.cc \
src/midgard/ellipse.cc \
src/midgard/logging.cc \
src/baldr/accessrestriction.cc \
src/baldr/admin.cc \
src/baldr/admininfo.cc \
src/baldr/complexrestriction.cc \
src/baldr/connectivity_map.cc \
src/baldr/datetime.cc \
src/baldr/directededge.cc \
src/baldr/double_bucket_queue.cc \
src/baldr/edge_elevation.cc \
src/baldr/edgeinfo.cc \
src/baldr/geojson.cc \
src/baldr/graphid.cc \
src/baldr/graphreader.cc \
src/baldr/graphtile.cc \
src/baldr/graphtileheader.cc \
src/baldr/edgetracker.cc \
src/baldr/merge.cc \
src/baldr/nodeinfo.cc \
src/baldr/location.cc \
src/baldr/pathlocation.cc \
src/baldr/sign.cc \
src/baldr/signinfo.cc \
src/baldr/tilehierarchy.cc \
src/baldr/turn.cc \
src/baldr/streetname.cc \
src/baldr/streetnames.cc \
src/baldr/streetnames_factory.cc \
src/baldr/streetname_us.cc \
src/baldr/streetnames_us.cc \
src/baldr/transitdeparture.cc \
src/baldr/transitroute.cc \
src/baldr/transitschedule.cc \
src/baldr/transitstop.cc \
src/baldr/transittransfer.cc \
src/baldr/laneconnectivity.cc \
src/baldr/verbal_text_formatter.cc \
src/baldr/verbal_text_formatter_us.cc \
src/baldr/verbal_text_formatter_us_co.cc \
src/baldr/verbal_text_formatter_us_tx.cc \
src/baldr/verbal_text_formatter_factory.cc \
src/baldr/date_time_zonespec.h \
src/sif/autocost.cc \
src/sif/bicyclecost.cc \
src/sif/pedestriancost.cc \
src/sif/transitcost.cc \
src/sif/truckcost.cc \
src/sif/dynamiccost.cc \
src/sif/edgelabel.cc \
src/meili/universal_cost.cc \
src/meili/routing.cc \
src/meili/candidate_search.cc \
src/meili/map_matching.cc \
src/meili/service.cc \
src/meili/geojson_reader.cc \
src/meili/map_matcher.cc \
src/meili/map_matcher_factory.cc \
src/meili/match_route.cc \
src/meili/traffic_segment_matcher.cc \
src/skadi/service.cc \
src/skadi/sample.cc \
src/skadi/util.cc \
src/loki/search.cc \
src/loki/service.cc \
src/loki/locate_action.cc \
src/loki/route_action.cc \
src/loki/matrix_action.cc \
src/loki/isochrone_action.cc \
src/loki/trace_route_action.cc \
src/loki/node_search.cc \
src/proto/tripcommon.pb.cc \
src/proto/trippath.pb.cc \
src/proto/tripdirections.pb.cc \
src/proto/directions_options.pb.cc \
src/odin/directionsbuilder.cc \
src/odin/maneuversbuilder.cc \
src/odin/narrative_dictionary.cc \
src/odin/narrative_builder_factory.cc \
src/odin/narrativebuilder.cc \
src/odin/enhancedtrippath.cc \
src/odin/maneuver.cc \
src/odin/sign.cc \
src/odin/signs.cc \
src/odin/util.cc \
src/odin/service.cc \
src/odin/transitrouteinfo.cc \
src/odin/transitstop.cc \
src/odin/locales.h \
src/thor/astar.cc \
src/thor/bidirectional_astar.cc \
src/thor/costmatrix.cc \
src/thor/isochrone.cc \
src/thor/isochrone_action.cc \
src/thor/map_matcher.cc \
src/thor/matrix_action.cc \
src/thor/multimodal.cc \
src/thor/optimized_route_action.cc \
src/thor/optimizer.cc \
src/thor/route_action.cc \
src/thor/route_matcher.cc \
src/thor/service.cc \
src/thor/trace_attributes_action.cc \
src/thor/trace_route_action.cc \
src/thor/trippathbuilder.cc \
src/thor/attributes_controller.cc \
src/thor/trafficalgorithm.cc \
src/thor/timedistancematrix.cc \
src/tyr/service.cc
libvalhalla_la_CPPFLAGS = @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@ $(DEPS_CFLAGS)
libvalhalla_la_LIBADD = @BOOST_LDFLAGS@ @PROTOC_LIBS@ $(BOOST_LIBS) $(DEPS_LIBS)
if DATA_TOOLS
nobase_include_HEADERS += \
valhalla/mjolnir/admin.h \
valhalla/mjolnir/countryaccess.h \
valhalla/mjolnir/complexrestrictionbuilder.h \
valhalla/mjolnir/dataquality.h \
valhalla/mjolnir/directededgebuilder.h \
valhalla/mjolnir/graphtilebuilder.h \
valhalla/mjolnir/edgeinfobuilder.h \
valhalla/mjolnir/uniquenames.h \
valhalla/mjolnir/ferry_connections.h \
valhalla/mjolnir/graphbuilder.h \
valhalla/mjolnir/graphenhancer.h \
valhalla/mjolnir/graphvalidator.h \
valhalla/mjolnir/hierarchybuilder.h \
valhalla/mjolnir/idtable.h \
valhalla/mjolnir/linkclassification.h \
valhalla/mjolnir/luatagtransform.h \
valhalla/mjolnir/node_expander.h \
valhalla/mjolnir/osmaccess.h \
valhalla/mjolnir/osmadmin.h \
valhalla/mjolnir/osmdata.h \
valhalla/mjolnir/osmnode.h \
valhalla/mjolnir/osmpbfparser.h \
valhalla/mjolnir/osmaccessrestriction.h \
valhalla/mjolnir/osmrestriction.h \
valhalla/mjolnir/osmway.h \
valhalla/mjolnir/pbfadminparser.h \
valhalla/mjolnir/pbfgraphparser.h \
valhalla/mjolnir/restrictionbuilder.h \
valhalla/mjolnir/shortcutbuilder.h \
valhalla/mjolnir/transitbuilder.h \
valhalla/mjolnir/util.h \
valhalla/mjolnir/validatetransit.h
libvalhalla_la_SOURCES += \
src/proto/transit.pb.cc \
src/mjolnir/admin.cc \
src/mjolnir/complexrestrictionbuilder.cc \
src/mjolnir/countryaccess.cc \
src/mjolnir/dataquality.cc \
src/mjolnir/directededgebuilder.cc \
src/mjolnir/graphtilebuilder.cc \
src/mjolnir/edgeinfobuilder.cc \
src/mjolnir/uniquenames.cc \
src/proto/fileformat.pb.cc \
src/proto/osmformat.pb.cc \
src/mjolnir/ferry_connections.cc \
src/mjolnir/graphbuilder.cc \
src/mjolnir/graphenhancer.cc \
src/mjolnir/graphvalidator.cc \
src/mjolnir/hierarchybuilder.cc \
src/mjolnir/idtable.cc \
src/mjolnir/linkclassification.cc \
src/mjolnir/luatagtransform.cc \
src/mjolnir/node_expander.cc \
src/mjolnir/osmaccess.cc \
src/mjolnir/osmadmin.cc \
src/mjolnir/osmnode.cc \
src/mjolnir/osmpbfparser.cc \
src/mjolnir/osmaccessrestriction.cc \
src/mjolnir/osmrestriction.cc \
src/mjolnir/osmway.cc \
src/mjolnir/pbfadminparser.cc \
src/mjolnir/pbfgraphparser.cc \
src/mjolnir/restrictionbuilder.cc \
src/mjolnir/shortcutbuilder.cc \
src/mjolnir/transitbuilder.cc \
src/mjolnir/util.cc \
src/mjolnir/validatetransit.cc \
src/mjolnir/graph_lua_proc.h \
src/mjolnir/admin_lua_proc.h
libvalhalla_la_LIBADD += -lspatialite -lsqlite3
endif
if PYTHON_BINDINGS
pyexec_LTLIBRARIES = \
valhalla.la
valhalla_la_SOURCES = src/bindings/python/python.cc
valhalla_la_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@ @PYTHON_CPPFLAGS@
valhalla_la_LIBADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ @PYTHON_LIBS@ -l$(BOOST_PYTHON_LIB) libvalhalla.la
valhalla_la_LDFLAGS = @COVERAGE_LDFLAGS@ -avoid-version -module -shared
endif
bin_PROGRAMS = \
valhalla_map_match_service \
valhalla_run_map_match \
valhalla_meili_worker \
valhalla_skadi_worker \
valhalla_loki_worker \
valhalla_odin_worker \
valhalla_thor_worker \
valhalla_tyr_worker \
valhalla_benchmark_loki \
valhalla_benchmark_skadi \
valhalla_elevation_service \
valhalla_route_service \
valhalla_run_isochrone \
valhalla_run_route \
valhalla_benchmark_adjacency_list \
valhalla_run_matrix \
valhalla_export_edges
valhalla_map_match_service_SOURCES = src/meili/valhalla_map_match_service.cc
valhalla_map_match_service_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_map_match_service_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_run_map_match_SOURCES = src/meili/valhalla_run_map_match.cc
valhalla_run_map_match_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_run_map_match_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_meili_worker_SOURCES = src/meili/valhalla_meili_worker.cc
valhalla_meili_worker_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_meili_worker_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_skadi_worker_SOURCES = src/valhalla_skadi_worker.cc
valhalla_skadi_worker_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_skadi_worker_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
valhalla_loki_worker_SOURCES = src/valhalla_loki_worker.cc
valhalla_loki_worker_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_loki_worker_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
valhalla_odin_worker_SOURCES = src/valhalla_odin_worker.cc
valhalla_odin_worker_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_odin_worker_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_thor_worker_SOURCES = src/valhalla_thor_worker.cc
valhalla_thor_worker_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_thor_worker_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_tyr_worker_SOURCES = src/valhalla_tyr_worker.cc
valhalla_tyr_worker_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_tyr_worker_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_benchmark_loki_SOURCES = src/valhalla_benchmark_loki.cc
valhalla_benchmark_loki_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_benchmark_loki_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
valhalla_benchmark_skadi_SOURCES = src/valhalla_benchmark_skadi.cc
valhalla_benchmark_skadi_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_benchmark_skadi_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
valhalla_elevation_service_SOURCES = src/valhalla_elevation_service.cc
valhalla_elevation_service_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_elevation_service_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
valhalla_route_service_SOURCES = src/valhalla_route_service.cc
valhalla_route_service_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_route_service_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_run_isochrone_SOURCES = src/valhalla_run_isochrone.cc
valhalla_run_isochrone_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_run_isochrone_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_run_route_SOURCES = src/valhalla_run_route.cc
valhalla_run_route_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_run_route_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_benchmark_adjacency_list_SOURCES = src/valhalla_benchmark_adjacency_list.cc
valhalla_benchmark_adjacency_list_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_benchmark_adjacency_list_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_run_matrix_SOURCES = src/valhalla_run_matrix.cc
valhalla_run_matrix_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_run_matrix_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_export_edges_SOURCES = src/valhalla_export_edges.cc
valhalla_export_edges_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_export_edges_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
if DATA_TOOLS
bin_PROGRAMS += \
valhalla_benchmark_admins \
valhalla_build_connectivity \
valhalla_build_tiles \
valhalla_build_admins \
valhalla_build_transit \
valhalla_query_transit \
valhalla_validate_transit \
valhalla_ways_to_edges \
valhalla_build_speeds \
valhalla_build_statistics \
valhalla_associate_segments
valhalla_benchmark_admins_SOURCES = src/mjolnir/valhalla_benchmark_admins.cc
valhalla_benchmark_admins_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_benchmark_admins_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ @PROTOC_LIBS@ -lz -lgeos -lsqlite3 -lspatialite $(BOOST_LIBS) libvalhalla.la
valhalla_build_connectivity_SOURCES = src/mjolnir/valhalla_build_connectivity.cc
valhalla_build_connectivity_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_build_connectivity_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
valhalla_build_tiles_SOURCES = src/mjolnir/valhalla_build_tiles.cc
valhalla_build_tiles_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_build_tiles_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ @PROTOC_LIBS@ -lz -lsqlite3 -lspatialite $(BOOST_LIBS) libvalhalla.la
valhalla_build_admins_SOURCES = src/mjolnir/valhalla_build_admins.cc
valhalla_build_admins_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_build_admins_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ @PROTOC_LIBS@ -lz -lgeos -lsqlite3 -lspatialite $(BOOST_LIBS) libvalhalla.la
valhalla_build_transit_SOURCES = src/mjolnir/valhalla_build_transit.cc
valhalla_build_transit_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_build_transit_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ @PROTOC_LIBS@ -lz $(BOOST_LIBS) libvalhalla.la
valhalla_query_transit_SOURCES = src/mjolnir/valhalla_query_transit.cc
valhalla_query_transit_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_query_transit_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ @PROTOC_LIBS@ -lz $(BOOST_LIBS) libvalhalla.la
valhalla_validate_transit_SOURCES = src/mjolnir/valhalla_validate_transit.cc
valhalla_validate_transit_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_validate_transit_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ @PROTOC_LIBS@ -lz $(BOOST_LIBS) libvalhalla.la
valhalla_ways_to_edges_SOURCES = src/mjolnir/valhalla_ways_to_edges.cc
valhalla_ways_to_edges_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_ways_to_edges_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ @PROTOC_LIBS@ -lz $(BOOST_LIBS) libvalhalla.la
valhalla_build_speeds_SOURCES = src/mjolnir/valhalla_build_speeds.cc
valhalla_build_speeds_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_build_speeds_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ @PROTOC_LIBS@ -lsqlite3 $(BOOST_LIBS) libvalhalla.la
valhalla_build_statistics_SOURCES = src/mjolnir/valhalla_build_statistics.cc src/mjolnir/statistics.cc src/mjolnir/statistics_database.cc src/mjolnir/statistics.h
valhalla_build_statistics_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_build_statistics_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ @PROTOC_LIBS@ -lz $(BOOST_LIBS) libvalhalla.la
valhalla_associate_segments_SOURCES = src/valhalla_associate_segments.cc src/proto/segment.pb.cc src/proto/tile.pb.cc
valhalla_associate_segments_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
valhalla_associate_segments_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
endif
bin_SCRIPTS = \
scripts/valhalla_build_elevation \
scripts/valhalla_build_config
if DATA_TOOLS
bin_SCRIPTS += scripts/valhalla_build_timezones
endif
TESTS_ENVIRONMENT = LOCPATH=locales
check_PROGRAMS = \
test/logging \
test/point2 \
test/distanceapproximator \
test/aabb2 \
test/obb2 \
test/linesegment2 \
test/vector2 \
test/polyline2 \
test/pointll \
test/ellipse \
test/encode \
test/tiles \
test/sequence \
test/util_midgard \
test/gridded_data \
test/location \
test/admin \
test/datetime \
test/directededge \
test/double_bucket_queue \
test/edge_elevation \
test/edgecollapser \
test/laneconnectivity \
test/graphid \
test/tilehierarchy \
test/graphtile \
test/nodeinfo \
test/turn \
test/graphreader \
test/streetname \
test/streetname_us \
test/streetnames \
test/streetnames_us \
test/streetnames_factory \
test/json \
test/verbal_text_formatter \
test/verbal_text_formatter_us \
test/verbal_text_formatter_us_co \
test/verbal_text_formatter_us_tx \
test/factory \
test/geometry_helpers \
test/grid_range_query \
test/grid_traversal \
test/map_matcher_factory \
test/queue \
test/routing \
test/viterbi_search \
test/geojson_reader \
test/geojson_writer \
test/util_skadi \
test/sample \
test/skadi_service \
test/loki_service \
test/search \
test/node_search \
test/maneuversbuilder \
test/narrativebuilder \
test/enhancedtrippath \
test/sign \
test/signs \
test/util_odin \
test/narrative_dictionary \
test/edgestatus \
test/optimizer \
test/thor_service \
test/attributes_controller \
test/astar \
test/serializers \
test/traffic_matcher
test_logging_SOURCES = test/logging.cc test/test.cc
test_logging_CPPFLAGS = $(DEPS_CFLAGS) -DLOGGING_LEVEL_ALL
test_logging_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_point2_SOURCES = test/point2.cc test/test.cc
test_point2_CPPFLAGS = $(DEPS_CFLAGS)
test_point2_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_distanceapproximator_SOURCES = test/distanceapproximator.cc test/test.cc
test_distanceapproximator_CPPFLAGS = $(DEPS_CFLAGS)
test_distanceapproximator_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_aabb2_SOURCES = test/aabb2.cc test/test.cc
test_aabb2_CPPFLAGS = $(DEPS_CFLAGS)
test_aabb2_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_obb2_SOURCES = test/obb2.cc test/test.cc
test_obb2_CPPFLAGS = $(DEPS_CFLAGS)
test_obb2_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_linesegment2_SOURCES = test/linesegment2.cc test/test.cc
test_linesegment2_CPPFLAGS = $(DEPS_CFLAGS)
test_linesegment2_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_vector2_SOURCES = test/vector2.cc test/test.cc
test_vector2_CPPFLAGS = $(DEPS_CFLAGS)
test_vector2_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_polyline2_SOURCES = test/polyline2.cc test/test.cc
test_polyline2_CPPFLAGS = $(DEPS_CFLAGS)
test_polyline2_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_pointll_SOURCES = test/pointll.cc test/test.cc
test_pointll_CPPFLAGS = $(DEPS_CFLAGS)
test_pointll_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_ellipse_SOURCES = test/ellipse.cc test/test.cc
test_ellipse_CPPFLAGS = $(DEPS_CFLAGS)
test_ellipse_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_encode_SOURCES = test/encode.cc test/test.cc
test_encode_CPPFLAGS = $(DEPS_CFLAGS)
test_encode_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_tiles_SOURCES = test/tiles.cc test/test.cc
test_tiles_CPPFLAGS = $(DEPS_CFLAGS)
test_tiles_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_sequence_SOURCES = test/sequence.cc test/test.cc
test_sequence_CPPFLAGS = $(DEPS_CFLAGS)
test_sequence_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_util_midgard_SOURCES = test/util_midgard.cc test/test.cc
test_util_midgard_CPPFLAGS = $(DEPS_CFLAGS)
test_util_midgard_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_gridded_data_SOURCES = test/gridded_data.cc test/test.cc
test_gridded_data_CPPFLAGS = $(DEPS_CFLAGS)
test_gridded_data_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_location_SOURCES = test/location.cc test/test.cc
test_location_CPPFLAGS = $(DEPS_CFLAGS)
test_location_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_admin_SOURCES = test/admin.cc test/test.cc
test_admin_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_admin_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_datetime_SOURCES = test/datetime.cc test/test.cc
test_datetime_CPPFLAGS = $(DEPS_CFLAGS)
test_datetime_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_directededge_SOURCES = test/directededge.cc test/test.cc
test_directededge_CPPFLAGS = $(DEPS_CFLAGS)
test_directededge_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_edge_elevation_SOURCES = test/edge_elevation.cc test/test.cc
test_edge_elevation_CPPFLAGS = $(DEPS_CFLAGS)
test_edge_elevation_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_double_bucket_queue_SOURCES = test/double_bucket_queue.cc test/test.cc
test_double_bucket_queue_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_double_bucket_queue_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_edgecollapser_SOURCES = test/edgecollapser.cc test/test.cc
test_edgecollapser_CPPFLAGS = $(DEPS_CFLAGS)
test_edgecollapser_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_laneconnectivity_SOURCES = test/laneconnectivity.cc test/test.cc
test_laneconnectivity_CPPFLAGS = $(DEPS_CFLAGS)
test_laneconnectivity_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_graphid_SOURCES = test/graphid.cc test/test.cc
test_graphid_CPPFLAGS = $(DEPS_CFLAGS)
test_graphid_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_tilehierarchy_SOURCES = test/tilehierarchy.cc test/test.cc
test_tilehierarchy_CPPFLAGS = $(DEPS_CFLAGS)
test_tilehierarchy_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_graphtile_SOURCES = test/graphtile.cc test/test.cc
test_graphtile_CPPFLAGS = $(DEPS_CFLAGS)
test_graphtile_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_nodeinfo_SOURCES = test/nodeinfo.cc test/test.cc
test_nodeinfo_CPPFLAGS = $(DEPS_CFLAGS)
test_nodeinfo_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_turn_SOURCES = test/turn.cc test/test.cc
test_turn_CPPFLAGS = $(DEPS_CFLAGS)
test_turn_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_graphreader_SOURCES = test/graphreader.cc test/test.cc
test_graphreader_CPPFLAGS = $(DEPS_CFLAGS)
test_graphreader_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_streetname_SOURCES = test/streetname.cc test/test.cc
test_streetname_CPPFLAGS = $(DEPS_CFLAGS)
test_streetname_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_streetname_us_SOURCES = test/streetname_us.cc test/test.cc
test_streetname_us_CPPFLAGS = $(DEPS_CFLAGS)
test_streetname_us_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_streetnames_SOURCES = test/streetnames.cc test/test.cc
test_streetnames_CPPFLAGS = $(DEPS_CFLAGS)
test_streetnames_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_streetnames_us_SOURCES = test/streetnames_us.cc test/test.cc
test_streetnames_us_CPPFLAGS = $(DEPS_CFLAGS)
test_streetnames_us_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_streetnames_factory_SOURCES = test/streetnames_factory.cc test/test.cc
test_streetnames_factory_CPPFLAGS = $(DEPS_CFLAGS)
test_streetnames_factory_LDADD = $(DEPS_LIBS) $(BOOST_LIBS) libvalhalla.la
test_json_SOURCES = test/json.cc test/test.cc
test_json_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_json_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_verbal_text_formatter_SOURCES = test/verbal_text_formatter.cc test/test.cc
test_verbal_text_formatter_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_verbal_text_formatter_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_verbal_text_formatter_us_SOURCES = test/verbal_text_formatter_us.cc test/test.cc
test_verbal_text_formatter_us_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_verbal_text_formatter_us_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_verbal_text_formatter_us_co_SOURCES = test/verbal_text_formatter_us_co.cc test/test.cc
test_verbal_text_formatter_us_co_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_verbal_text_formatter_us_co_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_verbal_text_formatter_us_tx_SOURCES = test/verbal_text_formatter_us_tx.cc test/test.cc
test_verbal_text_formatter_us_tx_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_verbal_text_formatter_us_tx_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_factory_SOURCES = test/factory.cc test/test.cc
test_factory_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_factory_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_geometry_helpers_SOURCES = test/geometry_helpers.cc test/test.cc
test_geometry_helpers_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_geometry_helpers_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_grid_range_query_SOURCES = test/grid_range_query.cc test/test.cc
test_grid_range_query_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_grid_range_query_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_grid_traversal_SOURCES = test/grid_traversal.cc test/test.cc
test_grid_traversal_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_grid_traversal_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_map_matcher_factory_SOURCES = test/map_matcher_factory.cc test/test.cc
test_map_matcher_factory_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_map_matcher_factory_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_queue_SOURCES = test/queue.cc test/test.cc
test_queue_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_queue_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_routing_SOURCES = test/routing.cc test/test.cc
test_routing_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_routing_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_viterbi_search_SOURCES = test/viterbi_search.cc test/test.cc
test_viterbi_search_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_viterbi_search_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_geojson_reader_SOURCES = test/geojson_reader.cc test/test.cc
test_geojson_reader_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_geojson_reader_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_geojson_writer_SOURCES = test/geojson_writer.cc test/test.cc
test_geojson_writer_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_geojson_writer_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_util_skadi_SOURCES = test/util_skadi.cc test/test.cc
test_util_skadi_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_util_skadi_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_sample_SOURCES = test/sample.cc test/test.cc
test_sample_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_sample_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_skadi_service_SOURCES = test/skadi_service.cc test/test.cc
test_skadi_service_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_skadi_service_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_loki_service_SOURCES = test/loki_service.cc test/test.cc
test_loki_service_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_loki_service_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_search_SOURCES = test/search.cc test/test.cc
test_search_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_search_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_node_search_SOURCES = test/node_search.cc test/test.cc
test_node_search_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_node_search_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_maneuversbuilder_SOURCES = test/maneuversbuilder.cc test/test.cc
test_maneuversbuilder_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_maneuversbuilder_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_narrativebuilder_SOURCES = test/narrativebuilder.cc test/test.cc
test_narrativebuilder_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_narrativebuilder_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_enhancedtrippath_SOURCES = test/enhancedtrippath.cc test/test.cc
test_enhancedtrippath_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_enhancedtrippath_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_sign_SOURCES = test/sign.cc test/test.cc
test_sign_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_sign_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_signs_SOURCES = test/signs.cc test/test.cc
test_signs_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_signs_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_util_odin_SOURCES = test/util_odin.cc test/test.cc
test_util_odin_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_util_odin_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_narrative_dictionary_SOURCES = test/narrative_dictionary.cc test/test.cc
test_narrative_dictionary_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_narrative_dictionary_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_edgestatus_SOURCES = test/edgestatus.cc test/test.cc
test_edgestatus_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_edgestatus_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_optimizer_SOURCES = test/optimizer.cc test/test.cc
test_optimizer_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_optimizer_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_thor_service_SOURCES = test/thor_service.cc test/test.cc
test_thor_service_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_thor_service_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_attributes_controller_SOURCES = test/attributes_controller.cc test/test.cc
test_attributes_controller_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_attributes_controller_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_astar_SOURCES = test/astar.cc test/test.cc
test_astar_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_astar_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_serializers_SOURCES = test/serializers.cc test/test.cc
test_serializers_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_serializers_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_traffic_matcher_SOURCES = test/traffic_matcher.cc test/test.cc
test_traffic_matcher_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@
test_traffic_matcher_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
if DATA_TOOLS
check_PROGRAMS += \
test/utrecht \
test/edgeinfobuilder \
test/uniquenames \
test/idtable \
test/graphbuilder \
test/graphparser \
test/names \
test/refs \
test/signinfo \
test/countryaccess \
test/graphtilebuilder
test_utrecht_SOURCES = test/utrecht.cc test/test.cc
test_utrecht_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_utrecht_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_edgeinfobuilder_SOURCES = test/edgeinfobuilder.cc test/test.cc
test_edgeinfobuilder_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_edgeinfobuilder_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_uniquenames_SOURCES = test/uniquenames.cc test/test.cc
test_uniquenames_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_uniquenames_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_idtable_SOURCES = test/idtable.cc test/test.cc
test_idtable_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_idtable_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_graphbuilder_SOURCES = test/graphbuilder.cc test/test.cc
test_graphbuilder_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_graphbuilder_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_graphparser_SOURCES = test/graphparser.cc test/test.cc
test_graphparser_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_graphparser_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_names_SOURCES = test/names.cc test/test.cc
test_names_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_names_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_refs_SOURCES = test/refs.cc test/test.cc
test_refs_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_refs_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_signinfo_SOURCES = test/signinfo.cc test/test.cc
test_signinfo_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_signinfo_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_countryaccess_SOURCES = test/countryaccess.cc test/test.cc
test_countryaccess_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_countryaccess_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
test_graphtilebuilder_SOURCES = test/graphtilebuilder.cc test/test.cc
test_graphtilebuilder_CPPFLAGS = $(DEPS_CFLAGS) @BOOST_CPPFLAGS@ @RAPIDJSON_CPPFLAGS@
test_graphtilebuilder_LDADD = $(DEPS_LIBS) @BOOST_LDFLAGS@ $(BOOST_LIBS) libvalhalla.la
endif
TESTS = $(check_PROGRAMS)
TEST_EXTENSIONS = .sh
SH_LOG_COMPILER = sh
test: check