qt: rename library to include gst prefix
[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         gstplugin.cc
24
25 libgstqtsink_la_CXXFLAGS = \
26         -I$(top_srcdir)/gst-libs \
27         -I$(top_builddir)/gst-libs \
28         $(GST_CXXFLAGS) \
29         $(GST_BASE_CFLAGS) \
30         $(GST_PLUGINS_BASE_CFLAGS) \
31         $(QT_CFLAGS)
32
33 libgstqtsink_la_LIBADD = \
34         $(GST_BASE_LIBS) \
35         $(GST_PLUGINS_BASE_LIBS) \
36         $(QT_LIBS) \
37         $(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
38         -lgstvideo-$(GST_API_VERSION)
39
40 libgstqtsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
41 libgstqtsink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
42
43
44 $(moc_generated): moc_%.cc: %.h
45         @MOC@ -o $@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(MOC_CPPFLAGS) $<
46
47 ui-%.h: %.ui
48         @UIC@ -o $@ $<
49
50 qrc-%.cc: %.qrc
51         @RCC@ -o $@ $<