mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 09:10:36 +00:00
qt: Tidy up makefile a bit more
Separate generated files, from disted files
This commit is contained in:
parent
f8f9c72cc5
commit
5f8633b6f3
1 changed files with 11 additions and 17 deletions
|
@ -1,29 +1,24 @@
|
||||||
# preamble
|
plugin_LTLIBRARIES = libqtsink.la
|
||||||
NULL =
|
|
||||||
|
|
||||||
moc_headers = \
|
noinst_HEADERS = \
|
||||||
qtitem.h \
|
|
||||||
gstqsgtexture.h \
|
gstqsgtexture.h \
|
||||||
$(NULL)
|
gstqtsink.h \
|
||||||
|
qtitem.h
|
||||||
|
|
||||||
moc_generated = \
|
moc_generated = \
|
||||||
moc_qtitem.cc \
|
moc_qtitem.cc \
|
||||||
moc_gstqsgtexture.cc \
|
moc_gstqsgtexture.cc
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
#anything generated by the Qt tools...
|
#anything generated by the Qt tools...
|
||||||
BUILT_SOURCES = $(moc_generated)
|
BUILT_SOURCES = $(moc_generated)
|
||||||
CLEANFILES = $(moc_generated)
|
CLEANFILES = $(moc_generated)
|
||||||
|
|
||||||
sources = \
|
libqtsink_la_SOURCES = \
|
||||||
gstqsgtexture.cc \
|
gstqsgtexture.cc \
|
||||||
qtitem.cc \
|
qtitem.cc \
|
||||||
gstqtsink.cc \
|
gstqtsink.cc \
|
||||||
gstqtsink.h \
|
gstqtsink.h \
|
||||||
gstplugin.cc \
|
gstplugin.cc
|
||||||
$(moc_headers) \
|
|
||||||
$(moc_generated) \
|
|
||||||
$(NULL)
|
|
||||||
|
|
||||||
libqtsink_la_CXXFLAGS = \
|
libqtsink_la_CXXFLAGS = \
|
||||||
-I$(top_srcdir)/gst-libs \
|
-I$(top_srcdir)/gst-libs \
|
||||||
|
@ -32,6 +27,7 @@ libqtsink_la_CXXFLAGS = \
|
||||||
$(GST_BASE_CFLAGS) \
|
$(GST_BASE_CFLAGS) \
|
||||||
$(GST_PLUGINS_BASE_CFLAGS) \
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
||||||
$(QT_CFLAGS)
|
$(QT_CFLAGS)
|
||||||
|
|
||||||
libqtsink_la_LIBADD = \
|
libqtsink_la_LIBADD = \
|
||||||
$(GST_BASE_LIBS) \
|
$(GST_BASE_LIBS) \
|
||||||
$(GST_PLUGINS_BASE_LIBS) \
|
$(GST_PLUGINS_BASE_LIBS) \
|
||||||
|
@ -39,17 +35,15 @@ libqtsink_la_LIBADD = \
|
||||||
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
|
$(top_builddir)/gst-libs/gst/gl/libgstgl-$(GST_API_VERSION).la \
|
||||||
-lgstvideo-$(GST_API_VERSION)
|
-lgstvideo-$(GST_API_VERSION)
|
||||||
|
|
||||||
libqtsink_la_SOURCES = $(sources)
|
|
||||||
libqtsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
libqtsink_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
||||||
libqtsink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
libqtsink_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)
|
||||||
|
|
||||||
plugin_LTLIBRARIES = libqtsink.la
|
|
||||||
|
|
||||||
$(moc_generated): moc_%.cc: %.h
|
$(moc_generated): moc_%.cc: %.h
|
||||||
@@MOC@ -o$@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(MOC_CPPFLAGS) $<
|
@MOC@ -o $@ $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(MOC_CPPFLAGS) $<
|
||||||
|
|
||||||
ui-%.h: %.ui
|
ui-%.h: %.ui
|
||||||
@@UIC@ -o $@ $<
|
@UIC@ -o $@ $<
|
||||||
|
|
||||||
qrc-%.cc: %.qrc
|
qrc-%.cc: %.qrc
|
||||||
@@RCC@ -o $@ $<
|
@RCC@ -o $@ $<
|
||||||
|
|
Loading…
Reference in a new issue