2 # Copyright 2006 The Android Open Source Project
4 # Android Asset Packaging Tool
7 # This tool is prebuilt if we're doing an app-only build.
8 ifeq ($(TARGET_BUILD_APPS),)
10 LOCAL_PATH:= $(call my-dir)
31 LOCAL_CFLAGS += -Wno-format-y2k
32 ifeq (darwin,$(HOST_OS))
33 LOCAL_CFLAGS += -D_DARWIN_UNLIMITED_STREAMS
37 LOCAL_C_INCLUDES += external/libpng
38 LOCAL_C_INCLUDES += external/zlib
39 LOCAL_C_INCLUDES += build/libs/host/include
41 #LOCAL_WHOLE_STATIC_LIBRARIES :=
42 LOCAL_STATIC_LIBRARIES := \
50 ifeq ($(HOST_OS),linux)
51 LOCAL_LDLIBS += -lrt -ldl -lpthread
54 # Statically link libz for MinGW (Win SDK under Linux),
55 # and dynamically link for all others.
56 ifneq ($(strip $(USE_MINGW)),)
57 LOCAL_STATIC_LIBRARIES += libz
64 include $(BUILD_HOST_EXECUTABLE)
66 endif # TARGET_BUILD_APPS