1 # Copyright 2005 The Android Open Source Project 2 # 3 # Android.mk for apriori 4 # 5 6 LOCAL_PATH:= $(call my-dir) 7 8 ifeq ($(TARGET_ARCH),arm) 9 include $(CLEAR_VARS) 10 11 LOCAL_LDLIBS += -ldl 12 LOCAL_CFLAGS += -O2 -g 13 LOCAL_CFLAGS += -fno-function-sections -fno-data-sections -fno-inline 14 LOCAL_CFLAGS += -Wall -Wno-unused-function #-Werror 15 LOCAL_CFLAGS += -DSUPPORT_ANDROID_PRELINK_TAGS 16 LOCAL_CFLAGS += -DARM_SPECIFIC_HACKS 17 LOCAL_CFLAGS += -DDEBUG 18 19 ifeq ($(HOST_OS),windows) 20 LOCAL_LDLIBS += -lintl 21 endif 22 23 LOCAL_SRC_FILES := \ 24 isprelinked.c \ 25 debug.c \ 26 prelink_info.c 27 28 LOCAL_C_INCLUDES:= \ 29 $(LOCAL_PATH)/ \ 30 external/elfutils/lib/ \ 31 external/elfutils/libelf/ \ 32 external/elfutils/libebl/ \ 33 external/elfcopy/ 34 35 LOCAL_STATIC_LIBRARIES := libelfcopy libelf libebl libebl_arm #dl 36 37 LOCAL_MODULE := isprelinked 38 39 include $(BUILD_HOST_EXECUTABLE) 40 endif #TARGET_ARCH==arm 41