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