summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorPaulK <contact@paulk.fr>2011-12-21 21:54:03 +0100
committerPaulK <contact@paulk.fr>2011-12-21 21:54:03 +0100
commit0091ceae5f7cbeeb42e3b43de3dcf8e500fe8752 (patch)
treedff5b107e7c51dcbb71d636fd6189d3570881a39 /Android.mk
parentcb295e0a15c8bc5087a542f25bc369aecbecde80 (diff)
downloadhardware_replicant_libsamsung-ril-0091ceae5f7cbeeb42e3b43de3dcf8e500fe8752.tar.gz
hardware_replicant_libsamsung-ril-0091ceae5f7cbeeb42e3b43de3dcf8e500fe8752.tar.bz2
hardware_replicant_libsamsung-ril-0091ceae5f7cbeeb42e3b43de3dcf8e500fe8752.zip
RIL rework: multi-client, more stable, added GPLv3 copyright notice
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk70
1 files changed, 45 insertions, 25 deletions
diff --git a/Android.mk b/Android.mk
index 026b714..9ef3ba4 100644
--- a/Android.mk
+++ b/Android.mk
@@ -1,23 +1,43 @@
-# Copyright 2006 The Android Open Source Project
+# This file is part of samsung-ril.
+#
+# Copyright (C) 2010-2011 Joerie de Gram <j.de.gram@gmail.com>
+# Copyright (C) 2011 Paul Kocialkowski <contact@oaulk.fr>
+#
+# samsung-ril is free software: you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation, either version 3 of the License, or
+# (at your option) any later version.
+#
+# samsung-ril is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with samsung-ril. If not, see <http://www.gnu.org/licenses/>.
+#
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
- call.c \
- samsung-ril.c \
- misc.c \
- net.c \
- sat.c \
- sim.c \
- sms.c \
- util.c \
- pwr.c \
- disp.c \
- socket.c
+ samsung-ril.c \
+ client.c \
+ ipc.c \
+ srs.c \
+ util.c \
+ pwr.c \
+ disp.c \
+ misc.c \
+ sat.c \
+ sim.c \
+ net.c \
+ sms.c \
+ call.c \
+ snd.c
LOCAL_SHARED_LIBRARIES := \
- libcutils libutils libril
+ libcutils libutils libril
LOCAL_STATIC_LIBRARIES := libsamsung-ipc
@@ -40,17 +60,17 @@ LOCAL_MODULE_TAGS := optional
LOCAL_PRELINK_MODULE := false
ifeq (foo,foo)
- #build shared library
- LOCAL_SHARED_LIBRARIES += \
- libcutils libutils
- LOCAL_LDLIBS += -lpthread
- LOCAL_CFLAGS += -DRIL_SHLIB -DDEVICE_H1
- LOCAL_MODULE:= libsamsung-ril
- include $(BUILD_SHARED_LIBRARY)
+ # build shared library
+ LOCAL_SHARED_LIBRARIES += \
+ libcutils libutils
+ LOCAL_LDLIBS += -lpthread
+ LOCAL_CFLAGS += -DRIL_SHLIB
+ LOCAL_MODULE:= libsamsung-ril
+ include $(BUILD_SHARED_LIBRARY)
else
- #build executable
- LOCAL_SHARED_LIBRARIES += \
- libril
- LOCAL_MODULE:= samsung-ril
- include $(BUILD_EXECUTABLE)
+ # build executable
+ LOCAL_SHARED_LIBRARIES += \
+ libril
+ LOCAL_MODULE:= samsung-ril
+ include $(BUILD_EXECUTABLE)
endif