1 # Copyright 2013 The Android Open Source Project 2 3 LOCAL_PATH:= $(call my-dir) 4 include $(CLEAR_VARS) 5 6 LOCAL_SRC_FILES:= \ 7 librilutils.c \ 8 record_stream.c 9 10 LOCAL_CFLAGS := 11 12 LOCAL_MODULE:= librilutils 13 14 LOCAL_LDLIBS += -lpthread 15 16 include $(BUILD_SHARED_LIBRARY) 17 18 19 # Create static library for those that want it 20 # ========================================= 21 include $(CLEAR_VARS) 22 23 LOCAL_SRC_FILES:= \ 24 librilutils.c \ 25 record_stream.c 26 27 LOCAL_STATIC_LIBRARIES := 28 29 LOCAL_CFLAGS := 30 31 LOCAL_MODULE:= librilutils_static 32 33 LOCAL_LDLIBS += -lpthread 34 35 include $(BUILD_STATIC_LIBRARY) 36