OSDN Git Service

Initial Contribution
[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
14 LOCAL_CFLAGS := 
15
16 LOCAL_MODULE:= libril
17
18 LOCAL_LDLIBS += -lpthread
19
20 include $(BUILD_SHARED_LIBRARY)
21
22
23 # For RdoServD which needs a static library
24 # =========================================
25 ifneq ($(ANDROID_BIONIC_TRANSITION),)
26 include $(CLEAR_VARS)
27
28 LOCAL_SRC_FILES:= \
29     ril.cpp
30
31 LOCAL_STATIC_LIBRARIES := \
32     libutils_static \
33     libcutils
34
35 LOCAL_CFLAGS := 
36
37 LOCAL_MODULE:= libril_static
38
39 LOCAL_LDLIBS += -lpthread
40
41 include $(BUILD_STATIC_LIBRARY)
42 endif # ANDROID_BIONIC_TRANSITION