1# Copyright 2006 The Android Open Source Project 2 3LOCAL_PATH:= $(call my-dir) 4include $(CLEAR_VARS) 5 6LOCAL_SRC_FILES:= \ 7 rild.c 8 9 10LOCAL_SHARED_LIBRARIES := \ 11 liblog \ 12 libcutils \ 13 libril \ 14 libdl 15 16# temporary hack for broken vendor rils 17LOCAL_WHOLE_STATIC_LIBRARIES := \ 18 librilutils_static 19 20LOCAL_CFLAGS := -DRIL_SHLIB 21#LOCAL_CFLAGS += -DANDROID_MULTI_SIM 22 23ifeq ($(SIM_COUNT), 2) 24 LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2 25endif 26 27LOCAL_MODULE:= rild 28LOCAL_MODULE_TAGS := optional 29 30include $(BUILD_EXECUTABLE) 31 32# For radiooptions binary 33# ======================= 34include $(CLEAR_VARS) 35 36LOCAL_SRC_FILES:= \ 37 radiooptions.c 38 39LOCAL_SHARED_LIBRARIES := \ 40 liblog \ 41 libcutils \ 42 43LOCAL_CFLAGS := \ 44 45LOCAL_MODULE:= radiooptions 46LOCAL_MODULE_TAGS := debug 47 48include $(BUILD_EXECUTABLE) 49