summaryrefslogtreecommitdiff
path: root/ext/opencv/Makefile.am
diff options
context:
space:
mode:
authorPhilippe Renon <philippe_renon@yahoo.fr>2016-11-10 18:42:29 +0100
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-11-14 18:25:57 +0000
commit5594c7e53eb95f93cbecac33b83609e70d7a3ce5 (patch)
tree19c865c4dd8d1771b3090e1c9649aca4adef5c9a /ext/opencv/Makefile.am
parent2121e99dc84f1b4f4f1c9191e907903a1a8bf6cb (diff)
downloadgstreamer-plugins-bad-5594c7e53eb95f93cbecac33b83609e70d7a3ce5.tar.gz
opencv: move base opencv filter class and utilities to gst-libs
https://bugzilla.gnome.org/show_bug.cgi?id=774223
Diffstat (limited to 'ext/opencv/Makefile.am')
-rw-r--r--ext/opencv/Makefile.am15
1 files changed, 9 insertions, 6 deletions
diff --git a/ext/opencv/Makefile.am b/ext/opencv/Makefile.am
index 360d4abd2..02a77ea62 100644
--- a/ext/opencv/Makefile.am
+++ b/ext/opencv/Makefile.am
@@ -2,8 +2,6 @@ plugin_LTLIBRARIES = libgstopencv.la
# sources used to compile this plug-in
libgstopencv_la_SOURCES = gstopencv.cpp \
- gstopencvvideofilter.cpp \
- gstopencvutils.cpp \
gstcvdilate.cpp \
gstcvdilateerode.cpp \
gstcvequalizehist.cpp \
@@ -26,7 +24,10 @@ libgstopencv_la_SOURCES = gstopencv.cpp \
motioncells_wrapper.cpp \
MotionCells.cpp
-libgstopencv_la_CXXFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(OPENCV_CFLAGS) \
+libgstopencv_la_CXXFLAGS = \
+ -I$(top_srcdir)/gst-libs \
+ -I$(top_builddir)/gst-libs \
+ $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CXXFLAGS) $(OPENCV_CFLAGS) \
-DGST_HAAR_CASCADES_DIR=\"$(pkgdatadir)/@GST_API_VERSION@/opencv_haarcascades\"
# flags used to compile this facedetect
@@ -39,14 +40,16 @@ libgstopencv_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
-DCV_INLINE="static inline" \
-DCV_NO_BACKWARD_COMPATIBILITY
-libgstopencv_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(OPENCV_LIBS) \
- $(GSTPB_BASE_LIBS) -lgstvideo-$(GST_API_VERSION)
+libgstopencv_la_LIBADD = \
+ $(top_builddir)/gst-libs/gst/opencv/libgstopencv-$(GST_API_VERSION).la \
+ $(GST_LIBS) $(GST_BASE_LIBS) $(OPENCV_LIBS) \
+ $(GSTPB_BASE_LIBS) -lgstvideo-$(GST_API_VERSION)
libgstopencv_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstopencv_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
# headers we need but don't want installed
-noinst_HEADERS = gstopencvvideofilter.h gstopencvutils.h \
+noinst_HEADERS = \
gstcvdilateerode.h \
gstcvdilate.h \
gstcvequalizehist.h \