summaryrefslogtreecommitdiff
path: root/gstplay/Makefile.am
blob: d7a3c1c7df607813f1a01d6fd26a20ce4833ffe8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
## 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)

gstplay_LDADD = $(GLIB_LIBS) $(GTK_LIBS) $(top_builddir)/gst/libgst.la \
          $(top_builddir)/plugins/videosink/gdkxvimage.lo -lXv -lXxf86vm