2009-05-14 06:10:04 +08:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2009-06-09 06:55:32 +08:00
|
|
|
# Shared library for target
|
|
|
|
# ========================================================
|
2009-05-14 06:10:04 +08:00
|
|
|
|
2009-05-23 03:06:27 +08:00
|
|
|
LOCAL_MODULE:= libacc
|
|
|
|
LOCAL_SRC_FILES := acc.cpp
|
2009-05-14 06:10:04 +08:00
|
|
|
|
2009-05-23 03:06:27 +08:00
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
|
|
LOCAL_SRC_FILES += disassem.cpp
|
|
|
|
endif
|
|
|
|
|
2009-06-09 05:34:26 +08:00
|
|
|
LOCAL_SHARED_LIBRARIES := libdl libcutils
|
2009-05-23 03:06:27 +08:00
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
|
2009-06-09 06:55:32 +08:00
|
|
|
# Shared library for host
|
|
|
|
# ========================================================
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE:= libacc
|
|
|
|
LOCAL_SRC_FILES := acc.cpp
|
|
|
|
|
2009-06-12 10:06:24 +08:00
|
|
|
LOCAL_CFLAGS := -O0 -g
|
|
|
|
|
2009-06-09 06:55:32 +08:00
|
|
|
ifeq ($(TARGET_ARCH),arm)
|
|
|
|
LOCAL_SRC_FILES += disassem.cpp
|
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_STATIC_LIBRARIES := libcutils
|
|
|
|
LOCAL_LDLIBS := -ldl
|
|
|
|
|
|
|
|
include $(BUILD_HOST_SHARED_LIBRARY)
|
|
|
|
|
|
|
|
# Build children
|
|
|
|
# ========================================================
|
|
|
|
|
|
|
|
include $(call all-makefiles-under,$(LOCAL_PATH))
|