… | |
… | |
133 | maptype.h menu.h messages.h navigation.h navit.h osd.h param.h \ |
133 | maptype.h menu.h messages.h navigation.h navit.h osd.h param.h \ |
134 | phrase.h plugin.h point.h plugin_def.h projection.h popup.h \ |
134 | phrase.h plugin.h point.h plugin_def.h projection.h popup.h \ |
135 | route.h profile.h roadprofile.h search.h speech.h start_real.h \ |
135 | route.h profile.h roadprofile.h search.h speech.h start_real.h \ |
136 | transform.h track.h types.h util.h vehicle.h vehicleprofile.h \ |
136 | transform.h track.h types.h util.h vehicle.h vehicleprofile.h \ |
137 | window.h xmlconfig.h zipfile.h navit_nls.h sunriset.c \ |
137 | window.h xmlconfig.h zipfile.h navit_nls.h sunriset.c \ |
138 | sunriset.h glib_slice.h maptool/miniz.c snprintf.c snprintf.h \ |
138 | sunriset.h glib_slice.h maptool/miniz.c coffeecatch.c \ |
|
|
139 | coffeejni.c snprintf.c snprintf.h \ |
139 | vehicle/android/vehicle_android.c vehicle/demo/vehicle_demo.c \ |
140 | vehicle/android/vehicle_android.c vehicle/demo/vehicle_demo.c \ |
140 | gui/internal/gui_internal.c \ |
141 | gui/internal/gui_internal.c \ |
141 | graphics/android/graphics_android.c map/binfile/binfile.c \ |
142 | graphics/android/graphics_android.c map/binfile/binfile.c \ |
142 | map/csv/csv.c map/csv/quadtree.c map/textfile/textfile.c \ |
143 | map/csv/csv.c map/csv/quadtree.c map/textfile/textfile.c \ |
143 | osd/core/osd_core.c speech/android/speech_android.c android.c \ |
144 | osd/core/osd_core.c speech/android/speech_android.c android.c \ |
… | |
… | |
156 | linguistics.lo mapset.lo maptype.lo menu.lo messages.lo \ |
157 | linguistics.lo mapset.lo maptype.lo menu.lo messages.lo \ |
157 | bookmarks.lo navit.lo navigation.lo osd.lo param.lo phrase.lo \ |
158 | bookmarks.lo navit.lo navigation.lo osd.lo param.lo phrase.lo \ |
158 | plugin.lo popup.lo profile.lo projection.lo roadprofile.lo \ |
159 | plugin.lo popup.lo profile.lo projection.lo roadprofile.lo \ |
159 | route.lo routech.lo search.lo speech.lo start_real.lo \ |
160 | route.lo routech.lo search.lo speech.lo start_real.lo \ |
160 | transform.lo track.lo util.lo vehicle.lo vehicleprofile.lo \ |
161 | transform.lo track.lo util.lo vehicle.lo vehicleprofile.lo \ |
161 | xmlconfig.lo sunriset.lo miniz.lo snprintf.lo $(am__objects_1) \ |
162 | xmlconfig.lo sunriset.lo miniz.lo coffeecatch.lo coffeejni.lo \ |
162 | $(am__objects_2) $(am__objects_3) |
163 | snprintf.lo $(am__objects_1) $(am__objects_2) $(am__objects_3) |
163 | lib@LIBNAVIT@_la_OBJECTS = $(am_lib@LIBNAVIT@_la_OBJECTS) |
164 | lib@LIBNAVIT@_la_OBJECTS = $(am_lib@LIBNAVIT@_la_OBJECTS) |
164 | lib@LIBNAVIT@_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ |
165 | lib@LIBNAVIT@_la_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) \ |
165 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
166 | $(LIBTOOLFLAGS) --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \ |
166 | $(lib@LIBNAVIT@_la_LDFLAGS) $(LDFLAGS) -o $@ |
167 | $(lib@LIBNAVIT@_la_LDFLAGS) $(LDFLAGS) -o $@ |
167 | @SHARED_LIBNAVIT_FALSE@am_lib@LIBNAVIT@_la_rpath = |
168 | @SHARED_LIBNAVIT_FALSE@am_lib@LIBNAVIT@_la_rpath = |
… | |
… | |
506 | skinsdir = $(pkgdatadir)/skins |
507 | skinsdir = $(pkgdatadir)/skins |
507 | fontsdir = $(pkgdatadir)/fonts |
508 | fontsdir = $(pkgdatadir)/fonts |
508 | mapsdir = $(pkgdatadir)/maps |
509 | mapsdir = $(pkgdatadir)/maps |
509 | comma = , |
510 | comma = , |
510 | SUBDIRS = fib-1.1 support $(am__append_1) autoload binding map font \ |
511 | SUBDIRS = fib-1.1 support $(am__append_1) autoload binding map font \ |
511 | gui graphics osd plugin speech vehicle xpm $(am__append_2) \ |
512 | gui graphics osd plugin speech vehicle $(am__append_2) \ |
512 | $(am__append_3) $(am__append_4) $(am__append_5) |
513 | $(am__append_3) $(am__append_4) $(am__append_5) |
513 | DIST_SUBDIRS = autoload binding map maptool fib-1.1 font fonts gui graphics osd plugin speech vehicle support xpm maps |
514 | DIST_SUBDIRS = autoload binding map maptool fib-1.1 font fonts gui graphics osd plugin speech vehicle support maps |
514 | MODULES = $(wildcard $(top_builddir)/navit/binding/*/*.la $(top_builddir)/navit/font/*/*.la $(top_builddir)/navit/graphics/*/*.la $(top_builddir)/navit/gui/*/*.la $(top_builddir)/navit/map/*/*.la $(top_builddir)/navit/osd/*/*.la $(top_builddir)/navit/speech/*/*.la $(top_builddir)/navit/vehicle/*/*.la) |
515 | MODULES = $(wildcard $(top_builddir)/navit/binding/*/*.la $(top_builddir)/navit/font/*/*.la $(top_builddir)/navit/graphics/*/*.la $(top_builddir)/navit/gui/*/*.la $(top_builddir)/navit/map/*/*.la $(top_builddir)/navit/osd/*/*.la $(top_builddir)/navit/speech/*/*.la $(top_builddir)/navit/vehicle/*/*.la) |
515 | AM_CPPFLAGS = -I$(top_srcdir)/navit/fib-1.1 @NAVIT_CFLAGS@ @ZLIB_CFLAGS@ -DPREFIX=\"@prefix@\" -DLIBDIR=\"@libdir@\" -DMODULE=navit |
516 | AM_CPPFLAGS = -I$(top_srcdir)/navit/fib-1.1 @NAVIT_CFLAGS@ @ZLIB_CFLAGS@ -DPREFIX=\"@prefix@\" -DLIBDIR=\"@libdir@\" -DMODULE=navit |
516 | BUILT_SOURCES = version.h navit_config.h |
517 | BUILT_SOURCES = version.h navit_config.h |
517 | @SHARED_LIBNAVIT_TRUE@lib_LTLIBRARIES = lib@LIBNAVIT@.la |
518 | @SHARED_LIBNAVIT_TRUE@lib_LTLIBRARIES = lib@LIBNAVIT@.la |
518 | @SHARED_LIBNAVIT_TRUE@lib@LIBNAVIT@_la_LDFLAGS = -avoid-version @MODULE_LDFLAGS@ @NAVIT_SOCKET_LDFLAGS@ -no-undefined -Wl,--no-undefined |
519 | @SHARED_LIBNAVIT_TRUE@lib@LIBNAVIT@_la_LDFLAGS = -avoid-version @MODULE_LDFLAGS@ @NAVIT_SOCKET_LDFLAGS@ -no-undefined -Wl,--no-undefined |
… | |
… | |
540 | maptype.h menu.h messages.h navigation.h navit.h osd.h param.h \ |
541 | maptype.h menu.h messages.h navigation.h navit.h osd.h param.h \ |
541 | phrase.h plugin.h point.h plugin_def.h projection.h popup.h \ |
542 | phrase.h plugin.h point.h plugin_def.h projection.h popup.h \ |
542 | route.h profile.h roadprofile.h search.h speech.h start_real.h \ |
543 | route.h profile.h roadprofile.h search.h speech.h start_real.h \ |
543 | transform.h track.h types.h util.h vehicle.h vehicleprofile.h \ |
544 | transform.h track.h types.h util.h vehicle.h vehicleprofile.h \ |
544 | window.h xmlconfig.h zipfile.h navit_nls.h sunriset.c \ |
545 | window.h xmlconfig.h zipfile.h navit_nls.h sunriset.c \ |
545 | sunriset.h glib_slice.h maptool/miniz.c snprintf.c snprintf.h \ |
546 | sunriset.h glib_slice.h maptool/miniz.c coffeecatch.c \ |
|
|
547 | coffeejni.c snprintf.c snprintf.h $(am__append_7) \ |
546 | $(am__append_7) $(am__append_8) $(am__append_9) |
548 | $(am__append_8) $(am__append_9) |
547 | @SUPPORT_ANDROID_FALSE@navit_SOURCES = start.c |
549 | @SUPPORT_ANDROID_FALSE@navit_SOURCES = start.c |
548 | @SUPPORT_ANDROID_TRUE@navit_SOURCES = |
550 | @SUPPORT_ANDROID_TRUE@navit_SOURCES = |
549 | @SUPPORT_ANDROID_FALSE@navit_LDADD = lib@LIBNAVIT@.la @NAVIT_LIBS@ \ |
551 | @SUPPORT_ANDROID_FALSE@navit_LDADD = lib@LIBNAVIT@.la @NAVIT_LIBS@ \ |
550 | @SUPPORT_ANDROID_FALSE@ @WORDEXP_LIBS@ @ZLIB_LIBS@ \ |
552 | @SUPPORT_ANDROID_FALSE@ @WORDEXP_LIBS@ @ZLIB_LIBS@ \ |
551 | @SUPPORT_ANDROID_FALSE@ @CRYPTO_LIBS@ @INTLLIBS@ \ |
553 | @SUPPORT_ANDROID_FALSE@ @CRYPTO_LIBS@ @INTLLIBS@ \ |
… | |
… | |
706 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binfile.Plo@am__quote@ |
708 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/binfile.Plo@am__quote@ |
707 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bookmarks.Plo@am__quote@ |
709 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/bookmarks.Plo@am__quote@ |
708 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/builtin.Plo@am__quote@ |
710 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/builtin.Plo@am__quote@ |
709 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cache.Plo@am__quote@ |
711 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/cache.Plo@am__quote@ |
710 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/callback.Plo@am__quote@ |
712 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/callback.Plo@am__quote@ |
|
|
713 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coffeecatch.Plo@am__quote@ |
|
|
714 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coffeejni.Plo@am__quote@ |
711 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/command.Plo@am__quote@ |
715 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/command.Plo@am__quote@ |
712 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compass.Plo@am__quote@ |
716 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/compass.Plo@am__quote@ |
713 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/config_.Plo@am__quote@ |
717 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/config_.Plo@am__quote@ |
714 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coord.Plo@am__quote@ |
718 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/coord.Plo@am__quote@ |
715 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/country.Plo@am__quote@ |
719 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/country.Plo@am__quote@ |
… | |
… | |
1243 | @SUPPORT_ANDROID_TRUE@ rm -f navit_android_mdpi.xml.tmp |
1247 | @SUPPORT_ANDROID_TRUE@ rm -f navit_android_mdpi.xml.tmp |
1244 | @SUPPORT_ANDROID_TRUE@ rm -f navit_android_ldpi.xml.tmp |
1248 | @SUPPORT_ANDROID_TRUE@ rm -f navit_android_ldpi.xml.tmp |
1245 | @SUPPORT_ANDROID_TRUE@ rm -f navit_android_hdpi.xml.tmp |
1249 | @SUPPORT_ANDROID_TRUE@ rm -f navit_android_hdpi.xml.tmp |
1246 | @SUPPORT_ANDROID_FALSE@ echo "no Android support" |
1250 | @SUPPORT_ANDROID_FALSE@ echo "no Android support" |
1247 | |
1251 | |
1248 | @SUPPORT_ANDROID_TRUE@android/AndroidManifest.xml: android/AndroidManifest.xml.in |
1252 | @SUPPORT_ANDROID_TRUE@android/AndroidManifest.xml: |
|
|
1253 | @SUPPORT_ANDROID_TRUE@ echo "making::android/AndroidManifest.xml" |
1249 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android |
1254 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android |
1250 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android/res2/drawable-hdpi |
1255 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -v $(srcdir)/android/AndroidManifest.xml.in $(builddir)/android/AndroidManifest.xml.in ; fi |
1251 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android/res2/drawable-mdpi |
|
|
1252 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android/res2/drawable-ldpi |
|
|
1253 | |
|
|
1254 | @SUPPORT_ANDROID_TRUE@ sed '0,/<uses-sdk/!d' <$< >$@ |
|
|
1255 | @SUPPORT_ANDROID_TRUE@ for i in $(subst $(comma), ,@ANDROID_PERMISSIONS@); do echo " <uses-permission android:name=\"android.permission.$$i\" />" >>$@; done |
|
|
1256 | @SUPPORT_ANDROID_TRUE@ sed '0,/<uses-sdk/d' <$< >>$@ |
|
|
1257 | @SUPPORT_ANDROID_TRUE@ sed -e "s/@ANDROID_VERSION_INT@/$(v_int)/" <$@ >android/AndroidManifest.xml.tmp |
1256 | @SUPPORT_ANDROID_TRUE@ sed -e "s/@ANDROID_VERSION_INT@/$(v_int)/" <android/AndroidManifest.xml.in >android/AndroidManifest.xml.tmp |
1258 | @SUPPORT_ANDROID_TRUE@ mv android/AndroidManifest.xml.tmp $@ |
1257 | @SUPPORT_ANDROID_TRUE@ mv android/AndroidManifest.xml.tmp android/AndroidManifest.xml.in |
1259 | @SUPPORT_ANDROID_TRUE@ sed -e "s/@ANDROID_VERSION_NAME@/$(v_name)/" <$@ >android/AndroidManifest.xml.tmp |
1258 | @SUPPORT_ANDROID_TRUE@ sed -e "s/@ANDROID_VERSION_NAME@/$(v_name)/" <android/AndroidManifest.xml.in >android/AndroidManifest.xml.tmp |
1260 | @SUPPORT_ANDROID_TRUE@ mv android/AndroidManifest.xml.tmp $@ |
1259 | @SUPPORT_ANDROID_TRUE@ mv android/AndroidManifest.xml.tmp android/AndroidManifest.xml |
1261 | |
1260 | |
1262 | @SUPPORT_ANDROID_TRUE@android/build.xml: android/AndroidManifest.xml android/dummy.txt |
1261 | @SUPPORT_ANDROID_TRUE@android/build.xml: android/AndroidManifest.xml android/dummy.txt |
1263 | # this is needed, otherwise somehow the files cant be deleted |
1262 | # this is needed, otherwise somehow the files cant be deleted |
|
|
1263 | |
|
|
1264 | @SUPPORT_ANDROID_TRUE@ echo "making::android/build.xml" |
|
|
1265 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/build.xml |
|
|
1266 | |
1264 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android/src/ |
1267 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android/src/ |
1265 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android/src/; fi |
1268 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android/src/; fi |
1266 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android/src/; fi |
1269 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android/src/; fi |
1267 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android/* $(builddir)/android; fi |
1270 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android/* $(builddir)/android; fi |
1268 | |
1271 | |
… | |
… | |
1271 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -pf $(srcdir)/android/tagsoup-1.2.1.jar $(builddir)/android/lib/; fi |
1274 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -pf $(srcdir)/android/tagsoup-1.2.1.jar $(builddir)/android/lib/; fi |
1272 | |
1275 | |
1273 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android/dummy.txt |
1276 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android/dummy.txt |
1274 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/dummy.txt |
1277 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/dummy.txt |
1275 | |
1278 | |
1276 | # mkdir -p $(builddir)/actionbarsherlock/src/ |
1279 | ######## -------------------------- |
|
|
1280 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-about-page/src/ |
1277 | # if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/actionbarsherlock/src/; fi |
1281 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-about-page/src/; fi |
1278 | # if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/actionbarsherlock/src/; fi |
1282 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-about-page/src/; fi |
1279 | # if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/actionbarsherlock/* $(builddir)/actionbarsherlock; fi |
1283 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-about-page/* $(builddir)/android-about-page/; fi |
1280 | # touch $(srcdir)/actionbarsherlock/dummy.txt |
1284 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-about-page/dummy.txt |
1281 | # touch $(builddir)/actionbarsherlock/dummy.txt |
1285 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-about-page/dummy.txt |
1282 | # |
1286 | ######## -------------------------- |
1283 | # android update project -t @ANDROID_PROJECT@ -p android -l ../actionbarsherlock |
|
|
1284 | # echo "jar.libs.dir=lib" >> $(builddir)/android/ant.properties |
|
|
1285 | |
1287 | |
|
|
1288 | ######## -------------------------- |
|
|
1289 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-animated-vector-drawable/src/ |
|
|
1290 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-animated-vector-drawable/src/; fi |
|
|
1291 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-animated-vector-drawable/src/; fi |
|
|
1292 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-animated-vector-drawable/* $(builddir)/android-support-animated-vector-drawable/; fi |
|
|
1293 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-animated-vector-drawable/dummy.txt |
|
|
1294 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-animated-vector-drawable/dummy.txt |
|
|
1295 | ######## -------------------------- |
|
|
1296 | |
|
|
1297 | ######## -------------------------- |
|
|
1298 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-annotations/src/ |
|
|
1299 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-annotations/src/; fi |
|
|
1300 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-annotations/src/; fi |
|
|
1301 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-annotations/* $(builddir)/android-support-annotations/; fi |
|
|
1302 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-annotations/dummy.txt |
|
|
1303 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-annotations/dummy.txt |
|
|
1304 | ######## -------------------------- |
|
|
1305 | |
|
|
1306 | ######## -------------------------- |
|
|
1307 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-compat/src/ |
|
|
1308 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-compat/src/; fi |
|
|
1309 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-compat/src/; fi |
|
|
1310 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-compat/* $(builddir)/android-support-compat/; fi |
|
|
1311 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-compat/dummy.txt |
|
|
1312 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-compat/dummy.txt |
|
|
1313 | ######## -------------------------- |
|
|
1314 | |
|
|
1315 | ######## -------------------------- |
|
|
1316 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-core-ui/src/ |
|
|
1317 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-core-ui/src/; fi |
|
|
1318 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-core-ui/src/; fi |
|
|
1319 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-core-ui/* $(builddir)/android-support-core-ui/; fi |
|
|
1320 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-core-ui/dummy.txt |
|
|
1321 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-core-ui/dummy.txt |
|
|
1322 | ######## -------------------------- |
|
|
1323 | |
|
|
1324 | ######## -------------------------- |
|
|
1325 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-core-utils/src/ |
|
|
1326 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-core-utils/src/; fi |
|
|
1327 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-core-utils/src/; fi |
|
|
1328 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-core-utils/* $(builddir)/android-support-core-utils/; fi |
|
|
1329 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-core-utils/dummy.txt |
|
|
1330 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-core-utils/dummy.txt |
|
|
1331 | ######## -------------------------- |
|
|
1332 | |
|
|
1333 | ######## -------------------------- |
|
|
1334 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-design/src/ |
|
|
1335 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-design/src/; fi |
|
|
1336 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-design/src/; fi |
|
|
1337 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-design/* $(builddir)/android-support-design/; fi |
|
|
1338 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-design/dummy.txt |
|
|
1339 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-design/dummy.txt |
|
|
1340 | ######## -------------------------- |
|
|
1341 | |
|
|
1342 | ######## -------------------------- |
|
|
1343 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-fragment/src/ |
|
|
1344 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-fragment/src/; fi |
|
|
1345 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-fragment/src/; fi |
|
|
1346 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-fragment/* $(builddir)/android-support-fragment/; fi |
|
|
1347 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-fragment/dummy.txt |
|
|
1348 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-fragment/dummy.txt |
|
|
1349 | ######## -------------------------- |
|
|
1350 | |
|
|
1351 | ######## -------------------------- |
|
|
1352 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-media-compat/src/ |
|
|
1353 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-media-compat/src/; fi |
|
|
1354 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-media-compat/src/; fi |
|
|
1355 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-media-compat/* $(builddir)/android-support-media-compat/; fi |
|
|
1356 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-media-compat/dummy.txt |
|
|
1357 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-media-compat/dummy.txt |
|
|
1358 | ######## -------------------------- |
|
|
1359 | |
|
|
1360 | ######## -------------------------- |
|
|
1361 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-v4/src/ |
|
|
1362 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-v4/src/; fi |
|
|
1363 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-v4/src/; fi |
|
|
1364 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-v4/* $(builddir)/android-support-v4/; fi |
|
|
1365 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-v4/dummy.txt |
|
|
1366 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-v4/dummy.txt |
|
|
1367 | ######## -------------------------- |
|
|
1368 | |
|
|
1369 | ######## -------------------------- |
1286 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-v7-appcompat/src/ |
1370 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-v7-appcompat/src/ |
1287 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-v7-appcompat/src/; fi |
1371 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-v7-appcompat/src/; fi |
1288 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-v7-appcompat/src/; fi |
1372 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-v7-appcompat/src/; fi |
1289 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-v7-appcompat/* $(builddir)/android-support-v7-appcompat/; fi |
1373 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-v7-appcompat/* $(builddir)/android-support-v7-appcompat/; fi |
1290 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-v7-appcompat/dummy.txt |
1374 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-v7-appcompat/dummy.txt |
1291 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-v7-appcompat/dummy.txt |
1375 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-v7-appcompat/dummy.txt |
|
|
1376 | ######## -------------------------- |
|
|
1377 | |
|
|
1378 | ######## -------------------------- |
|
|
1379 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-v7-recyclerview/src/ |
|
|
1380 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-v7-recyclerview/src/; fi |
|
|
1381 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-v7-recyclerview/src/; fi |
|
|
1382 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-v7-recyclerview/* $(builddir)/android-support-v7-recyclerview/; fi |
|
|
1383 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-v7-recyclerview/dummy.txt |
|
|
1384 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-v7-recyclerview/dummy.txt |
|
|
1385 | ######## -------------------------- |
|
|
1386 | |
|
|
1387 | ######## -------------------------- |
|
|
1388 | @SUPPORT_ANDROID_TRUE@ mkdir -p $(builddir)/android-support-vector-drawable/src/ |
|
|
1389 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then chmod -R u+w $(builddir)/android-support-vector-drawable/src/; fi |
|
|
1390 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then rm -Rf $(builddir)/android-support-vector-drawable/src/; fi |
|
|
1391 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -rpf $(srcdir)/android-support-vector-drawable/* $(builddir)/android-support-vector-drawable/; fi |
|
|
1392 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android-support-vector-drawable/dummy.txt |
|
|
1393 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android-support-vector-drawable/dummy.txt |
|
|
1394 | ######## -------------------------- |
1292 | |
1395 | |
1293 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then mkdir -p $(builddir)/android/src/com/zoffcc/applications/zanavi_msg/ ; fi |
1396 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then mkdir -p $(builddir)/android/src/com/zoffcc/applications/zanavi_msg/ ; fi |
|
|
1397 | @SUPPORT_ANDROID_TRUE@ echo "+++ move aidl files +++" |
|
|
1398 | @SUPPORT_ANDROID_TRUE@ echo "+++ move aidl files +++" |
1294 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -pf $(builddir)/android/aidl/com/zoffcc/applications/zanavi_msg/*.aidl $(builddir)/android/src/com/zoffcc/applications/zanavi_msg/ ; fi |
1399 | @SUPPORT_ANDROID_TRUE@ if [ "$(builddir)" != "$(srcdir)" ]; then cp -pf $(builddir)/android/aidl/com/zoffcc/applications/zanavi_msg/*.aidl $(builddir)/android/src/com/zoffcc/applications/zanavi_msg/ ; fi |
1295 | |
1400 | |
1296 | # android update lib-project -t @ANDROID_PROJECT@ -p $(builddir)/android-support-v7-appcompat |
|
|
1297 | @SUPPORT_ANDROID_TRUE@ android update project -t @ANDROID_PROJECT@ -p android -l ../android-support-v7-appcompat |
|
|
1298 | @SUPPORT_ANDROID_TRUE@ echo "jar.libs.dir=lib" >> $(builddir)/android/ant.properties |
|
|
1299 | |
|
|
1300 | @SUPPORT_ANDROID_TRUE@apkg-all: all android/build.xml navit.xml |
1401 | @SUPPORT_ANDROID_TRUE@apkg-all: all android/build.xml navit.xml |
|
|
1402 | |
|
|
1403 | @SUPPORT_ANDROID_TRUE@ echo "making::apkg-all" |
|
|
1404 | |
1301 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/libs/$(b_arch) |
1405 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/libs/$(b_arch) |
1302 | @SUPPORT_ANDROID_TRUE@ cp .libs/*.so android/libs/$(b_arch)/libnavit.so |
1406 | # cp .libs/*.so android/libs/$(b_arch)/libnavit.so |
1303 | @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 |
1407 | # 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 |
1304 | |
|
|
1305 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-ldpi |
|
|
1306 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-mdpi |
|
|
1307 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-hdpi |
|
|
1308 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-xhdpi |
|
|
1309 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/drawable-xxhdpi |
|
|
1310 | |
|
|
1311 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res2/drawable-hdpi |
|
|
1312 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res2/drawable-mdpi |
|
|
1313 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res2/drawable-ldpi |
|
|
1314 | |
|
|
1315 | # all icons and imgs |
|
|
1316 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_PNG_BUILD)" == "1" ]; then for i in $(shell cd $(builddir)/xpm && echo *_16_16.png); do cp -v $(builddir)/xpm/$$i android/res/drawable-ldpi/$$( echo $$i | tr "[A-Z]" "[a-z]" | sed -e 'sx_16_16xx') ; done ; fi |
|
|
1317 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_PNG_BUILD)" == "1" ]; then for i in $(shell cd $(builddir)/xpm && echo *_32_32.png); do cp -v $(builddir)/xpm/$$i android/res/drawable-mdpi/$$( echo $$i | tr "[A-Z]" "[a-z]" | sed -e 'sx_32_32xx') ; done ; fi |
|
|
1318 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_PNG_BUILD)" == "1" ]; then for i in $(shell cd $(builddir)/xpm && echo *_48_48.png); do cp -v $(builddir)/xpm/$$i android/res/drawable-hdpi/$$( echo $$i | tr "[A-Z]" "[a-z]" | sed -e 'sx_48_48xx') ; done ; fi |
|
|
1319 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_PNG_BUILD)" == "1" ]; then for i in $(shell cd $(builddir)/xpm && echo *_48_48.png); do cp -v $(builddir)/xpm/$$i android/res/drawable-xhdpi/$$( echo $$i | tr "[A-Z]" "[a-z]" | sed -e 'sx_48_48xx') ; done ; fi |
|
|
1320 | |
|
|
1321 | # nav icons (overwrite with larger versions) |
|
|
1322 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_PNG_BUILD)" == "1" ]; then for i in $(shell cd $(builddir)/xpm && echo nav_*_48_48.png); do cp -v $(builddir)/xpm/$$i android/res/drawable-ldpi/$$( echo $$i | tr "[A-Z]" "[a-z]" | sed -e 'sx_48_48xx') ; done ; fi |
|
|
1323 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_PNG_BUILD)" == "1" ]; then for i in $(shell cd $(builddir)/xpm && echo nav_*_48_48.png); do cp -v $(builddir)/xpm/$$i android/res/drawable-mdpi/$$( echo $$i | tr "[A-Z]" "[a-z]" | sed -e 'sx_48_48xx') ; done ; fi |
|
|
1324 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_PNG_BUILD)" == "1" ]; then for i in $(shell cd $(builddir)/xpm && echo nav_*_96_96.png); do cp -v $(builddir)/xpm/$$i android/res/drawable-hdpi/$$( echo $$i | tr "[A-Z]" "[a-z]" | sed -e 'sx_96_96xx') ; done ; fi |
|
|
1325 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_PNG_BUILD)" == "1" ]; then for i in $(shell cd $(builddir)/xpm && echo nav_*_192_192.png); do cp -v $(builddir)/xpm/$$i android/res/drawable-xhdpi/$$( echo $$i | tr "[A-Z]" "[a-z]" | sed -e 'sx_192_192xx') ; done ; fi |
|
|
1326 | |
|
|
1327 | # only use needed pngs to make size of apk smaller |
|
|
1328 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in flag_bk_tr.png flag_bk_wh.png mini_roundabout.png gui_active_32_32.png gui_arrow_right_32_32.png gui_arrow_left_32_32.png icon_32_32.png unknown_32_32.png gui_zoom_out_64_64.png gui_zoom_in_64_64.png gui_map_32_32.png gui_home_32_32.png gui_actions_64_64.png gui_settings_64_64.png gui_tools_64_64.png gui_about_64_64.png gui_inactive_32_32.png ; do cp -v $(builddir)/android/res2/drawable-hdpi/$$i android/res/drawable-hdpi/ ; done ; fi |
|
|
1329 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in flag_bk_tr.png flag_bk_wh.png mini_roundabout.png gui_active_32_32.png gui_arrow_right_32_32.png gui_arrow_left_32_32.png icon_32_32.png unknown_32_32.png gui_zoom_out_64_64.png gui_zoom_in_64_64.png gui_map_32_32.png gui_home_32_32.png gui_actions_64_64.png gui_settings_64_64.png gui_tools_64_64.png gui_about_64_64.png gui_inactive_32_32.png ; do cp -v $(builddir)/android/res2/drawable-mdpi/$$i android/res/drawable-mdpi/ ; done ; fi |
|
|
1330 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in flag_bk_tr.png flag_bk_wh.png mini_roundabout.png gui_active_32_32.png gui_arrow_right_32_32.png gui_arrow_left_32_32.png icon_32_32.png unknown_32_32.png gui_zoom_out_64_64.png gui_zoom_in_64_64.png gui_map_32_32.png gui_home_32_32.png gui_actions_64_64.png gui_settings_64_64.png gui_tools_64_64.png gui_about_64_64.png gui_inactive_32_32.png ; do cp -v $(builddir)/android/res2/drawable-ldpi/$$i android/res/drawable-ldpi/ ; done ; fi |
|
|
1331 | # gui icons |
|
|
1332 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in $(shell cd android/res2/drawable-hdpi && echo gui*64_64*png); do cp -v $(builddir)/android/res2/drawable-hdpi/$$i android/res/drawable-hdpi/ ; done ; fi |
|
|
1333 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in $(shell cd android/res2/drawable-mdpi && echo gui*64_64*png); do cp -v $(builddir)/android/res2/drawable-mdpi/$$i android/res/drawable-mdpi/ ; done ; fi |
|
|
1334 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in $(shell cd android/res2/drawable-ldpi && echo gui*64_64*png); do cp -v $(builddir)/android/res2/drawable-ldpi/$$i android/res/drawable-ldpi/ ; done ; fi |
|
|
1335 | # nav icons |
|
|
1336 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in $(shell cd android/res2/drawable-hdpi && echo nav_*png); do cp -v $(builddir)/android/res2/drawable-hdpi/$$i android/res/drawable-hdpi/ ; done ; fi |
|
|
1337 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in $(shell cd android/res2/drawable-mdpi && echo nav_*png); do cp -v $(builddir)/android/res2/drawable-mdpi/$$i android/res/drawable-mdpi/ ; done ; fi |
|
|
1338 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in $(shell cd android/res2/drawable-ldpi && echo nav_*png); do cp -v $(builddir)/android/res2/drawable-ldpi/$$i android/res/drawable-ldpi/ ; done ; fi |
|
|
1339 | # POIs |
|
|
1340 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in traffic_signals.png atm.png bank.png fuel.png gui_select_street_32_32.png gui_select_town_32_32.png gui_select_country_32_32.png ; do cp -v $(builddir)/android/res2/drawable-hdpi/$$i android/res/drawable-hdpi/ ; done ; fi |
|
|
1341 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in traffic_signals.png atm.png bank.png fuel.png gui_select_street_32_32.png gui_select_town_32_32.png gui_select_country_32_32.png ; do cp -v $(builddir)/android/res2/drawable-mdpi/$$i android/res/drawable-mdpi/ ; done ; fi |
|
|
1342 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in traffic_signals.png atm.png bank.png fuel.png gui_select_street_32_32.png gui_select_town_32_32.png gui_select_country_32_32.png ; do cp -v $(builddir)/android/res2/drawable-ldpi/$$i android/res/drawable-ldpi/ ; done ; fi |
|
|
1343 | # more POIs |
|
|
1344 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in airport.png attraction.png bar.png beer.png bench.png boat_ramp.png boundary_stone.png bus.png cafe.png camping.png church.png cinema.png danger.png exit.png fastfood.png firebrigade.png fountain.png golf.png heliport.png hospital.png hotel.png information.png justice.png mark.png military.png mini_roundabout.png museum.png parking.png peak.png pharmacy.png police.png post.png repair_service.png resort.png restaurant.png ruins.png school.png shop_grocery.png shopping.png skiing.png stadium.png swimming.png tec_common.png telephone.png toilets.png viewpoint.png wifi.png zoom_in.png zoom_out.png zoo.png ; do cp -v $(builddir)/android/res2/drawable-hdpi/$$i android/res/drawable-hdpi/ ; done ; fi |
|
|
1345 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in airport.png attraction.png bar.png beer.png bench.png boat_ramp.png boundary_stone.png bus.png cafe.png camping.png church.png cinema.png danger.png exit.png fastfood.png firebrigade.png fountain.png golf.png heliport.png hospital.png hotel.png information.png justice.png mark.png military.png mini_roundabout.png museum.png parking.png peak.png pharmacy.png police.png post.png repair_service.png resort.png restaurant.png ruins.png school.png shop_grocery.png shopping.png skiing.png stadium.png swimming.png tec_common.png telephone.png toilets.png viewpoint.png wifi.png zoom_in.png zoom_out.png zoo.png ; do cp -v $(builddir)/android/res2/drawable-mdpi/$$i android/res/drawable-mdpi/ ; done ; fi |
|
|
1346 | # if [ "$(builddir)" != "$(srcdir)" ]; then for i in airport.png attraction.png bar.png beer.png bench.png boat_ramp.png boundary_stone.png bus.png cafe.png camping.png church.png cinema.png danger.png exit.png fastfood.png firebrigade.png fountain.png golf.png heliport.png hospital.png hotel.png information.png justice.png mark.png military.png mini_roundabout.png museum.png parking.png peak.png pharmacy.png police.png post.png repair_service.png resort.png restaurant.png ruins.png school.png shop_grocery.png shopping.png skiing.png stadium.png swimming.png tec_common.png telephone.png toilets.png viewpoint.png wifi.png zoom_in.png zoom_out.png zoo.png ; do cp -v $(builddir)/android/res2/drawable-ldpi/$$i android/res/drawable-ldpi/ ; done ; fi |
|
|
1347 | # rest of nav_ icons |
|
|
1348 | # if [ "$(builddir)" != "$(srcdir)" ]; then cp -v $(builddir)/android/res2/drawable-hdpi/nav_destination_bk_59_59.png android/res/drawable-hdpi/nav_destination_bk.png ; fi |
|
|
1349 | # if [ "$(builddir)" != "$(srcdir)" ]; then cp -v $(builddir)/android/res2/drawable-mdpi/nav_destination_bk_59_59.png android/res/drawable-mdpi/nav_destination_bk.png ; fi |
|
|
1350 | # if [ "$(builddir)" != "$(srcdir)" ]; then cp -v $(builddir)/android/res2/drawable-ldpi/nav_destination_bk_59_59.png android/res/drawable-ldpi/nav_destination_bk.png ; fi |
|
|
1351 | |
|
|
1352 | # if release build -> then compress png images (this takes a long time!!!) |
|
|
1353 | # |
|
|
1354 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" == "1" ]; then if [ "$(builddir)" != "$(srcdir)" ]; then find android/res/drawable-hdpi/ -maxdepth 1 -type f -exec $(srcdir)/../pngout-static -c6 -f6 -y {} \; ; fi ; fi |
|
|
1355 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" == "1" ]; then if [ "$(builddir)" != "$(srcdir)" ]; then find android/res/drawable-mdpi/ -maxdepth 1 -type f -exec $(srcdir)/../pngout-static -c6 -f6 -y {} \; ; fi ; fi |
|
|
1356 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" == "1" ]; then if [ "$(builddir)" != "$(srcdir)" ]; then find android/res/drawable-ldpi/ -maxdepth 1 -type f -exec $(srcdir)/../pngout-static -c6 -f6 -y {} \; ; fi ; fi |
|
|
1357 | |
1408 | |
1358 | # remove old libs |
1409 | # remove old libs |
1359 | @SUPPORT_ANDROID_TRUE@ ls -al android/libs/$(b_arch)/lib*.so |
1410 | # ls -al android/libs/$(b_arch)/lib*.so |
1360 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libgraphics_android.so |
1411 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libgraphics_android.so |
1361 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libgraphics_null.so |
1412 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libgraphics_null.so |
1362 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libgui_internal.so |
1413 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libgui_internal.so |
1363 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libmap_binfile.so |
1414 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libmap_binfile.so |
1364 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libmap_csv.so |
1415 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libmap_csv.so |
… | |
… | |
1373 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libvehicle_file.so |
1424 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libvehicle_file.so |
1374 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libvehicle_pipe.so |
1425 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libvehicle_pipe.so |
1375 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libvehicle_serial.so |
1426 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libvehicle_serial.so |
1376 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libvehicle_socket.so |
1427 | @SUPPORT_ANDROID_TRUE@ rm -f android/libs/$(b_arch)/libvehicle_socket.so |
1377 | |
1428 | |
1378 | # clean up |
|
|
1379 | # rm android/res2/drawable-hdpi/* |
|
|
1380 | # rm android/res2/drawable-mdpi/* |
|
|
1381 | # rm android/res2/drawable-ldpi/* |
|
|
1382 | |
|
|
1383 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/raw |
1429 | @SUPPORT_ANDROID_TRUE@ mkdir -p android/res/raw |
1384 | @SUPPORT_ANDROID_TRUE@ for i in $(shell cd ../po && echo *.mo); do cp ../po/$$i android/res/raw/$$( echo $$i | tr "[A-Z]" "[a-z]") ; done |
1430 | @SUPPORT_ANDROID_TRUE@ for i in $(shell cd ../po && echo *.mo); do cp ../po/$$i android/res/raw/$$( echo $$i | tr "[A-Z]" "[a-z]") ; done |
1385 | # cp navit.xml android/res/raw |
|
|
1386 | @SUPPORT_ANDROID_TRUE@ cp navit_android_mdpi.xml android/res/raw/navitmdpi.xml |
1431 | @SUPPORT_ANDROID_TRUE@ cp navit_android_mdpi.xml android/res/raw/navitmdpi.xml |
1387 | @SUPPORT_ANDROID_TRUE@ cp navit_android_ldpi.xml android/res/raw/navitldpi.xml |
1432 | @SUPPORT_ANDROID_TRUE@ cp navit_android_ldpi.xml android/res/raw/navitldpi.xml |
1388 | @SUPPORT_ANDROID_TRUE@ cp navit_android_hdpi.xml android/res/raw/navithdpi.xml |
1433 | @SUPPORT_ANDROID_TRUE@ cp navit_android_hdpi.xml android/res/raw/navithdpi.xml |
1389 | |
1434 | |
1390 | # cleanup svn dirs, they should never be in build dir |
1435 | # cleanup svn dirs, they should never be in build dir |
… | |
… | |
1397 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then cp android/libs/$(b_arch)/*.so android/obj/local/$(b_arch)/ ; fi |
1442 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" != "1" ]; then cp android/libs/$(b_arch)/*.so android/obj/local/$(b_arch)/ ; fi |
1398 | @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 |
1443 | @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 |
1399 | @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 |
1444 | @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 |
1400 | |
1445 | |
1401 | # strip libs if release build is selected |
1446 | # strip libs if release build is selected |
1402 | @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 |
1447 | # if [ "$(DO_RELEASE_BUILD)" == "1" ]; then echo "stripping libs ..."; arm-linux-androideabi-strip --strip-unneeded $(builddir)/android/libs/armeabi/* ; echo "done" ; fi |
1403 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" == "1" ]; then echo "stripping libs ..."; arm-linux-androideabi-strip --strip-unneeded $(builddir)/android/libs/armeabi-v7a/* ; echo "done" ; fi |
1448 | # if [ "$(DO_RELEASE_BUILD)" == "1" ]; then echo "stripping libs ..."; arm-linux-androideabi-strip --strip-unneeded $(builddir)/android/libs/armeabi-v7a/* ; echo "done" ; fi |
1404 | @SUPPORT_ANDROID_TRUE@ if [ "$(DO_RELEASE_BUILD)" == "1" ]; then echo "stripping libs ..."; /home/navit/_navit_develop/_need/NDK/_unpack/android-ndk-r5c/toolchains/x86-4.8/prebuilt/linux-x86/bin/i686-linux-android-strip --strip-unneeded $(builddir)/android/libs/x86/* ; echo "done" ; fi |
1449 | # if [ "$(DO_RELEASE_BUILD)" == "1" ]; then echo "stripping libs ..."; /home/navit/_navit_develop/_need/NDK/_unpack/android-ndk-r5c/toolchains/x86-4.8/prebuilt/linux-x86/bin/i686-linux-android-strip --strip-unneeded $(builddir)/android/libs/x86/* ; echo "done" ; fi |
1405 | |
1450 | |
1406 | @SUPPORT_ANDROID_TRUE@apkg: apkg-all |
1451 | @SUPPORT_ANDROID_TRUE@apkg: apkg-all |
|
|
1452 | @SUPPORT_ANDROID_TRUE@ echo "making::apkg" |
1407 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android/dummy.txt |
1453 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android/dummy.txt |
1408 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/dummy.txt |
1454 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/dummy.txt |
1409 | @SUPPORT_ANDROID_TRUE@ cd android && ant debug |
1455 | @SUPPORT_ANDROID_TRUE@ cd android && echo "debug" |
1410 | # zipalign is already run automatically |
|
|
1411 | |
1456 | |
1412 | @SUPPORT_ANDROID_TRUE@apkg-release: apkg-all |
1457 | @SUPPORT_ANDROID_TRUE@apkg-release: apkg-all |
|
|
1458 | @SUPPORT_ANDROID_TRUE@ echo "making::apkg-release" |
1413 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android/dummy.txt |
1459 | @SUPPORT_ANDROID_TRUE@ touch $(srcdir)/android/dummy.txt |
1414 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/dummy.txt |
1460 | @SUPPORT_ANDROID_TRUE@ touch $(builddir)/android/dummy.txt |
1415 | @SUPPORT_ANDROID_TRUE@ cd android && ant release |
1461 | @SUPPORT_ANDROID_TRUE@ cd android && echo "release" |
1416 | # jarsigner $$(cat ~/.keys_args) android/bin/Navit-unsigned.apk mykey |
|
|
1417 | # zipalign -f 4 android/bin/Navit-unsigned.apk android/bin/Navit-aligned.apk |
|
|
1418 | @SUPPORT_ANDROID_TRUE@ /home/navit/_navit_develop/_need/SDK/_unpack/android-sdk-linux_SDK_r22.0.1/build-tools/21.1.1/zipalign -f 4 android/bin/Navit-release-unsigned.apk android/bin/Navit-aligned.apk |
|
|
1419 | @SUPPORT_ANDROID_TRUE@ cp android/bin/Navit-aligned.apk android/bin/Navit-debug.apk |
|
|
1420 | |
1462 | |
1421 | @SUPPORT_WIN32_TRUE@resource.rsc: $(top_srcdir)/navit/gui/win32/resources/resource.rc |
1463 | @SUPPORT_WIN32_TRUE@resource.rsc: $(top_srcdir)/navit/gui/win32/resources/resource.rc |
1422 | @SUPPORT_WIN32_TRUE@ $(WINDRES) -I $(top_srcdir)/navit/gui/win32/resources $(top_srcdir)/navit/gui/win32/resources/resource.rc resource.rsc |
1464 | @SUPPORT_WIN32_TRUE@ $(WINDRES) -I $(top_srcdir)/navit/gui/win32/resources $(top_srcdir)/navit/gui/win32/resources/resource.rc resource.rsc |
1423 | |
1465 | |
1424 | .PHONY: version.h.tmp |
1466 | .PHONY: version.h.tmp |