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