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