San Mehat | df6c1b9 | 2009-05-13 08:58:43 -0700 | [diff] [blame] | 1 | BUILD_LIBSYSUTILS := false |
| 2 | ifneq ($(TARGET_SIMULATOR),true) |
| 3 | BUILD_LIBSYSUTILS := true |
| 4 | endif |
| 5 | |
| 6 | ifeq ($(BUILD_LIBSYSUTILS),true) |
| 7 | |
San Mehat | 168415b | 2009-05-06 11:14:21 -0700 | [diff] [blame] | 8 | LOCAL_PATH:= $(call my-dir) |
| 9 | |
| 10 | include $(CLEAR_VARS) |
| 11 | |
| 12 | LOCAL_SRC_FILES:= \ |
San Mehat | 168415b | 2009-05-06 11:14:21 -0700 | [diff] [blame] | 13 | src/SocketListener.cpp \ |
| 14 | src/FrameworkListener.cpp \ |
| 15 | src/NetlinkListener.cpp \ |
| 16 | src/NetlinkEvent.cpp \ |
| 17 | src/FrameworkCommand.cpp \ |
San Mehat | fa644ff | 2009-05-08 11:15:53 -0700 | [diff] [blame] | 18 | src/SocketClient.cpp \ |
San Mehat | c41d1c8 | 2009-05-14 14:58:45 -0700 | [diff] [blame] | 19 | src/ServiceManager.cpp \ |
San Mehat | 168415b | 2009-05-06 11:14:21 -0700 | [diff] [blame] | 20 | |
| 21 | LOCAL_MODULE:= libsysutils |
| 22 | |
| 23 | LOCAL_C_INCLUDES := $(KERNEL_HEADERS) |
| 24 | |
| 25 | LOCAL_CFLAGS := |
| 26 | |
| 27 | LOCAL_SHARED_LIBRARIES := libcutils |
| 28 | |
Andy McFadden | 6fc287b | 2009-05-13 07:23:50 -0700 | [diff] [blame] | 29 | ifeq ($(TARGET_SIMULATOR),true) |
| 30 | LOCAL_LDLIBS += -lpthread |
| 31 | endif |
| 32 | |
San Mehat | 168415b | 2009-05-06 11:14:21 -0700 | [diff] [blame] | 33 | include $(BUILD_SHARED_LIBRARY) |
San Mehat | df6c1b9 | 2009-05-13 08:58:43 -0700 | [diff] [blame] | 34 | |
| 35 | endif |