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