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