gstreamer/playback/player/gtk/Makefile.am
Sebastian Dröge f509043c1d playback/player: player: Build against GstPlayer version from gst-plugins-bad everywhere
The old version with everything included and buildable against GStreamer 1.6
can still be found in the gst-player-0.1 branch and will be continued to be
updated for a while.
2016-01-04 10:21:21 +02:00

35 lines
1.1 KiB
Makefile

bin_PROGRAMS = gtk-play
gtk-play-resources.c: resources/gresources.xml \
resources/media_info_dialog.ui \
resources/toolbar.css \
resources/toolbar.ui
$(AM_V_GEN) \
glib-compile-resources \
--sourcedir=$(srcdir)/resources \
--target=$@ \
--generate-source \
--c-name as \
$(srcdir)/resources/gresources.xml
gtk-play-resources.h: resources/gresources.xml \
resources/media_info_dialog.ui \
resources/toolbar.css \
resources/toolbar.ui
$(AM_V_GEN) \
glib-compile-resources \
--sourcedir=$(srcdir)/resources \
--target=$@ \
--generate-header \
--c-name as \
$(srcdir)/resources/gresources.xml
BUILT_SOURCES: gtk-play-resources.c gtk-play-resources.h
gtk_play_SOURCES = gtk-play.c gtk-play-resources.c gtk-video-renderer.c
LDADD = $(GSTREAMER_LIBS) $(GTK_LIBS) $(GTK_X11_LIBS) $(GLIB_LIBS) $(LIBM) $(GMODULE_LIBS)
AM_CFLAGS = $(GSTREAMER_CFLAGS) $(GTK_CFLAGS) $(GTK_X11_CFLAGS) $(GLIB_CFLAGS) $(GMODULE_CFLAGS) $(WARNING_CFLAGS)
noinst_HEADERS = gtk-play-resources.h gtk-video-renderer.h