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