1# Copyright 2006 The Android Open Source Project 2 3# XXX using libutils for simulator build only... 4# 5LOCAL_PATH:= $(call my-dir) 6include $(CLEAR_VARS) 7 8LOCAL_SRC_FILES:= \ 9 reference-ril.c \ 10 atchannel.c \ 11 if_monitor.cpp \ 12 misc.c \ 13 at_tok.c 14 15LOCAL_SHARED_LIBRARIES := \ 16 liblog libcutils libutils libril librilutils 17 18LOCAL_STATIC_LIBRARIES := libqemu_pipe libbase 19 20# for asprinf 21LOCAL_CFLAGS := -D_GNU_SOURCE 22LOCAL_CFLAGS += -Wall -Wextra -Wno-unused-variable -Wno-unused-function -Werror 23 24LOCAL_C_INCLUDES := 25 26ifeq ($(TARGET_DEVICE),sooner) 27 LOCAL_CFLAGS += -DUSE_TI_COMMANDS 28endif 29 30ifeq ($(TARGET_DEVICE),surf) 31 LOCAL_CFLAGS += -DPOLL_CALL_STATE -DUSE_QMI 32endif 33 34ifeq ($(TARGET_DEVICE),dream) 35 LOCAL_CFLAGS += -DPOLL_CALL_STATE -DUSE_QMI 36endif 37 38LOCAL_VENDOR_MODULE:= true 39 40#build shared library 41LOCAL_SHARED_LIBRARIES += \ 42 libcutils libutils 43LOCAL_CFLAGS += -DRIL_SHLIB 44LOCAL_MODULE:= libgoldfish-ril 45include $(BUILD_SHARED_LIBRARY) 46