1# Copyright 2006 The Android Open Source Project 2 3LOCAL_PATH:= $(call my-dir) 4include $(CLEAR_VARS) 5 6# common settings for all ASR builds, exports some variables for sub-makes 7include $(ASR_MAKE_DIR)/Makefile.defs 8 9common_SRC_FILES:= \ 10 ../setiUtils/src/platform_utils.c \ 11 src/linklist_impl.c \ 12 src/run_seq_lts.c \ 13 src/SWIslts.c \ 14 15common_C_INCLUDES := \ 16 $(LOCAL_PATH)/include \ 17 $(LOCAL_PATH)/../setiUtils/include \ 18 $(ASR_ROOT_DIR)/shared/include \ 19 $(ASR_ROOT_DIR)/portable/include \ 20 21common_CFLAGS += \ 22 $(ASR_GLOBAL_DEFINES) \ 23 $(ASR_GLOBAL_CPPFLAGS) \ 24 25common_SHARED_LIBRARIES := \ 26 libESR_Shared \ 27 libESR_Portable \ 28 29common_TARGET:= libSR_G2P 30 31 32# For the host 33# ===================================================== 34 35include $(CLEAR_VARS) 36 37LOCAL_SRC_FILES := $(common_SRC_FILES) 38LOCAL_C_INCLUDES := $(common_C_INCLUDES) 39LOCAL_CFLAGS += $(common_CFLAGS) 40 41LOCAL_SHARED_LIBRARIES := $(common_SHARED_LIBRARIES) 42 43LOCAL_MODULE := $(common_TARGET) 44 45include $(BUILD_HOST_SHARED_LIBRARY) 46 47 48# For the device 49# ===================================================== 50 51include $(CLEAR_VARS) 52 53LOCAL_SRC_FILES := $(common_SRC_FILES) 54LOCAL_C_INCLUDES := $(common_C_INCLUDES) 55LOCAL_CFLAGS += $(common_CFLAGS) 56 57LOCAL_MODULE := $(common_TARGET) 58 59include $(BUILD_STATIC_LIBRARY) 60