qmlglsink: Add Wayland support
[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         -I$(QPA_INCLUDE_PATH) \
30         $(GST_CXXFLAGS) \
31         $(GST_BASE_CFLAGS) \
32         $(GST_PLUGINS_BASE_CFLAGS) \
33         $(QT_CFLAGS) \
34         $(GL_CFLAGS)
35
36 libgstqtsink_la_LIBADD = \
37         $(GST_BASE_LIBS) \
38         $(GST_PLUGINS_BASE_LIBS) \
39         $(QT_LIBS) \
40         $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
41         -lgstvideo-$(GST_API_VERSION)
42
43 libgstqtsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
44 libgstqtsink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
45
46
47 $(moc_generated): moc_%.cc: %.h
48         @MOC@ -o $@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MOC_CPPFLAGS) $<
49
50 ui-%.h: %.ui
51         @UIC@ -o $@ $<
52
53 qrc-%.cc: %.qrc
54         @RCC@ -o $@ $<