From cf149be246d8e7e44864de58f4254024fe3e60dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Sun, 19 Aug 2018 04:34:33 +0200 Subject: [PATCH] Fix automake build dependencies Workaround for parallel build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 14c2f09f25ba9462d8624e99ea853d1eb22d74e1) --- src/Makefile.am | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/Makefile.am b/src/Makefile.am index 6278004..2e91b1b 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -27,6 +27,7 @@ tdeinit_LTLIBRARIES=kmplayer.la kmplayer_la_SOURCES= main.cpp kmplayerapp.cpp kmplayertvsource.cpp kmplayerbroadcast.cpp kmplayervdr.cpp kmplayer_la_LIBADD= libkmplayercommon.la $(LIB_XTEST) kmplayer_la_LDFLAGS= -module $(KDE_PLUGIN) $(LIB_QT) +kmplayer_la_COMPILE_FIRST= kmplayer_backend_stub.h EXTRA_PROGRAMS = kxineplayer kxvplayer kgstplayer if include_kxineplayer @@ -48,14 +49,17 @@ kxineplayer_LDADD= libkmplayerbackend.la $(LIB_XINE) -lDCOP kxineplayer_CFLAGS= $(CFLAGS_XINE) kxineplayer_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor kxineplayer_SOURCES= xineplayer.cpp +kxineplayer_COMPILE_FIRST= kmplayer_callback_stub.h kxvplayer_LDADD= libkmplayerbackend.la -lDCOP -lXv kxvplayer_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor kxvplayer_SOURCES= xvplayer.cpp +kxvplayer_COMPILE_FIRST= kmplayer_callback_stub.h kgstplayer_LDADD= libkmplayerbackend.la $(LIB_GST) $(LIB_GST_PLUGINS) $(LIB_GST_OVERLAY) -lDCOP kgstplayer_LDFLAGS= $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor kgstplayer_SOURCES= gstplayer.cpp +kgstplayer_COMPILE_FIRST= kmplayer_callback_stub.h knpplayer_LDADD= $(LIBNSPR_LIBS) knpplayer_LDFLAGS= -lX11 -lgmodule-2.0 @@ -79,3 +83,5 @@ dummy.cpp: messages: rc.cpp $(XGETTEXT) *.cpp -o $(podir)/kmplayer.pot + +.NOTPARALLEL: