OSDN Git Service

am 45da9118: Merge "bundle init.rc contents with its service"
[android-x86/hardware-ril.git] / rild / Android.mk
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         liblog \
12         libcutils \
13         libril \
14         libdl
15
16 # temporary hack for broken vendor rils
17 LOCAL_WHOLE_STATIC_LIBRARIES := \
18         librilutils_static
19
20 LOCAL_CFLAGS := -DRIL_SHLIB
21 #LOCAL_CFLAGS += -DANDROID_MULTI_SIM
22
23 ifeq ($(SIM_COUNT), 2)
24     LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2
25 endif
26
27 LOCAL_MODULE:= rild
28 LOCAL_MODULE_TAGS := optional
29 LOCAL_INIT_RC := rild.rc
30
31 LOCAL_C_INCLUDES += $(TARGET_OUT_HEADERS)/libril
32
33 include $(BUILD_EXECUTABLE)
34
35 # For radiooptions binary
36 # =======================
37 include $(CLEAR_VARS)
38
39 LOCAL_SRC_FILES:= \
40         radiooptions.c
41
42 LOCAL_SHARED_LIBRARIES := \
43         liblog \
44         libcutils \
45
46 LOCAL_CFLAGS := \
47
48 LOCAL_MODULE:= radiooptions
49 LOCAL_MODULE_TAGS := debug
50
51 include $(BUILD_EXECUTABLE)