The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 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 := \ |
Ying Wang | 5268826 | 2013-04-09 22:31:00 -0700 | [diff] [blame] | 11 | liblog \ |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 12 | libcutils \ |
Haitao Feng | 6f9c7dd | 2012-05-21 02:49:04 -0400 | [diff] [blame] | 13 | libril \ |
| 14 | libdl |
Doug Kwan | 1371755 | 2009-10-06 16:24:51 -0700 | [diff] [blame] | 15 | |
Dima Zavin | 8cc4c1d | 2013-05-22 11:30:17 -0700 | [diff] [blame] | 16 | # temporary hack for broken vendor rils |
| 17 | LOCAL_WHOLE_STATIC_LIBRARIES := \ |
| 18 | librilutils_static |
| 19 | |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 20 | LOCAL_CFLAGS := -DRIL_SHLIB |
Etan Cohen | d365219 | 2014-06-20 08:28:44 -0700 | [diff] [blame] | 21 | #LOCAL_CFLAGS += -DANDROID_MULTI_SIM |
| 22 | |
| 23 | ifeq ($(SIM_COUNT), 2) |
| 24 | LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2 |
| 25 | endif |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 26 | |
| 27 | LOCAL_MODULE:= rild |
Wink Saville | 5b16efd | 2012-05-30 16:20:55 -0700 | [diff] [blame] | 28 | LOCAL_MODULE_TAGS := optional |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 29 | |
| 30 | include $(BUILD_EXECUTABLE) |
| 31 | |
| 32 | # For radiooptions binary |
| 33 | # ======================= |
| 34 | include $(CLEAR_VARS) |
| 35 | |
| 36 | LOCAL_SRC_FILES:= \ |
| 37 | radiooptions.c |
| 38 | |
| 39 | LOCAL_SHARED_LIBRARIES := \ |
Ying Wang | 5268826 | 2013-04-09 22:31:00 -0700 | [diff] [blame] | 40 | liblog \ |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 41 | libcutils \ |
| 42 | |
| 43 | LOCAL_CFLAGS := \ |
| 44 | |
| 45 | LOCAL_MODULE:= radiooptions |
Mike Lockwood | 19b7fb0 | 2009-03-27 19:01:43 -0700 | [diff] [blame] | 46 | LOCAL_MODULE_TAGS := debug |
The Android Open Source Project | 00f06fc | 2009-03-03 19:32:15 -0800 | [diff] [blame] | 47 | |
| 48 | include $(BUILD_EXECUTABLE) |