OSDN Git Service

modify reference-ril to support 3G modem card on x86
[android-x86/hardware-ril.git] / libril / 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     ril.cpp \
8     ril_event.cpp
9
10 LOCAL_SHARED_LIBRARIES := \
11     libutils \
12     libcutils \
13     libhardware_legacy
14
15 LOCAL_CFLAGS :=
16
17 LOCAL_MODULE:= libril
18
19 LOCAL_LDLIBS += -lpthread
20
21 include $(BUILD_SHARED_LIBRARY)
22
23
24 # For RdoServD which needs a static library
25 # =========================================
26 ifneq ($(ANDROID_BIONIC_TRANSITION),)
27 include $(CLEAR_VARS)
28
29 LOCAL_SRC_FILES:= \
30     ril.cpp
31
32 LOCAL_STATIC_LIBRARIES := \
33     libutils_static \
34     libcutils
35
36 LOCAL_CFLAGS :=
37
38 LOCAL_MODULE:= libril_static
39
40 LOCAL_LDLIBS += -lpthread
41
42 include $(BUILD_STATIC_LIBRARY)
43 endif # ANDROID_BIONIC_TRANSITION