qt: The code requires at least C++11
[platform/upstream/gst-plugins-good.git] / ext / qt / Makefile.am
1 plugin_LTLIBRARIES = libgstqmlgl.la
2
3 noinst_HEADERS = \
4         gstqsgtexture.h \
5         gstqtglutility.h \
6         gstqtsink.h \
7         gstqtsrc.h \
8         qtitem.h \
9         qtwindow.h
10
11 moc_generated = \
12         moc_qtitem.cc \
13         moc_qtwindow.cc \
14         moc_gstqsgtexture.cc
15
16 #anything generated by the Qt tools...
17 BUILT_SOURCES = $(moc_generated)
18 CLEANFILES = $(moc_generated)
19
20 nodist_libgstqmlgl_la_SOURCES = $(BUILT_SOURCES)
21
22 libgstqmlgl_la_SOURCES = \
23         gstqsgtexture.cc \
24         gstqtglutility.cc \
25         qtitem.cc \
26         qtwindow.cc \
27         gstqtsink.cc \
28         gstqtsink.h \
29         gstqtsrc.cc \
30         gstqtsrc.h \
31         gstqtgl.h \
32         gstplugin.cc
33
34 libgstqmlgl_la_CXXFLAGS = \
35         -I$(top_srcdir)/gst-libs \
36         -I$(top_builddir)/gst-libs \
37         $(GST_CXXFLAGS) \
38         $(GST_BASE_CFLAGS) \
39         $(GST_PLUGINS_BASE_CFLAGS) \
40         $(QT_CFLAGS) \
41         $(GL_CFLAGS) -std=c++11
42
43 libgstqmlgl_la_LIBADD = \
44         $(GST_BASE_LIBS) \
45         $(GST_PLUGINS_BASE_LIBS) \
46         $(QT_LIBS) \
47         $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
48         -lgstvideo-$(GST_API_VERSION)
49
50 libgstqmlgl_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
51 libgstqmlgl_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
52
53
54 $(moc_generated): moc_%.cc: %.h
55         @MOC@ -o $@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(MOC_CPPFLAGS) $<
56
57 ui-%.h: %.ui
58         @UIC@ -o $@ $<
59
60 qrc-%.cc: %.qrc
61         @RCC@ -o $@ $<