2011-10-16 11:41:43 +00:00
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2011-12-18 22:26:25 +00:00
|
|
|
LOCAL_LDLIBS := -L$(LOCAL_PATH) -lsqlite
|
2011-10-16 11:41:43 +00:00
|
|
|
LOCAL_SRC_FILES:= \
|
|
|
|
client.c \
|
|
|
|
export.c \
|
|
|
|
overlay.c \
|
|
|
|
overlay_abbreviations.c \
|
|
|
|
overlay_advertise.c \
|
2012-02-05 05:55:05 +00:00
|
|
|
overlay_broadcast.c \
|
2011-10-16 11:41:43 +00:00
|
|
|
overlay_buffer.c \
|
|
|
|
overlay_interface.c \
|
|
|
|
overlay_packetformats.c \
|
|
|
|
overlay_payload.c \
|
|
|
|
overlay_route.c \
|
|
|
|
responses.c \
|
|
|
|
srandomdev.c \
|
|
|
|
batman.c \
|
|
|
|
dataformats.c \
|
|
|
|
gateway.c \
|
|
|
|
packetformats.c \
|
|
|
|
server.c \
|
|
|
|
ciphers.c \
|
|
|
|
dna.c \
|
|
|
|
hlrdata.c \
|
|
|
|
peers.c \
|
2011-10-18 09:09:01 +00:00
|
|
|
randombytes.c \
|
2011-10-21 00:26:49 +00:00
|
|
|
simulate.c \
|
2011-12-18 19:17:52 +00:00
|
|
|
jni.c \
|
2011-12-18 22:26:25 +00:00
|
|
|
sha2.c \
|
2012-02-05 05:55:05 +00:00
|
|
|
rhizome.c \
|
|
|
|
rhizome_bundle.c \
|
|
|
|
rhizome_crypto.c \
|
|
|
|
rhizome_database.c \
|
|
|
|
rhizome_fetch.c \
|
|
|
|
rhizome_http.c \
|
|
|
|
rhizome_packetformats.c \
|
2012-02-16 14:11:42 +00:00
|
|
|
dna_identity.c \
|
|
|
|
commandline.c \
|
2012-02-05 05:55:05 +00:00
|
|
|
serval_packetvisualise.c
|
2011-10-16 11:41:43 +00:00
|
|
|
|
2011-10-18 12:07:08 +00:00
|
|
|
LOCAL_MODULE:= dnalib
|
2011-10-16 11:41:43 +00:00
|
|
|
|
|
|
|
LOCAL_CFLAGS += \
|
|
|
|
-DSHELL -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" \
|
|
|
|
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" \
|
|
|
|
-DHAVE_LIBC=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 \
|
|
|
|
-DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 \
|
|
|
|
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDIO_H=1 \
|
|
|
|
-DHAVE_ERRNO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 \
|
|
|
|
-DHAVE_STRING_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_SYS_SOCKET_H=1 \
|
2011-12-18 22:31:03 +00:00
|
|
|
-DHAVE_SYS_MMAN_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_POLL_H=1 -DHAVE_NETDB_H=1 \
|
2011-12-18 22:36:34 +00:00
|
|
|
-DHAVE_SYS_ENDIAN_H=1
|
2011-10-16 11:41:43 +00:00
|
|
|
|
2011-10-18 09:09:01 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
2011-10-16 11:41:43 +00:00
|
|
|
|
2011-10-18 12:07:08 +00:00
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_MODULE:= dna
|
2011-10-18 13:15:46 +00:00
|
|
|
LOCAL_SRC_FILES:= dnawrap.c
|
2011-10-18 12:07:08 +00:00
|
|
|
|
|
|
|
include $(BUILD_EXECUTABLE)
|