1 # Copyright 2006 The Android Open Source Project 2 3 # Setting LOCAL_PATH will mess up all-subdir-makefiles, so do it beforehand. 4 SUBDIR_MAKEFILES := $(call all-named-subdir-makefiles,modules tests) 5 6 LOCAL_PATH:= $(call my-dir) 7 include $(CLEAR_VARS) 8 9 LOCAL_SHARED_LIBRARIES := libcutils liblog 10 11 LOCAL_INCLUDES += $(LOCAL_PATH) 12 13 LOCAL_CFLAGS += -DQEMU_HARDWARE 14 QEMU_HARDWARE := true 15 16 LOCAL_SHARED_LIBRARIES += libdl 17 18 LOCAL_SRC_FILES += hardware.c 19 20 LOCAL_MODULE:= libhardware 21 22 include $(BUILD_SHARED_LIBRARY) 23 24 include $(SUBDIR_MAKEFILES) 25