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)
28 LOCAL_CFLAGS += -Wno-format-y2k
30 LOCAL_C_INCLUDES += external/expat/lib
31 LOCAL_C_INCLUDES += external/libpng
32 LOCAL_C_INCLUDES += external/zlib
33 LOCAL_C_INCLUDES += build/libs/host/include
35 #LOCAL_WHOLE_STATIC_LIBRARIES :=
36 LOCAL_STATIC_LIBRARIES := \
43 ifeq ($(HOST_OS),linux)
44 LOCAL_LDLIBS += -lrt -lpthread
47 # Statically link libz for MinGW (Win SDK under Linux),
48 # and dynamically link for all others.
49 ifneq ($(strip $(USE_MINGW)),)
50 LOCAL_STATIC_LIBRARIES += libz
57 include $(BUILD_HOST_EXECUTABLE)
59 endif # TARGET_BUILD_APPS