mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
cf0a34528d
Original commit message from CVS: libXv is now linked against by test/* and gstplay if it is present. -lXv isn't leaked all over the place due to AC_CHECK_LIB test. This is still messy though - we shouldn't have to link explicitly with extra things just because we use certain plugins. Build Makefile in tests, but don't recurse into tests when doing the build (tests no longer in SUBDIRS).
34 lines
857 B
Makefile
34 lines
857 B
Makefile
## Process this file with automake to produce Makefile.in
|
|
|
|
INCLUDES = $(GLIB_CFLAGS) $(GTK_CFLAGS) -I$(top_srcdir) \
|
|
$(shell gnome-config --cflags gnomeui)
|
|
|
|
|
|
bin_PROGRAMS = gstplay
|
|
|
|
gladedir = $(datadir)/gstplay
|
|
glade_DATA = gstplay.glade play.xpm stop.xpm pause.xpm
|
|
|
|
gstplay_SOURCES = \
|
|
gstplay.c \
|
|
mpeg1.c mpeg2.c avi.c\
|
|
interface.c interface.h \
|
|
callbacks.c callbacks.h
|
|
|
|
noinst_HEADERS = codecs.h
|
|
|
|
CFLAGS += -O2 -Wall -DDATADIR=\""$(gladedir)/"\"
|
|
|
|
gstplay_CFLAGS = $(shell gnome-config --cflags gnomeui) $(shell libglade-config --cflags gnome)
|
|
gstplay_LDFLAGS = $(shell gnome-config --libs gnomeui) $(shell libglade-config --libs gnome)
|
|
|
|
if HAVE_LIBXV
|
|
xvlibs=-lXv
|
|
else
|
|
xvlibs=
|
|
endif
|
|
|
|
gstplay_LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(top_builddir)/gst/libgst.la \
|
|
$(top_builddir)/plugins/videosink/gdkxvimage.lo ${xvlibs} -lXxf86vm
|
|
|
|
|