2013-08-04 09:58:16 +02:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
ROOT_PATH := $(LOCAL_PATH)/../../..
|
|
|
|
$(info OsmAnd root: $(ROOT_PATH))
|
|
|
|
|
2014-03-04 18:32:34 +01:00
|
|
|
# LEGACY {
|
2013-08-04 21:21:01 +02:00
|
|
|
ifdef BUILD_ONLY_OLD_LIB
|
2013-08-11 12:35:44 +02:00
|
|
|
OSMAND_MAKEFILES := \
|
|
|
|
$(all-subdir-makefiles) \
|
2014-12-21 23:34:46 +01:00
|
|
|
$(call all-makefiles-under,$(ROOT_PATH)/core-legacy/targets/android)
|
2013-08-04 21:21:01 +02:00
|
|
|
else
|
2014-03-04 18:32:34 +01:00
|
|
|
# } LEGACY
|
2013-02-18 20:34:14 +01:00
|
|
|
OSMAND_MAKEFILES := \
|
2013-08-11 12:35:44 +02:00
|
|
|
$(all-subdir-makefiles) \
|
2014-03-04 18:32:34 +01:00
|
|
|
$(call all-makefiles-under,$(ROOT_PATH)/core/wrappers/android)
|
|
|
|
# LEGACY {
|
2013-08-04 21:21:01 +02:00
|
|
|
endif
|
2014-03-04 18:32:34 +01:00
|
|
|
# } LEGACY
|
2013-08-11 12:35:44 +02:00
|
|
|
$(info OsmAnd makefiles: $(OSMAND_MAKEFILES))
|
2012-03-01 12:21:20 +01:00
|
|
|
|
|
|
|
# By default, include makefiles only once
|
|
|
|
include $(OSMAND_MAKEFILES)
|