qml: activate the wrapped context when binding
[platform/upstream/gst-plugins-good.git] / ext / qt / Makefile.am
1 plugin_LTLIBRARIES = libgstqtsink.la
2
3 noinst_HEADERS = \
4         gstqsgtexture.h \
5         gstqtsink.h \
6         qtitem.h
7
8 moc_generated = \
9         moc_qtitem.cc \
10         moc_gstqsgtexture.cc
11
12 #anything generated by the Qt tools...
13 BUILT_SOURCES = $(moc_generated)
14 CLEANFILES = $(moc_generated)
15
16 nodist_libgstqtsink_la_SOURCES = $(BUILT_SOURCES)
17
18 libgstqtsink_la_SOURCES = \
19         gstqsgtexture.cc \
20         qtitem.cc \
21         gstqtsink.cc \
22         gstqtsink.h \
23         gstqtgl.h \
24         gstplugin.cc
25
26 libgstqtsink_la_CXXFLAGS = \
27         -I$(top_srcdir)/gst-libs \
28         -I$(top_builddir)/gst-libs \
29         $(GST_CXXFLAGS) \
30         $(GST_BASE_CFLAGS) \
31         $(GST_PLUGINS_BASE_CFLAGS) \
32         $(QT_CFLAGS)
33
34 libgstqtsink_la_LIBADD = \
35         $(GST_BASE_LIBS) \
36         $(GST_PLUGINS_BASE_LIBS) \
37         $(QT_LIBS) \
38         $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
39         -lgstvideo-$(GST_API_VERSION)
40
41 libgstqtsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
42 libgstqtsink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
43
44
45 $(moc_generated): moc_%.cc: %.h
46         @MOC@ -o $@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MOC_CPPFLAGS) $<
47
48 ui-%.h: %.ui
49         @UIC@ -o $@ $<
50
51 qrc-%.cc: %.qrc
52         @RCC@ -o $@ $<