1 LOCAL_PATH:= $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 dirs := common 6 7 ifeq ($(HOST_OS),darwin) 8 dirs += macosx 9 endif 10 11 ifeq ($(HOST_OS),linux) 12 dirs += linux 13 endif 14 15 ifneq (,$(filter $(HOST_OS), freebsd)) 16 dirs += freebsd 17 endif 18 19 subdirs := $(addprefix $(LOCAL_PATH)/,$(addsuffix /Android.mk, $(dirs))) 20 21 include $(subdirs) 22