-
Notifications
You must be signed in to change notification settings - Fork 0
/
Android.mk
40 lines (33 loc) · 1.43 KB
/
Android.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Portions Copyright (C) 2013 Regents of the University of California.
#
# Based on the CCNx C Library by PARC.
# Copyright (C) 2009,2010 Palo Alto Research Center, Inc.
#
# This work is free software; you can redistribute it and/or modify it under
# the terms of the GNU General Public License version 2 as published by the
# Free Software Foundation.
# This work 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 this program; if not, write to the
# Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
#
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
LOCAL_MODULE := libndnd
LOCAL_C_INCLUDES := $(LOCAL_PATH)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../include
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../../android/external/openssl-armv5/include
NDNDOBJ := ndnd.o ndnd_msg.o ndnd_internal_client.o ndnd_stats.o \
android_main.o
NDNDSRC := $(NDNDOBJ:.o=.c)
LOCAL_SRC_FILES := $(NDNDSRC)
# To compile Android NDND Service with UNIX-Domain Sockets, uncomment
# line below and compile without -DNDN_LOCAL_TCP
# LOCAL_CFLAGS := -g
LOCAL_CFLAGS := -g -DNDN_LOCAL_TCP
LOCAL_STATIC_LIBRARIES := libcrypto libndnx
LOCAL_SHARED_LIBRARIES :=
include $(BUILD_STATIC_LIBRARY)