gstreamer/tests/examples/Makefile.am
2018-02-12 15:16:37 +00:00

67 lines
1.1 KiB
Makefile

if USE_UVCH264
UVCH264_DIR=uvch264
else
UVCH264_DIR=
endif
if HAVE_GTK
GTK_EXAMPLES=mxf camerabin2 $(UVCH264_DIR)
else
GTK_EXAMPLES=
endif
if USE_DIRECTFB
DIRECTFB_DIR=directfb
else
DIRECTFB_DIR=
endif
OPENCV_EXAMPLES=opencv
MATRIXMIX_DIR=audiomixmatrix
if HAVE_AVFOUNDATION
if HAVE_IOS
AVSAMPLE_DIR=
else
AVSAMPLE_DIR=avsamplesink
endif
else
AVSAMPLE_DIR=
endif
if USE_WAYLAND
if HAVE_GTK3
WAYLAND_DIR=waylandsink
else
WAYLAND_DIR=
endif
else
WAYLAND_DIR=
endif
if USE_IPCPIPELINE
IPCPIPELINE_DIR=ipcpipeline
else
IPCPIPELINE_DIR=
endif
if USE_WEBRTC
WEBRTC_DIR=webrtc
else
WEBRTC_DIR=
endif
noinst_PROGRAMS = playout
playout_SOURCES = playout.c
playout_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
playout_LDADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_API_VERSION) $(GST_LIBS)
SUBDIRS= codecparsers mpegts $(DIRECTFB_DIR) $(GTK_EXAMPLES) $(OPENCV_EXAMPLES) \
$(AVSAMPLE_DIR) $(WAYLAND_DIR) $(MATRIXMIX_DIR) \
$(IPCPIPELINE_DIR) $(WEBRTC_DIR)
DIST_SUBDIRS= codecparsers mpegts camerabin2 directfb mxf opencv uvch264 \
avsamplesink waylandsink audiomixmatrix ipcpipeline webrtc
include $(top_srcdir)/common/parallel-subdirs.mak