blob: 5192fd937c24a614d4178530677ad128015a70c3 [file] [log] [blame]
The Android Open Source Project00f06fc2009-03-03 19:32:15 -08001# Copyright 2006 The Android Open Source Project
2
3LOCAL_PATH:= $(call my-dir)
4include $(CLEAR_VARS)
5
6LOCAL_SRC_FILES:= \
7 rild.c
8
9
10LOCAL_SHARED_LIBRARIES := \
11 libcutils \
12 libril
13
Doug Kwan13717552009-10-06 16:24:51 -070014ifeq ($(TARGET_ARCH),arm)
15LOCAL_SHARED_LIBRARIES += libdl
16endif # arm
17
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080018LOCAL_CFLAGS := -DRIL_SHLIB
19
20LOCAL_MODULE:= rild
21
22include $(BUILD_EXECUTABLE)
23
24# For radiooptions binary
25# =======================
26include $(CLEAR_VARS)
27
28LOCAL_SRC_FILES:= \
29 radiooptions.c
30
31LOCAL_SHARED_LIBRARIES := \
32 libcutils \
33
34LOCAL_CFLAGS := \
35
36LOCAL_MODULE:= radiooptions
Mike Lockwood19b7fb02009-03-27 19:01:43 -070037LOCAL_MODULE_TAGS := debug
The Android Open Source Project00f06fc2009-03-03 19:32:15 -080038
39include $(BUILD_EXECUTABLE)