fdf860f67bf7a89c6660e962924dc1861d4c4603
[platform/upstream/gst-plugins-good.git] / ext / gtk / Makefile.am
1 # preamble
2 NULL =
3 BUILT_SOURCES =
4 CLEANFILES =
5 EXTRA_DIST =
6 DISTCLEANFILES =
7 lib_LTLIBRARIES =
8
9 # source
10 sources = \
11         gtkgstbasewidget.c \
12         gtkgstbasewidget.h \
13         gtkgstwidget.c \
14         gtkgstwidget.h \
15         gstgtkbasesink.c \
16         gstgtkbasesink.h \
17         gstgtksink.c \
18         gstgtksink.h \
19         gstgtkutils.c \
20         gstgtkutils.h \
21         gstplugin.c \
22         $(NULL)
23
24 libgstgtk_la_CFLAGS = \
25         -I$(top_srcdir)/gst-libs \
26         -I$(top_builddir)/gst-libs \
27         $(GTK3_CFLAGS) \
28         $(GST_CFLAGS) \
29         $(GST_BASE_CFLAGS) \
30         $(GST_PLUGINS_BASE_CFLAGS)
31 libgstgtk_la_LIBADD = \
32         $(GTK3_LIBS) \
33         $(GST_BASE_LIBS) \
34         $(GST_PLUGINS_BASE_LIBS) \
35         -lgstvideo-$(GST_API_VERSION)
36
37 libgstgtk_la_SOURCES = $(sources)
38 libgstgtk_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
39 libgstgtk_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
40
41 if USE_GTK3_GL
42 if USE_GL
43 libgstgtk_la_SOURCES += gstgtkglsink.c gstgtkglsink.h gtkgstglwidget.c gtkgstglwidget.h
44 libgstgtk_la_LIBADD += \
45         $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la
46 endif
47 endif
48
49 plugin_LTLIBRARIES = libgstgtk.la