1 # Copyright 2006 The Android Open Source Project 2 3 LOCAL_PATH:= $(call my-dir) 4 include $(CLEAR_VARS) 5 6 LOCAL_SRC_FILES:= \ 7 rild.c 8 9 10 LOCAL_SHARED_LIBRARIES := \ 11 libcutils \ 12 libril 13 14 ifeq ($(TARGET_ARCH),arm) 15 LOCAL_SHARED_LIBRARIES += libdl 16 endif # arm 17 18 LOCAL_CFLAGS := -DRIL_SHLIB 19 20 LOCAL_MODULE:= rild 21 LOCAL_MODULE_TAGS := optional 22 23 include $(BUILD_EXECUTABLE) 24 25 # For radiooptions binary 26 # ======================= 27 include $(CLEAR_VARS) 28 29 LOCAL_SRC_FILES:= \ 30 radiooptions.c 31 32 LOCAL_SHARED_LIBRARIES := \ 33 libcutils \ 34 35 LOCAL_CFLAGS := \ 36 37 LOCAL_MODULE:= radiooptions 38 LOCAL_MODULE_TAGS := debug 39 40 include $(BUILD_EXECUTABLE) 41