Commit Graph

47 Commits

Author SHA1 Message Date
Rémi Denis-Courmont 0892e08572 modules: link to pthread only when needed 2013-09-22 18:52:25 +03:00
Rémi Denis-Courmont a38f6a7bae modules: fix Windows build 2013-09-16 18:54:36 +03:00
Rémi Denis-Courmont 98cea7a2a2 modules: remove VLC-specific AM_LIBADD, simplify 2013-09-16 18:54:31 +03:00
Rémi Denis-Courmont 20cdb051ac modules: simplify CPPFLAGS & CFLAGS 2013-09-16 18:54:31 +03:00
Rémi Denis-Courmont e679db425d modules: set MODULE_NAME_IS_... where needed only 2013-09-16 18:54:31 +03:00
Rémi Denis-Courmont e67cf044cc modules: use different directory prefixes for each plugins subdirectory
This is just a step toward less recursion.
2013-09-16 18:54:31 +03:00
Rémi Denis-Courmont 640d0794a0 modules: factor Makefile statement 2013-09-14 19:29:35 +03:00
Rafaël Carré 7e3c4b6648 Version all plugins when building for Windows
Refs #9108
2013-08-01 17:32:11 +02:00
Rafaël Carré b14d3897e2 Fix make dist after 9d29844fd1 2013-07-08 08:45:12 +02:00
Rémi Denis-Courmont 9d29844fd1 modules: move Modules.am stuff to genmf
This way, common.am can be included also in directories without a
Modules.am file.
2013-07-07 21:11:58 +03:00
Rémi Denis-Courmont df0965badb modules: MODULE_NAME is only used for static modules 2013-07-02 20:12:01 +03:00
Rémi Denis-Courmont 8ac45478b4 Move libvlccore and libcompat to LDFLAGS from LIBADD
An ABI change to libvlccore or libcompat will always be signaled by a
change in a header file. That change will trigger a recompilation and
then relinking of affected plugins.

Thus, there is no need for libvlccore.la and libcompat.la to be
explicit dependencies of plugins. This small hack avoids relinking
every plugin whenever the libvlccore is rebuilt.
2012-09-09 16:27:10 +03:00
Rémi Denis-Courmont 5282cbf1d8 Define explicit makefile variable for libpthread 2012-09-09 16:22:26 +03:00
Rémi Denis-Courmont 0bafe94c50 Remove empty *_DEPENDENCIES in makefiles 2012-09-06 16:55:32 +03:00
Rafaël Carré 4189e7a558 Fix static modules 2011-09-05 18:14:10 +02:00
Rafaël Carré 18925e8fdb Build plugins statically if --disable-shared is used
Only allow static plugins if vlc binary is not built
2011-08-29 08:51:05 -04:00
Rémi Denis-Courmont e7df8e75ea Migrate VLC_ADD_* flags from vlc-config to AC_SUBST 2011-08-18 21:23:25 +03:00
Rémi Denis-Courmont 75532d5c0f Move MODULE_* predefined constants from vlc-config to Makefile 2011-08-18 20:44:59 +03:00
Rémi Denis-Courmont 503069555c Do not path -rpath twice 2011-07-18 22:20:14 +03:00
Rémi Denis-Courmont 7af4b7fed7 Move common predefined macros to config.h and common.am
Also, __USE_UNIX98 is a libc-internal definition. The build system is
not supposed to define that directly (we have _GNU_SOURCE).
2011-05-02 11:01:13 +03:00
Rémi Denis-Courmont 473a276fdd Remove ugly builtin support
I don't this abomination to leak through the stable LibVLC interface.
To link statically, modules should be linked into LibVLC instead.

And then, there is no need to reintroduce the old "builtin" vlc-config
type if all modules are built the same. In prehistoric times, the
distinction was needed because some modules were static and some not.
2011-05-02 11:01:11 +03:00
Pierre d'Herbemont cc629fa53e Allow libvlc client to build statically. 2010-10-31 21:04:03 +01:00
Brad Smith 3a27eb58f0 Fix a typo with the libtool flag -export-symbols-regex
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2010-10-31 08:55:45 +02:00
Rémi Denis-Courmont 4a6584208f No need for common SUFFIXES definition anymore
Left-over from pre-libtool era
2010-05-15 22:11:09 +03:00
Rémi Denis-Courmont 4ac9513cfd Install and look for plugins in plugins/, not modules/ (fixes: #3352) 2010-03-02 22:07:50 +02:00
Rémi Denis-Courmont f509010a10 Silent rule for genmf 2010-02-14 22:26:18 +02:00
Rémi Denis-Courmont f5e900bebb Remove legacy nice target 2010-02-14 22:26:18 +02:00
Rémi Denis-Courmont c7eabcd917 Put plugins in $(pkglibdir)/modules
We can now store other architecture-dependant files in $(pkglibdir)
(and without bugging the plugins scan).
2010-02-14 20:50:18 +02:00
Rémi Denis-Courmont aa55637b75 Specify the install path for plugins
This is just pedantic. Nobody links against plugins anyway.
2009-08-06 18:31:19 +03:00
Rémi Denis-Courmont e1a78b744b Start moving replacement functions to a static import library 2009-04-10 20:14:10 +03:00
Rémi Denis-Courmont cba4b50534 Link plugins against libvlccore
This reverts back to 0.9 (and --enable-libtool 0.8.6) state. This
should fix bindings and web plugins, without hacks. However, this will
require relinking all VLC plugins whenever libvlccore changes.
2009-02-14 20:02:30 +02:00
Rémi Denis-Courmont 5698895948 Support for tweaking package-part of install path
I kept include files to ../vlc otherwise #include syntax would break

Now, it's up to changing PKGDIR="vlc" to PKGDIR="vlc-1.0".
We just need to decide.
2009-01-27 20:20:32 +02:00
Geoffroy Couprie f57c5bdcf9 add -no-undefined for WinCE 2008-11-04 08:23:08 +01:00
Rémi Denis-Courmont ec525f6973 Restore -no-undefined on Win32 2008-10-22 20:47:51 +03:00
Rémi Denis-Courmont 42b58e873a Do not link plugins against libvlccore explicitly
We really want plugins to resolve their VLC symbols against the already
loaded LibVLC core, rather than with their own version of it.
Performance benefit should be neglectible, if any.
Still, this will "fix" the plugin crash with static LibVLC builds (or
generate a due link-time error). Anyway, this is one step toward
supporting any form of static linking again.
2008-10-19 17:10:11 +03:00
Rémi Denis-Courmont 67ad2d4678 -export-dynamic is no sense for libs, use -export-symbol (or nothing) 2008-05-24 10:39:07 +03:00
Rémi Denis-Courmont 84d0f814c4 Rename the shared libraries 2008-05-15 19:40:44 +03:00
Rémi Denis-Courmont 32fcb07923 nice is a phony target 2008-04-28 22:33:14 +03:00
Rémi Denis-Courmont c777887c91 Cosmetics 2008-04-28 22:32:51 +03:00
Rémi Denis-Courmont 3e82c0f591 Remove a bunch of obsoleted kludges
We don't need to invoke make twice in every directory, and we don't need
the awful libtool install kludge anymore.
2008-04-28 22:31:32 +03:00
Rémi Denis-Courmont be5bff39e5 Allow building plugins through autotools-builtin means...
...in addition to vlc-config
2008-04-28 22:20:34 +03:00
Rémi Denis-Courmont c20040263c Complete flags factorization 2008-04-21 22:31:47 +03:00
Rémi Denis-Courmont 41ce29d54d Simplify 2008-04-21 22:12:42 +03:00
Rémi Denis-Courmont cd369d68d7 Fix genmf invocation 2008-04-21 22:04:35 +03:00
Rémi Denis-Courmont 2040035d0f Remove dead and ugly code of mine 2008-04-21 21:54:50 +03:00
Rémi Denis-Courmont ab799a3a87 Makefile factorization 2008-04-21 21:48:43 +03:00
Rémi Denis-Courmont a6c428f6f3 Put common modules Makefiles stuff to an include file
Less escaping, less stuff that Makefile.am's depend on
2008-04-21 20:42:38 +03:00