1 | include $(top_srcdir)/Makefile.inc |
1 | include $(top_srcdir)/Makefile.inc |
|
|
2 | |
|
|
3 | if !SUPPORT_ANDROID |
|
|
4 | P2TC_publicdir = $(top_srcdir)/navit/maptool |
|
|
5 | export P2TC_publicdir |
|
|
6 | P2TC_public_HEADERS = |
|
|
7 | # AM_LDFLAGS = -version-info 1.0.0 |
|
|
8 | # SUBDIRS = libcfu-0.03-zanavi p2t refine |
|
|
9 | endif |
|
|
10 | |
|
|
11 | SUBDIRS = libcfu-0.03-zanavi p2t refine |
|
|
12 | |
2 | if !SUPPORT_ANDROID |
13 | if !SUPPORT_ANDROID |
3 | bin_PROGRAMS = maptool |
14 | bin_PROGRAMS = maptool |
4 | noinst_LTLIBRARIES = libmaptool.la |
15 | noinst_LTLIBRARIES = libmaptool.la |
5 | endif |
16 | endif |
6 | |
17 | |
7 | AM_CPPFLAGS = @NAVIT_CFLAGS@ -I$(top_srcdir)/navit @ZLIB_CFLAGS@ @POSTGRESQL_CFLAGS@ -DMODULE=maptool |
18 | AM_CPPFLAGS = @NAVIT_CFLAGS@ -I$(top_srcdir)/navit @ZLIB_CFLAGS@ @POSTGRESQL_CFLAGS@ -DMODULE=maptool |
|
|
19 | BUILT_SOURCES = version_maptool.h |
|
|
20 | # |
|
|
21 | #libmaptool_la_SOURCES = poly2tri-c/002/poly2tri-c/p2t/common/shapes.c \ |
|
|
22 | # poly2tri-c/002/poly2tri-c/p2t/common/utils.c \ |
|
|
23 | # poly2tri-c/002/poly2tri-c/p2t/sweep/advancing_front.c \ |
|
|
24 | # poly2tri-c/002/poly2tri-c/p2t/sweep/cdt.c \ |
|
|
25 | # poly2tri-c/002/poly2tri-c/p2t/sweep/sweep.c \ |
|
|
26 | # poly2tri-c/002/poly2tri-c/p2t/sweep/sweep_context.c \ |
|
|
27 | # |
8 | libmaptool_la_SOURCES = boundaries.c buffer.c ch.c coastline.c geom.c itembin.c itembin_buffer.c misc.c osm.c osm_psql.c osm_protobuf.c osm_protobufdb.c osm_xml.c sourcesink.c tempfile.c tile.c zip.c maptool.h generated-code/fileformat.pb-c.c generated-code/fileformat.pb-c.h generated-code/osmformat.pb-c.c generated-code/osmformat.pb-c.h google/protobuf-c/protobuf-c.c google/protobuf-c/protobuf-c.h google/protobuf-c/protobuf-c-private.h |
28 | libmaptool_la_SOURCES = boundaries.c buffer.c ch.c coastline.c geom.c itembin.c itembin_buffer.c misc.c osm.c osm_psql.c osm_protobuf.c osm_protobufdb.c osm_relations.c osm_xml.c sourcesink.c tempfile.c tile.c zip.c maptool.h generated-code/fileformat.pb-c.c generated-code/fileformat.pb-c.h generated-code/osmformat.pb-c.c generated-code/osmformat.pb-c.h google/protobuf-c/protobuf-c.c google/protobuf-c/protobuf-c.h google/protobuf-c/protobuf-c-private.h miniz.c sqlite3.c sqlite3async.c |
|
|
29 | |
9 | maptool_SOURCES = maptool.c |
30 | maptool_SOURCES = maptool.c |
10 | maptool_LDADD = libmaptool.la ../libnavit.la @NAVIT_LIBS@ @WORDEXP_LIBS@ @ZLIB_LIBS@ @POSTGRESQL_LIBS@ @CRYPTO_LIBS@ @INTLLIBS@ @LIBC_LIBS@ |
31 | maptool_LDADD = libmaptool.la ../libnavit.la @NAVIT_LIBS@ @WORDEXP_LIBS@ @ZLIB_LIBS@ @POSTGRESQL_LIBS@ @CRYPTO_LIBS@ @INTLLIBS@ @LIBC_LIBS@ p2t/libp2tc.la refine/libp2tc-refine.la libcfu-0.03-zanavi/src/libcfu.a |
|
|
32 | |
|
|
33 | #libcfu_dummy.h: |
|
|
34 | # echo "" >libcfu_dummy.h |
|
|
35 | # cp -v $(top_srcdir)/navit/maptool/libcfu.a . |
|
|
36 | |
|
|
37 | #libcfu.a: |
|
|
38 | # cp -v $(top_srcdir)/navit/maptool/libcfu-0.03-zanavi/src/libcfu.a . |
|
|
39 | |
|
|
40 | version_maptool.h.tmp: |
|
|
41 | echo "" >version_maptool.h.tmp |
|
|
42 | echo "#define SVN_VERSION \"$$(LANG=C svnversion $(top_srcdir)/navit/maptool 2>/dev/null)\"" >>version_maptool.h.tmp |
|
|
43 | if ! diff version_maptool.h.tmp version_maptool.h >/dev/null 2>/dev/null; \ |
|
|
44 | then \ |
|
|
45 | mv version_maptool.h.tmp version_maptool.h; \ |
|
|
46 | fi |
|
|
47 | |
|
|
48 | version_maptool.h: version_maptool.h.tmp |