… | |
… | |
122 | maptype.h menu.h messages.h navigation.h navit.h osd.h param.h \ |
122 | maptype.h menu.h messages.h navigation.h navit.h osd.h param.h \ |
123 | phrase.h plugin.h point.h plugin_def.h projection.h popup.h \ |
123 | phrase.h plugin.h point.h plugin_def.h projection.h popup.h \ |
124 | route.h profile.h roadprofile.h search.h speech.h start_real.h \ |
124 | route.h profile.h roadprofile.h search.h speech.h start_real.h \ |
125 | transform.h track.h types.h util.h vehicle.h vehicleprofile.h \ |
125 | transform.h track.h types.h util.h vehicle.h vehicleprofile.h \ |
126 | window.h xmlconfig.h zipfile.h navit_nls.h sunriset.c \ |
126 | window.h xmlconfig.h zipfile.h navit_nls.h sunriset.c \ |
127 | sunriset.h glib_slice.h android.c event_glib.c builtin.c |
127 | sunriset.h glib_slice.h maptool/miniz.c android.c event_glib.c \ |
|
|
128 | builtin.c |
128 | @SUPPORT_ANDROID_TRUE@am__objects_1 = android.lo |
129 | @SUPPORT_ANDROID_TRUE@am__objects_1 = android.lo |
129 | @EVENT_GLIB_TRUE@am__objects_2 = event_glib.lo |
130 | @EVENT_GLIB_TRUE@am__objects_2 = event_glib.lo |
130 | @PLUGINS_FALSE@am__objects_3 = builtin.lo |
131 | @PLUGINS_FALSE@am__objects_3 = builtin.lo |
131 | am_lib@LIBNAVIT@_la_OBJECTS = announcement.lo atom.lo attr.lo cache.lo \ |
132 | am_lib@LIBNAVIT@_la_OBJECTS = announcement.lo atom.lo attr.lo cache.lo \ |
132 | callback.lo command.lo compass.lo config_.lo coord.lo \ |
133 | callback.lo command.lo compass.lo config_.lo coord.lo \ |
… | |
… | |
135 | linguistics.lo mapset.lo maptype.lo menu.lo messages.lo \ |
136 | linguistics.lo mapset.lo maptype.lo menu.lo messages.lo \ |
136 | bookmarks.lo navit.lo navigation.lo osd.lo param.lo phrase.lo \ |
137 | bookmarks.lo navit.lo navigation.lo osd.lo param.lo phrase.lo \ |
137 | plugin.lo popup.lo profile.lo projection.lo roadprofile.lo \ |
138 | plugin.lo popup.lo profile.lo projection.lo roadprofile.lo \ |
138 | route.lo routech.lo search.lo speech.lo start_real.lo \ |
139 | route.lo routech.lo search.lo speech.lo start_real.lo \ |
139 | transform.lo track.lo util.lo vehicle.lo vehicleprofile.lo \ |
140 | transform.lo track.lo util.lo vehicle.lo vehicleprofile.lo \ |
140 | xmlconfig.lo sunriset.lo $(am__objects_1) $(am__objects_2) \ |
141 | xmlconfig.lo sunriset.lo miniz.lo $(am__objects_1) \ |
141 | $(am__objects_3) |
142 | $(am__objects_2) $(am__objects_3) |
142 | lib@LIBNAVIT@_la_OBJECTS = $(am_lib@LIBNAVIT@_la_OBJECTS) |
143 | lib@LIBNAVIT@_la_OBJECTS = $(am_lib@LIBNAVIT@_la_OBJECTS) |
143 | lib@LIBNAVIT@_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ |
144 | lib@LIBNAVIT@_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ |
144 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
145 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
145 | $(lib@LIBNAVIT@_la_LDFLAGS) $(LDFLAGS) -o $@ |
146 | $(lib@LIBNAVIT@_la_LDFLAGS) $(LDFLAGS) -o $@ |
146 | @SHARED_LIBNAVIT_FALSE@am_lib@LIBNAVIT@_la_rpath = |
147 | @SHARED_LIBNAVIT_FALSE@am_lib@LIBNAVIT@_la_rpath = |
… | |
… | |
514 | maptype.h menu.h messages.h navigation.h navit.h osd.h param.h \ |
515 | maptype.h menu.h messages.h navigation.h navit.h osd.h param.h \ |
515 | phrase.h plugin.h point.h plugin_def.h projection.h popup.h \ |
516 | phrase.h plugin.h point.h plugin_def.h projection.h popup.h \ |
516 | route.h profile.h roadprofile.h search.h speech.h start_real.h \ |
517 | route.h profile.h roadprofile.h search.h speech.h start_real.h \ |
517 | transform.h track.h types.h util.h vehicle.h vehicleprofile.h \ |
518 | transform.h track.h types.h util.h vehicle.h vehicleprofile.h \ |
518 | window.h xmlconfig.h zipfile.h navit_nls.h sunriset.c \ |
519 | window.h xmlconfig.h zipfile.h navit_nls.h sunriset.c \ |
519 | sunriset.h glib_slice.h $(am__append_7) $(am__append_8) \ |
520 | sunriset.h glib_slice.h maptool/miniz.c $(am__append_7) \ |
520 | $(am__append_9) |
521 | $(am__append_8) $(am__append_9) |
521 | @SUPPORT_ANDROID_FALSE@navit_SOURCES = start.c |
522 | @SUPPORT_ANDROID_FALSE@navit_SOURCES = start.c |
522 | @SUPPORT_ANDROID_TRUE@navit_SOURCES = |
523 | @SUPPORT_ANDROID_TRUE@navit_SOURCES = |
523 | @SUPPORT_ANDROID_FALSE@navit_LDADD = lib@LIBNAVIT@.la @NAVIT_LIBS@ \ |
524 | @SUPPORT_ANDROID_FALSE@navit_LDADD = lib@LIBNAVIT@.la @NAVIT_LIBS@ \ |
524 | @SUPPORT_ANDROID_FALSE@ @WORDEXP_LIBS@ @ZLIB_LIBS@ \ |
525 | @SUPPORT_ANDROID_FALSE@ @WORDEXP_LIBS@ @ZLIB_LIBS@ \ |
525 | @SUPPORT_ANDROID_FALSE@ @CRYPTO_LIBS@ @INTLLIBS@ \ |
526 | @SUPPORT_ANDROID_FALSE@ @CRYPTO_LIBS@ @INTLLIBS@ \ |
… | |
… | |
529 | @SUPPORT_ANDROID_TRUE@ @ZLIB_LIBS@ @CRYPTO_LIBS@ @INTLLIBS@ \ |
530 | @SUPPORT_ANDROID_TRUE@ @ZLIB_LIBS@ @CRYPTO_LIBS@ @INTLLIBS@ \ |
530 | @SUPPORT_ANDROID_TRUE@ $(am__append_11) $(am__append_12) \ |
531 | @SUPPORT_ANDROID_TRUE@ $(am__append_11) $(am__append_12) \ |
531 | @SUPPORT_ANDROID_TRUE@ $(am__append_13) |
532 | @SUPPORT_ANDROID_TRUE@ $(am__append_13) |
532 | @SUPPORT_ANDROID_TRUE@v_int = $$(cat $(srcdir)/android/Android_Market_Version_int.txt|grep v_int|cut -d ":" -f 2) |
533 | @SUPPORT_ANDROID_TRUE@v_int = $$(cat $(srcdir)/android/Android_Market_Version_int.txt|grep v_int|cut -d ":" -f 2) |
533 | @SUPPORT_ANDROID_TRUE@v_name = "1.0.0-"$$(LANG=C svnversion $(top_srcdir) 2> /dev/null|tr -d ":A-Z" 2> /dev/null) |
534 | @SUPPORT_ANDROID_TRUE@v_name = "1.0.0-"$$(LANG=C svnversion $(top_srcdir) 2> /dev/null|tr -d ":A-Z" 2> /dev/null) |
|
|
535 | @SUPPORT_ANDROID_TRUE@b_arch = $(shell if [ "$(DO_X86_BUILD)" == "1" ]; then echo "x86";else echo "armeabi"; fi) |
534 | navit_LDFLAGS = -export-dynamic |
536 | navit_LDFLAGS = -export-dynamic |
535 | all: $(BUILT_SOURCES) |
537 | all: $(BUILT_SOURCES) |
536 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
538 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
537 | |
539 | |
538 | .SUFFIXES: |
540 | .SUFFIXES: |
… | |
… | |
690 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/map.Plo@am__quote@ |
692 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/map.Plo@am__quote@ |
691 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapset.Plo@am__quote@ |
693 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/mapset.Plo@am__quote@ |
692 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/maptype.Plo@am__quote@ |
694 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/maptype.Plo@am__quote@ |
693 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menu.Plo@am__quote@ |
695 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/menu.Plo@am__quote@ |
694 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/messages.Plo@am__quote@ |
696 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/messages.Plo@am__quote@ |
|
|
697 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/miniz.Plo@am__quote@ |
695 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/navigation.Plo@am__quote@ |
698 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/navigation.Plo@am__quote@ |
696 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/navit.Plo@am__quote@ |
699 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/navit.Plo@am__quote@ |
697 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/osd.Plo@am__quote@ |
700 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/osd.Plo@am__quote@ |
698 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/param.Plo@am__quote@ |
701 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/param.Plo@am__quote@ |
699 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/phrase.Plo@am__quote@ |
702 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/phrase.Plo@am__quote@ |
… | |
… | |
734 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
737 | @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $< |
735 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo |
738 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo |
736 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ |
739 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@ |
737 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
740 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
738 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< |
741 | @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $< |
|
|
742 | |
|
|
743 | miniz.lo: maptool/miniz.c |
|
|
744 | @am__fastdepCC_TRUE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT miniz.lo -MD -MP -MF $(DEPDIR)/miniz.Tpo -c -o miniz.lo `test -f 'maptool/miniz.c' || echo '$(srcdir)/'`maptool/miniz.c |
|
|
745 | @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/miniz.Tpo $(DEPDIR)/miniz.Plo |
|
|
746 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='maptool/miniz.c' object='miniz.lo' libtool=yes @AMDEPBACKSLASH@ |
|
|
747 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
|
|
748 | @am__fastdepCC_FALSE@ $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o miniz.lo `test -f 'maptool/miniz.c' || echo '$(srcdir)/'`maptool/miniz.c |
739 | |
749 | |
740 | mostlyclean-libtool: |
750 | mostlyclean-libtool: |
741 | -rm -f *.lo |
751 | -rm -f *.lo |
742 | |
752 | |
743 | clean-libtool: |
753 | clean-libtool: |
… | |
… | |
1141 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android/dummy.txt |
1151 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android/dummy.txt |
1142 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/dummy.txt |
1152 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/dummy.txt |
1143 | @SUPPORT_ANDROID_TRUE@ android update project -t @ANDROID_PROJECT@ -p android |
1153 | @SUPPORT_ANDROID_TRUE@ android update project -t @ANDROID_PROJECT@ -p android |
1144 | |
1154 | |
1145 | @SUPPORT_ANDROID_TRUE@apkg-all: all android/build.xml navit.xml |
1155 | @SUPPORT_ANDROID_TRUE@apkg-all: all android/build.xml navit.xml |
|
|
1156 | |
1146 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/libs/armeabi |
1157 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/libs/$(b_arch) |
1147 | @SUPPORT_ANDROID_TRUE@ cp .libs/*.so android/libs/armeabi/libnavit.so |
1158 | @SUPPORT_ANDROID_TRUE@ cp .libs/*.so android/libs/$(b_arch)/libnavit.so |
1148 | @SUPPORT_ANDROID_TRUE@ for i in */*/.libs/*.so ; do sed 's&lib_data_data_com\.zoffcc\.applications\.zanavi_lib_&/data/data/com.zoffcc.applications.zanavi/lib/lib&' <$$i >android/libs/armeabi/$$(basename $$i); done |
1159 | @SUPPORT_ANDROID_TRUE@ for i in */*/.libs/*.so ; do sed 's&lib_data_data_com\.zoffcc\.applications\.zanavi_lib_&/data/data/com.zoffcc.applications.zanavi/lib/lib&' <$$i >android/libs/$(b_arch)/$$(basename $$i); done |
1149 | |
1160 | |
1150 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-ldpi |
1161 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-ldpi |
1151 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-mdpi |
1162 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-mdpi |
1152 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-hdpi |
1163 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-hdpi |
1153 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_PNG_BUILD)" == "1" ]; then for i in $(shell cd $(srcdir)/xpm && echo *.xpm); do convert $(srcdir)/xpm/$$i android/res/drawable-mdpi/$${i%.xpm}.png; done ; fi |
1164 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_PNG_BUILD)" == "1" ]; then for i in $(shell cd $(srcdir)/xpm && echo *.xpm); do convert $(srcdir)/xpm/$$i android/res/drawable-mdpi/$${i%.xpm}.png; done ; fi |
… | |
… | |
1199 | @SUPPORT_ANDROID_TRUE@ cp navit_android_hdpi.xml android/res/raw/navithdpi.xml |
1210 | @SUPPORT_ANDROID_TRUE@ cp navit_android_hdpi.xml android/res/raw/navithdpi.xml |
1200 | |
1211 | |
1201 | # cleanup svn dirs, they should never be in build dir |
1212 | # cleanup svn dirs, they should never be in build dir |
1202 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then find $(builddir) -type d -name '\.svn' -exec rm -Rf {} \; ; fi; echo "ignore the find errors!!" |
1213 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then find $(builddir) -type d -name '\.svn' -exec rm -Rf {} \; ; fi; echo "ignore the find errors!!" |
1203 | |
1214 | |
1204 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then mkdir -p android/libs/armeabi ; fi |
1215 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then mkdir -p android/libs/$(b_arch) ; fi |
1205 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then install -p $(NDK)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/gdbserver android/libs/armeabi/gdbserver ; fi |
1216 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then install -p $(NDK)/toolchains/arm-linux-androideabi-4.4.3/prebuilt/gdbserver android/libs/$(b_arch)/gdbserver ; fi |
1206 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then mkdir -p android/libs/armeabi ; fi |
1217 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then mkdir -p android/libs/$(b_arch) ; fi |
1207 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then mkdir -p android/obj/local/armeabi ; fi |
1218 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then mkdir -p android/obj/local/$(b_arch) ; fi |
1208 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then cp android/libs/armeabi/*.so android/obj/local/armeabi/ ; fi |
1219 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then cp android/libs/$(b_arch)/*.so android/obj/local/$(b_arch)/ ; fi |
1209 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then echo "set solib-search-path $(builddir)/obj/local/armeabi" > android/libs/armeabi/gdb.setup ; fi |
1220 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then echo "set solib-search-path $(builddir)/obj/local/$(b_arch)" > android/libs/$(b_arch)/gdb.setup ; fi |
1210 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then echo "directory $(NDK)/platforms/android-""$(AND_API_LEVEL_C)""/arch-arm/usr/include $(NDK)/sources/cxx-stl/system" >> android/libs/armeabi/gdb.setup ; fi |
1221 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then echo "directory $(NDK)/platforms/android-""$(AND_API_LEVEL_C)""/arch-arm/usr/include $(NDK)/sources/cxx-stl/system" >> android/libs/$(b_arch)/gdb.setup ; fi |
1211 | |
1222 | |
1212 | # strip libs if release build is selected |
1223 | # strip libs if release build is selected |
1213 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" == "1" ]; then echo "stripping libs ..."; arm-linux-androideabi-strip --strip-unneeded $(builddir)/android/libs/armeabi/* ; echo "done" ; fi |
1224 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" == "1" ]; then echo "stripping libs ..."; arm-linux-androideabi-strip --strip-unneeded $(builddir)/android/libs/armeabi/* ; echo "done" ; fi |
|
|
1225 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" == "1" ]; then echo "stripping libs ..."; i686-android-linux-strip --strip-unneeded $(builddir)/android/libs/x86/* ; echo "done" ; fi |
1214 | |
1226 | |
1215 | @SUPPORT_ANDROID_TRUE@apkg: apkg-all |
1227 | @SUPPORT_ANDROID_TRUE@apkg: apkg-all |
1216 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android/dummy.txt |
1228 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android/dummy.txt |
1217 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/dummy.txt |
1229 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/dummy.txt |
1218 | @SUPPORT_ANDROID_TRUE@ cd android && ant debug |
1230 | @SUPPORT_ANDROID_TRUE@ cd android && ant debug |