mirror of
https://github.com/videolan/vlc.git
synced 2024-11-23 18:03:48 +08:00
qt: Makefile.am: use recursive Makefile
The project started to move away from recursive Makefile a while ago for performance reasons. Unfortunately, even though tools like libtool can handle an arbitrary number of files by using @filelists, automake is subject[^1][^2] to max argument limitation in its `distdir-am` target, which will try to expand $(DISTFILES) in the bash command line. [^1]: https://lists.gnu.org/archive/html/bug-automake/2009-07/msg00008.html [^2]: https://lists.gnu.org/archive/html/automake/2014-05/msg00015.html This is workarounded in this commit by moving all the files from Qt in a separate Makefile that will be recursively called by automake, reducing the size of $(DISTFILES). Hopefully, Make/Automake would have fixed this or we would have moved completely to Meson when we reach the limit again.
This commit is contained in:
parent
468ef3103f
commit
ddfc6d0de8
@ -4703,6 +4703,7 @@ AC_CONFIG_FILES([
|
|||||||
Makefile
|
Makefile
|
||||||
doc/Makefile
|
doc/Makefile
|
||||||
modules/Makefile
|
modules/Makefile
|
||||||
|
modules/gui/qt/Makefile
|
||||||
m4/Makefile
|
m4/Makefile
|
||||||
po/Makefile.in
|
po/Makefile.in
|
||||||
share/Makefile
|
share/Makefile
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
SUBDIRS += gui/qt
|
||||||
|
|
||||||
guidir = $(pluginsdir)/gui
|
guidir = $(pluginsdir)/gui
|
||||||
gui_LTLIBRARIES =
|
gui_LTLIBRARIES =
|
||||||
|
|
||||||
@ -21,5 +23,4 @@ EXTRA_LTLIBRARIES += libminimal_macosx_plugin.la
|
|||||||
gui_LTLIBRARIES += $(LTLIBminimal_macosx)
|
gui_LTLIBRARIES += $(LTLIBminimal_macosx)
|
||||||
|
|
||||||
include gui/macosx/Makefile.am
|
include gui/macosx/Makefile.am
|
||||||
include gui/qt/Makefile.am
|
|
||||||
include gui/skins2/Makefile.am
|
include gui/skins2/Makefile.am
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user