mirror of
https://github.com/opencv/opencv.git
synced 2024-12-02 07:39:57 +08:00
21 lines
458 B
Makefile
21 lines
458 B
Makefile
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
OPENCV_LIB_TYPE:=STATIC
|
|
OPENCV_INSTALL_MODULES:=on
|
|
|
|
include ../includeOpenCV.mk
|
|
ifeq ("$(wildcard $(OPENCV_MK_PATH))","")
|
|
#try to load OpenCV.mk from default install location
|
|
include $(TOOLCHAIN_PREBUILT_ROOT)/user/share/OpenCV/OpenCV.mk
|
|
else
|
|
include $(OPENCV_MK_PATH)
|
|
endif
|
|
|
|
LOCAL_MODULE := native_sample
|
|
LOCAL_SRC_FILES := jni_part.cpp
|
|
LOCAL_LDLIBS += -llog -ldl
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|