1LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4# Shared library for target
5# ========================================================
6
7LOCAL_MODULE:= libacc
8LOCAL_SRC_FILES := acc.cpp
9
10LOCAL_SHARED_LIBRARIES := libdl libcutils
11
12include $(BUILD_SHARED_LIBRARY)
13
14# Static library for host
15# ========================================================
16
17include $(CLEAR_VARS)
18LOCAL_MODULE:= libacc
19LOCAL_SRC_FILES := acc.cpp
20
21LOCAL_CFLAGS := -O0 -g
22
23LOCAL_STATIC_LIBRARIES := libcutils
24LOCAL_LDLIBS := -ldl
25
26include $(BUILD_HOST_STATIC_LIBRARY)
27
28# Build children
29# ========================================================
30
31include $(call all-makefiles-under,$(LOCAL_PATH))
32