2011-06-29 14:26:27 +02:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
2012-03-23 18:03:05 +01:00
|
|
|
OPENCV_LIB_TYPE:=STATIC
|
|
|
|
OPENCV_INSTALL_MODULES:=on
|
|
|
|
|
2011-07-14 11:34:57 +02:00
|
|
|
include ../includeOpenCV.mk
|
|
|
|
ifeq ("$(wildcard $(OPENCV_MK_PATH))","")
|
|
|
|
#try to load OpenCV.mk from default install location
|
2011-06-29 14:26:27 +02:00
|
|
|
include $(TOOLCHAIN_PREBUILT_ROOT)/user/share/OpenCV/OpenCV.mk
|
|
|
|
else
|
2011-07-14 11:34:57 +02:00
|
|
|
include $(OPENCV_MK_PATH)
|
2011-06-29 14:26:27 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
LOCAL_MODULE := native_sample
|
|
|
|
LOCAL_SRC_FILES := jni_part.cpp
|
|
|
|
LOCAL_LDLIBS += -llog -ldl
|
|
|
|
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|