1# Copyright 2006 The Android Open Source Project
2
3LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES:= \
7    ril.cpp \
8    ril_event.cpp
9
10LOCAL_SHARED_LIBRARIES := \
11    liblog \
12    libutils \
13    libbinder \
14    libcutils \
15    libhardware_legacy \
16    librilutils
17
18#LOCAL_CFLAGS := -DANDROID_MULTI_SIM -DDSDA_RILD1
19
20ifeq ($(SIM_COUNT), 2)
21    LOCAL_CFLAGS += -DANDROID_SIM_COUNT_2
22endif
23
24LOCAL_MODULE:= libril
25
26include $(BUILD_SHARED_LIBRARY)
27
28
29# For RdoServD which needs a static library
30# =========================================
31ifneq ($(ANDROID_BIONIC_TRANSITION),)
32include $(CLEAR_VARS)
33
34LOCAL_SRC_FILES:= \
35    ril.cpp
36
37LOCAL_STATIC_LIBRARIES := \
38    libutils_static \
39    libcutils \
40    librilutils_static
41
42LOCAL_CFLAGS :=
43
44LOCAL_MODULE:= libril_static
45
46include $(BUILD_STATIC_LIBRARY)
47endif # ANDROID_BIONIC_TRANSITION
48