forked from openkylin/platform_build
26 lines
453 B
Makefile
26 lines
453 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
CopyFile.c \
|
|
pseudolocalize.cpp
|
|
|
|
ifeq ($(HOST_OS),cygwin)
|
|
LOCAL_CFLAGS += -DWIN32_EXE
|
|
endif
|
|
ifeq ($(HOST_OS),darwin)
|
|
LOCAL_CFLAGS += -DMACOSX_RSRC
|
|
endif
|
|
ifeq ($(HOST_OS),linux)
|
|
endif
|
|
|
|
LOCAL_MODULE:= libhost
|
|
LOCAL_C_INCLUDES := $(LOCAL_PATH)/include
|
|
|
|
# acp uses libhost, so we can't use
|
|
# acp to install libhost.
|
|
LOCAL_ACP_UNAVAILABLE:= true
|
|
|
|
include $(BUILD_HOST_STATIC_LIBRARY)
|
|
|