gstreamer/ext/opencv/Makefile.am
Tim-Philipp Müller 960ccc118f opencv: define CV_NO_BACKWARD_COMPATIBILITY to suppress warnings caused by compat header
Compile with -DCV_NO_BACKWARD_COMPATIBILITY for now, so that the compat header
doesn't get included, which causes compiler warnings that (it seems) can't be
switched off easily. As a result, we also specify a max. version in configure,
so the build doesn't break if our code doesn't compile against newer opencv
versions any more with that flag.
2010-09-09 15:29:31 +01:00

49 lines
1.3 KiB
Makefile

plugin_LTLIBRARIES = libgstopencv.la
# sources used to compile this plug-in
libgstopencv_la_SOURCES = gstopencv.c \
gstopencvvideofilter.c \
gstopencvutils.c \
gstcvdilate.c \
gstcvdilateerode.c \
gstcvequalizehist.c \
gstcverode.c \
gstcvlaplace.c \
gstcvsmooth.c \
gstcvsobel.c \
gstedgedetect.c \
gstfaceblur.c \
gstfacedetect.c \
gstpyramidsegment.c \
gsttemplatematch.c \
gsttextwrite.c
# flags used to compile this facedetect
# add other _CFLAGS and _LIBS as needed
#
# override CV_INLINE: GLib will take care of defining 'inline' sufficiently and
# OpenCV's define isn't good enough to avoid 'unused' gcc warnings (at v2.1.0)
libgstopencv_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(OPENCV_CFLAGS) \
$(GST_PLUGINS_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_MAJORMINOR)
libgstopencv_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
# headers we need but don't want installed
noinst_HEADERS = gstopencvvideofilter.h gstopencvutils.h \
gstcvdilateerode.h \
gstcvdilate.h \
gstcvequalizehist.h \
gstcverode.h \
gstcvlaplace.h \
gstcvsmooth.h \
gstcvsobel.h \
gstedgedetect.h \
gstfaceblur.h \
gstfacedetect.h \
gstpyramidsegment.h \
gsttemplatematch.h \
gsttextwrite.h