Modified to build libdnalib and dna binary that uses that shared lib.

This sets the scene for making libdnalib also a JNI-compliant library
that we can use from Java to get access to the NaCl primitives, and
possibly even run DNA operations directly.
This commit is contained in:
gardners 2011-10-18 22:37:08 +10:30
parent 952bb219b7
commit cc500aeea2

View File

@ -27,7 +27,7 @@ LOCAL_SRC_FILES:= \
randombytes.c \
simulate.c
LOCAL_MODULE:= dna
LOCAL_MODULE:= dnalib
LOCAL_CFLAGS += \
-DSHELL -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" \
@ -41,3 +41,10 @@ LOCAL_CFLAGS += \
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES:= dnalib
LOCAL_MODULE:= dna
LOCAL_SRC_FILES:= null.c
include $(BUILD_EXECUTABLE)