The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
Ying Wang | 6feb6d5 | 2014-04-17 10:03:35 -0700 | [diff] [blame] | 5 | CopyFile.c |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 6 | |
| 7 | ifeq ($(HOST_OS),cygwin) |
| 8 | LOCAL_CFLAGS += -DWIN32_EXE |
| 9 | endif |
| 10 | ifeq ($(HOST_OS),darwin) |
| 11 | LOCAL_CFLAGS += -DMACOSX_RSRC |
| 12 | endif |
| 13 | ifeq ($(HOST_OS),linux) |
| 14 | endif |
| 15 | |
| 16 | LOCAL_MODULE:= libhost |
| 17 | LOCAL_C_INCLUDES := $(LOCAL_PATH)/include |
| 18 | |
| 19 | # acp uses libhost, so we can't use |
| 20 | # acp to install libhost. |
| 21 | LOCAL_ACP_UNAVAILABLE:= true |
| 22 | |
| 23 | include $(BUILD_HOST_STATIC_LIBRARY) |
| 24 | |
Ying Wang | c7a10dd | 2012-01-06 11:59:30 -0800 | [diff] [blame] | 25 | # Include toolchain prebuilt modules if they exist. |
| 26 | -include $(TARGET_TOOLCHAIN_ROOT)/toolchain.mk |