Commit e67cf044 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

modules: use different directory prefixes for each plugins subdirectory

This is just a step toward less recursion.
parent 59b95f35
This diff is collapsed.
basedir = access
include $(top_srcdir)/modules/common.am include $(top_srcdir)/modules/common.am
accessdir = $(pluginsdir)/access
# RTP plugin # RTP plugin
libvlc_LTLIBRARIES = librtp_plugin.la access_LTLIBRARIES = librtp_plugin.la
librtp_plugin_la_SOURCES = \ librtp_plugin_la_SOURCES = \
rtp.c \ rtp.c \
rtp.h \ rtp.h \
......
...@@ -4,7 +4,7 @@ SOURCES_access_output_udp = udp.c ...@@ -4,7 +4,7 @@ SOURCES_access_output_udp = udp.c
SOURCES_access_output_http = http.c bonjour.c bonjour.h SOURCES_access_output_http = http.c bonjour.c bonjour.h
SOURCES_access_output_shout = shout.c SOURCES_access_output_shout = shout.c
libvlc_LTLIBRARIES += \ access_output_LTLIBRARIES += \
libaccess_output_dummy_plugin.la \ libaccess_output_dummy_plugin.la \
libaccess_output_file_plugin.la \ libaccess_output_file_plugin.la \
libaccess_output_udp_plugin.la \ libaccess_output_udp_plugin.la \
...@@ -18,5 +18,5 @@ libaccess_output_livehttp_plugin_la_LIBADD = $(AM_LIBADD) $(GCRYPT_LIBS) -lgpg-e ...@@ -18,5 +18,5 @@ libaccess_output_livehttp_plugin_la_LIBADD = $(AM_LIBADD) $(GCRYPT_LIBS) -lgpg-e
if HAVE_WIN32 if HAVE_WIN32
libaccess_output_livehttp_plugin_la_DEPENDENCIES = libaccess_output_livehttp_plugin.rc.o libaccess_output_livehttp_plugin_la_DEPENDENCIES = libaccess_output_livehttp_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += libaccess_output_livehttp_plugin.la access_output_LTLIBRARIES += libaccess_output_livehttp_plugin.la
endif endif
basedir = arm_neon
include $(top_srcdir)/modules/common.am
AM_LIBTOOLFLAGS=--tag=CC AM_LIBTOOLFLAGS=--tag=CC
include $(top_srcdir)/modules/common.am
neondir = $(pluginsdir)/arm_neon
libsimple_channel_mixer_neon_plugin_la_SOURCES = \ libsimple_channel_mixer_neon_plugin_la_SOURCES = \
simple_channel_mixer.S \ simple_channel_mixer.S \
...@@ -31,7 +30,7 @@ libyuv_rgb_neon_plugin_la_SOURCES = \ ...@@ -31,7 +30,7 @@ libyuv_rgb_neon_plugin_la_SOURCES = \
libyuv_rgb_neon_plugin_la_CFLAGS = $(AM_CFLAGS) libyuv_rgb_neon_plugin_la_CFLAGS = $(AM_CFLAGS)
libyuv_rgb_neon_plugin_la_LIBADD = $(AM_LIBADD) libyuv_rgb_neon_plugin_la_LIBADD = $(AM_LIBADD)
libvlc_LTLIBRARIES = \ neon_LTLIBRARIES = \
libsimple_channel_mixer_neon_plugin.la \ libsimple_channel_mixer_neon_plugin.la \
libchroma_yuv_neon_plugin.la \ libchroma_yuv_neon_plugin.la \
libvolume_neon_plugin.la \ libvolume_neon_plugin.la \
......
...@@ -16,7 +16,7 @@ SOURCES_spatializer = \ ...@@ -16,7 +16,7 @@ SOURCES_spatializer = \
spatializer/revmodel.cpp spatializer/revmodel.hpp \ spatializer/revmodel.cpp spatializer/revmodel.hpp \
spatializer/spatializer.cpp spatializer/spatializer.cpp
libvlc_LTLIBRARIES += \ audio_filter_LTLIBRARIES += \
libaudiobargraph_a_plugin.la \ libaudiobargraph_a_plugin.la \
libchorus_flanger_plugin.la \ libchorus_flanger_plugin.la \
libcompressor_plugin.la \ libcompressor_plugin.la \
...@@ -37,7 +37,7 @@ SOURCES_dolby_surround_decoder = channel_mixer/dolby.c ...@@ -37,7 +37,7 @@ SOURCES_dolby_surround_decoder = channel_mixer/dolby.c
SOURCES_mono = channel_mixer/mono.c SOURCES_mono = channel_mixer/mono.c
SOURCES_remap = channel_mixer/remap.c SOURCES_remap = channel_mixer/remap.c
libvlc_LTLIBRARIES += \ audio_filter_LTLIBRARIES += \
libdolby_surround_decoder_plugin.la \ libdolby_surround_decoder_plugin.la \
libheadphone_channel_mixer_plugin.la \ libheadphone_channel_mixer_plugin.la \
libmono_plugin.la \ libmono_plugin.la \
...@@ -58,7 +58,7 @@ if HAVE_WIN32 ...@@ -58,7 +58,7 @@ if HAVE_WIN32
libaudio_format_plugin_la_DEPENDENCIES = libaudio_format_plugin.rc.o libaudio_format_plugin_la_DEPENDENCIES = libaudio_format_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += \ audio_filter_LTLIBRARIES += \
liba52tospdif_plugin.la \ liba52tospdif_plugin.la \
libaudio_format_plugin.la \ libaudio_format_plugin.la \
libdtstospdif_plugin.la libdtstospdif_plugin.la
...@@ -69,7 +69,7 @@ SOURCES_bandlimited_resampler = \ ...@@ -69,7 +69,7 @@ SOURCES_bandlimited_resampler = \
SOURCES_ugly_resampler = resampler/ugly.c SOURCES_ugly_resampler = resampler/ugly.c
SOURCES_samplerate = resampler/src.c SOURCES_samplerate = resampler/src.c
libvlc_LTLIBRARIES += \ audio_filter_LTLIBRARIES += \
libugly_resampler_plugin.la libugly_resampler_plugin.la
EXTRA_LTLIBRARIES += \ EXTRA_LTLIBRARIES += \
libbandlimited_resampler_plugin.la libbandlimited_resampler_plugin.la
...@@ -81,5 +81,5 @@ if HAVE_WIN32 ...@@ -81,5 +81,5 @@ if HAVE_WIN32
libspeex_resampler_plugin_la_DEPENDENCIES = libspeex_resampler_plugin.rc.o libspeex_resampler_plugin_la_DEPENDENCIES = libspeex_resampler_plugin.rc.o
endif endif
if HAVE_SPEEXDSP if HAVE_SPEEXDSP
libvlc_LTLIBRARIES += libspeex_resampler_plugin.la audio_filter_LTLIBRARIES += libspeex_resampler_plugin.la
endif endif
basedir = audio_mixer
include $(top_srcdir)/modules/common.am include $(top_srcdir)/modules/common.am
audio_mixerdir = $(pluginsdir)/audio_mixer
libfloat_mixer_plugin_la_SOURCES = float.c libfloat_mixer_plugin_la_SOURCES = float.c
libfloat_mixer_plugin_la_CFLAGS = $(AM_CFLAGS) libfloat_mixer_plugin_la_CFLAGS = $(AM_CFLAGS)
...@@ -15,6 +15,6 @@ if HAVE_WIN32 ...@@ -15,6 +15,6 @@ if HAVE_WIN32
libinteger_mixer_plugin_la_DEPENDENCIES = libinteger_mixer_plugin.rc.o libinteger_mixer_plugin_la_DEPENDENCIES = libinteger_mixer_plugin.rc.o
endif endif
libvlc_LTLIBRARIES = \ audio_mixer_LTLIBRARIES = \
libfloat_mixer_plugin.la \ libfloat_mixer_plugin.la \
libinteger_mixer_plugin.la libinteger_mixer_plugin.la
aoutdir = $(pluginsdir)/audio_output
aout_LTLIBRARIES =
SOURCES_waveout = waveout.c windows_audio_common.h SOURCES_waveout = waveout.c windows_audio_common.h
SOURCES_auhal = TPCircularBuffer.h TPCircularBuffer.c auhal.c SOURCES_auhal = TPCircularBuffer.h TPCircularBuffer.c auhal.c
SOURCES_audiounit_ios = TPCircularBuffer.h TPCircularBuffer.c audiounit_ios.c SOURCES_audiounit_ios = TPCircularBuffer.h TPCircularBuffer.c audiounit_ios.c
...@@ -12,7 +15,7 @@ libandroid_audiotrack_plugin_la_CFLAGS = $(AM_CFLAGS) ...@@ -12,7 +15,7 @@ libandroid_audiotrack_plugin_la_CFLAGS = $(AM_CFLAGS)
libandroid_audiotrack_plugin_la_LIBADD = $(AM_LIBADD) -ldl libandroid_audiotrack_plugin_la_LIBADD = $(AM_LIBADD) -ldl
if HAVE_ANDROID if HAVE_ANDROID
libvlc_LTLIBRARIES += libandroid_audiotrack_plugin.la libopensles_android_plugin.la aout_LTLIBRARIES += libandroid_audiotrack_plugin.la libopensles_android_plugin.la
endif endif
libadummy_plugin_la_SOURCES = adummy.c libadummy_plugin_la_SOURCES = adummy.c
...@@ -36,7 +39,7 @@ if HAVE_WIN32 ...@@ -36,7 +39,7 @@ if HAVE_WIN32
libamem_plugin_la_DEPENDENCIES = libamem_plugin.rc.o libamem_plugin_la_DEPENDENCIES = libamem_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += \ aout_LTLIBRARIES += \
libadummy_plugin.la \ libadummy_plugin.la \
libafile_plugin.la \ libafile_plugin.la \
libamem_plugin.la libamem_plugin.la
...@@ -45,14 +48,14 @@ liboss_plugin_la_SOURCES = oss.c volume.h ...@@ -45,14 +48,14 @@ liboss_plugin_la_SOURCES = oss.c volume.h
liboss_plugin_la_CFLAGS = $(AM_CFLAGS) liboss_plugin_la_CFLAGS = $(AM_CFLAGS)
liboss_plugin_la_LIBADD = $(AM_LIBADD) $(OSS_LIBS) $(LIBM) liboss_plugin_la_LIBADD = $(AM_LIBADD) $(OSS_LIBS) $(LIBM)
if HAVE_OSS if HAVE_OSS
libvlc_LTLIBRARIES += liboss_plugin.la aout_LTLIBRARIES += liboss_plugin.la
endif endif
libalsa_plugin_la_SOURCES = alsa.c volume.h libalsa_plugin_la_SOURCES = alsa.c volume.h
libalsa_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALSA_CFLAGS) libalsa_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALSA_CFLAGS)
libalsa_plugin_la_LIBADD = $(AM_LIBADD) $(ALSA_LIBS) $(LIBM) libalsa_plugin_la_LIBADD = $(AM_LIBADD) $(ALSA_LIBS) $(LIBM)
if HAVE_ALSA if HAVE_ALSA
libvlc_LTLIBRARIES += libalsa_plugin.la aout_LTLIBRARIES += libalsa_plugin.la
endif endif
libpulse_plugin_la_SOURCES = pulse.c libpulse_plugin_la_SOURCES = pulse.c
...@@ -60,14 +63,14 @@ libpulse_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS) ...@@ -60,14 +63,14 @@ libpulse_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
libpulse_plugin_la_LIBADD = ../libvlc_pulse.la \ libpulse_plugin_la_LIBADD = ../libvlc_pulse.la \
$(AM_LIBADD) $(PULSE_LIBS) $(LIBM) $(AM_LIBADD) $(PULSE_LIBS) $(LIBM)
if HAVE_PULSE if HAVE_PULSE
libvlc_LTLIBRARIES += libpulse_plugin.la aout_LTLIBRARIES += libpulse_plugin.la
endif endif
libjack_plugin_la_SOURCES = jack.c volume.h libjack_plugin_la_SOURCES = jack.c volume.h
libjack_plugin_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS) libjack_plugin_la_CFLAGS = $(AM_CFLAGS) $(JACK_CFLAGS)
libjack_plugin_la_LIBADD = $(AM_LIBADD) $(JACK_LIBS) $(LIBM) libjack_plugin_la_LIBADD = $(AM_LIBADD) $(JACK_LIBS) $(LIBM)
if HAVE_JACK if HAVE_JACK
libvlc_LTLIBRARIES += libjack_plugin.la aout_LTLIBRARIES += libjack_plugin.la
endif endif
libmmdevice_plugin_la_SOURCES = mmdevice.c mmdevice.h wasapi.c libmmdevice_plugin_la_SOURCES = mmdevice.c mmdevice.h wasapi.c
...@@ -77,7 +80,7 @@ if HAVE_WIN32 ...@@ -77,7 +80,7 @@ if HAVE_WIN32
libmmdevice_plugin_la_DEPENDENCIES = libmmdevice_plugin.rc.o libmmdevice_plugin_la_DEPENDENCIES = libmmdevice_plugin.rc.o
endif endif
if HAVE_WASAPI if HAVE_WASAPI
libvlc_LTLIBRARIES += libmmdevice_plugin.la aout_LTLIBRARIES += libmmdevice_plugin.la
endif endif
libdirectsound_plugin_la_SOURCES = directx.c windows_audio_common.h libdirectsound_plugin_la_SOURCES = directx.c windows_audio_common.h
...@@ -87,19 +90,19 @@ if HAVE_WIN32 ...@@ -87,19 +90,19 @@ if HAVE_WIN32
libdirectsound_plugin_la_DEPENDENCIES = libdirectsound_plugin.rc.o libdirectsound_plugin_la_DEPENDENCIES = libdirectsound_plugin.rc.o
endif endif
if HAVE_DIRECTX if HAVE_DIRECTX
libvlc_LTLIBRARIES += libdirectsound_plugin.la aout_LTLIBRARIES += libdirectsound_plugin.la
endif endif
libkai_plugin_la_SOURCES = kai.c libkai_plugin_la_SOURCES = kai.c
libkai_plugin_la_CFLAGS = $(AM_CFLAGS) libkai_plugin_la_CFLAGS = $(AM_CFLAGS)
libkai_plugin_la_LIBADD = $(AM_LIBADD) $(KAI_LIBS) libkai_plugin_la_LIBADD = $(AM_LIBADD) $(KAI_LIBS)
if HAVE_KAI if HAVE_KAI
libvlc_LTLIBRARIES += libkai_plugin.la aout_LTLIBRARIES += libkai_plugin.la
endif endif
libsndio_plugin_la_SOURCES = sndio.c libsndio_plugin_la_SOURCES = sndio.c
libsndio_plugin_la_CFLAGS = $(AM_CFLAGS) libsndio_plugin_la_CFLAGS = $(AM_CFLAGS)
libsndio_plugin_la_LIBADD = $(AM_LIBADD) -lsndio libsndio_plugin_la_LIBADD = $(AM_LIBADD) -lsndio
if HAVE_SNDIO if HAVE_SNDIO
libvlc_LTLIBRARIES += libsndio_plugin.la aout_LTLIBRARIES += libsndio_plugin.la
endif endif
...@@ -52,7 +52,7 @@ SOURCES_fdkaac = fdkaac.c ...@@ -52,7 +52,7 @@ SOURCES_fdkaac = fdkaac.c
SOURCES_scte27 = scte27.c SOURCES_scte27 = scte27.c
SOURCES_qsv = qsv.c SOURCES_qsv = qsv.c
libvlc_LTLIBRARIES += \ codec_LTLIBRARIES += \
libcc_plugin.la \ libcc_plugin.la \
libcdg_plugin.la \ libcdg_plugin.la \
libcvdsub_plugin.la \ libcvdsub_plugin.la \
...@@ -68,7 +68,7 @@ libvlc_LTLIBRARIES += \ ...@@ -68,7 +68,7 @@ libvlc_LTLIBRARIES += \
$(NULL) $(NULL)
if ENABLE_SOUT if ENABLE_SOUT
libvlc_LTLIBRARIES += \ codec_LTLIBRARIES += \
libt140_plugin.la \ libt140_plugin.la \
libedummy_plugin.la libedummy_plugin.la
endif endif
...@@ -107,7 +107,7 @@ libmpeg_audio_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) ...@@ -107,7 +107,7 @@ libmpeg_audio_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libuleaddvaudio_plugin_la_SOURCES = uleaddvaudio.c libuleaddvaudio_plugin_la_SOURCES = uleaddvaudio.c
libuleaddvaudio_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) libuleaddvaudio_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libvlc_LTLIBRARIES += \ codec_LTLIBRARIES += \
liba52_plugin.la \ liba52_plugin.la \
libadpcm_plugin.la \ libadpcm_plugin.la \
libaes3_plugin.la \ libaes3_plugin.la \
...@@ -153,7 +153,7 @@ endif ...@@ -153,7 +153,7 @@ endif
libavcodec_plugin_la_CFLAGS += -DMERGE_FFMPEG libavcodec_plugin_la_CFLAGS += -DMERGE_FFMPEG
endif endif
if HAVE_AVCODEC if HAVE_AVCODEC
libvlc_LTLIBRARIES += libavcodec_plugin.la codec_LTLIBRARIES += libavcodec_plugin.la
endif endif
### avcodec hardware acceleration ### ### avcodec hardware acceleration ###
...@@ -166,7 +166,7 @@ libvaapi_plugin_la_CFLAGS = $(AM_CFLAGS) \ ...@@ -166,7 +166,7 @@ libvaapi_plugin_la_CFLAGS = $(AM_CFLAGS) \
libvaapi_plugin_la_LIBADD = $(AM_LIBADD) \ libvaapi_plugin_la_LIBADD = $(AM_LIBADD) \
$(LIBVA_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11 $(LIBVA_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11
if HAVE_AVCODEC_VAAPI if HAVE_AVCODEC_VAAPI
libvlc_LTLIBRARIES += libvaapi_plugin.la codec_LTLIBRARIES += libvaapi_plugin.la
endif endif
libdxva2_plugin_la_SOURCES = \ libdxva2_plugin_la_SOURCES = \
...@@ -174,7 +174,7 @@ libdxva2_plugin_la_SOURCES = \ ...@@ -174,7 +174,7 @@ libdxva2_plugin_la_SOURCES = \
avcodec/dxva2.c avcodec/dxva2.c
libdxva2_plugin_la_LIBADD = $(AM_LIBADD) -lole32 -lshlwapi -luuid libdxva2_plugin_la_LIBADD = $(AM_LIBADD) -lole32 -lshlwapi -luuid
if HAVE_AVCODEC_DXVA2 if HAVE_AVCODEC_DXVA2
libvlc_LTLIBRARIES += libdxva2_plugin.la codec_LTLIBRARIES += libdxva2_plugin.la
endif endif
libdxva2_plugin_la_DEPENDENCIES = libdxva2_plugin.rc.o libdxva2_plugin_la_DEPENDENCIES = libdxva2_plugin.rc.o
...@@ -184,7 +184,7 @@ libvda_plugin_la_SOURCES = \ ...@@ -184,7 +184,7 @@ libvda_plugin_la_SOURCES = \
libvda_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVCODEC_CFLAGS) libvda_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVCODEC_CFLAGS)
libvda_plugin_la_LDFLAGS = -Wl,-framework,CoreFoundation,-framework,VideoDecodeAcceleration,-framework,QuartzCore libvda_plugin_la_LDFLAGS = -Wl,-framework,CoreFoundation,-framework,VideoDecodeAcceleration,-framework,QuartzCore
if HAVE_AVCODEC_VDA if HAVE_AVCODEC_VDA
libvlc_LTLIBRARIES += libvda_plugin.la codec_LTLIBRARIES += libvda_plugin.la
endif endif
libhwdummy_plugin_la_SOURCES = avcodec/hwdummy.c libhwdummy_plugin_la_SOURCES = avcodec/hwdummy.c
...@@ -192,7 +192,7 @@ libhwdummy_plugin_la_CFLAGS = $(AM_CFLAGS) $(VDPAU_CFLAGS) $(AVCODEC_CFLAGS) ...@@ -192,7 +192,7 @@ libhwdummy_plugin_la_CFLAGS = $(AM_CFLAGS) $(VDPAU_CFLAGS) $(AVCODEC_CFLAGS)
libhwdummy_plugin_la_LIBADD = $(AM_LIBADD) $(AVCODEC_LIBS) libhwdummy_plugin_la_LIBADD = $(AM_LIBADD) $(AVCODEC_LIBS)
# FIXME: hwdummy only needs libavutil, and only if avcodec < 55.13.0 # FIXME: hwdummy only needs libavutil, and only if avcodec < 55.13.0
if HAVE_AVCODEC_VDPAU if HAVE_AVCODEC_VDPAU
libvlc_LTLIBRARIES += libhwdummy_plugin.la codec_LTLIBRARIES += libhwdummy_plugin.la
endif endif
if HAVE_WIN32 if HAVE_WIN32
libhwdummy_plugin_la_DEPENDENCIES = libhwdummy_plugin.rc.o libhwdummy_plugin_la_DEPENDENCIES = libhwdummy_plugin.rc.o
...@@ -202,10 +202,8 @@ endif ...@@ -202,10 +202,8 @@ endif
libxwd_plugin_la_SOURCES = xwd.c libxwd_plugin_la_SOURCES = xwd.c
libxwd_plugin_la_CFLAGS = $(AM_CFLAGS) $(XPROTO_CFLAGS) libxwd_plugin_la_CFLAGS = $(AM_CFLAGS) $(XPROTO_CFLAGS)
libxwd_plugin_la_LIBADD = $(AM_LIBADD) $(XPROTO_LIBS) libxwd_plugin_la_LIBADD = $(AM_LIBADD) $(XPROTO_LIBS)
if HAVE_WIN32 libxwd_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
libxwd_plugin_la_DEPENDENCIES = libxwd_plugin.rc.o codec_LTLIBRARIES += $(LTLIBxwd)
endif
libvlc_LTLIBRARIES += $(LTLIBxwd)
EXTRA_LTLIBRARIES += libxwd_plugin.la EXTRA_LTLIBRARIES += libxwd_plugin.la
### OpenMAX ### ### OpenMAX ###
...@@ -228,10 +226,12 @@ libomxil_plugin_la_SOURCES = \ ...@@ -228,10 +226,12 @@ libomxil_plugin_la_SOURCES = \
omxil/omxil.c omxil/omxil.h omxil/omxil_core.c omxil/omxil_core.h omxil/omxil.c omxil/omxil.h omxil/omxil_core.c omxil/omxil_core.h
libomxil_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/omxil $(CFLAGS_omxil) libomxil_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/omxil $(CFLAGS_omxil)
libomxil_plugin_la_LIBADD = $(AM_LIBADD) $(LIBDL) libomxil_plugin_la_LIBADD = $(AM_LIBADD) $(LIBDL)
libomxil_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
libomxil_vout_plugin_la_SOURCES = omxil/vout.c omxil/omxil_core.c omxil/utils.c omxil/qcom.c libomxil_vout_plugin_la_SOURCES = omxil/vout.c omxil/omxil_core.c omxil/utils.c omxil/qcom.c
libomxil_vout_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/omxil $(CFLAGS_omxil_vout) libomxil_vout_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/omxil $(CFLAGS_omxil_vout)
libomxil_vout_plugin_la_LIBADD = $(AM_LIBADD) $(LIBDL) libomxil_vout_plugin_la_LIBADD = $(AM_LIBADD) $(LIBDL)
libomxil_vout_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
libiomx_plugin_la_SOURCES = $(libomxil_plugin_la_SOURCES) libiomx_plugin_la_SOURCES = $(libomxil_plugin_la_SOURCES)
libiomx_plugin_la_CPPFLAGS = $(libomxil_plugin_la_CPPFLAGS) -DUSE_IOMX libiomx_plugin_la_CPPFLAGS = $(libomxil_plugin_la_CPPFLAGS) -DUSE_IOMX
...@@ -240,9 +240,8 @@ libiomx_plugin_la_LIBADD = $(libomxil_plugin_la_LIBADD) ...@@ -240,9 +240,8 @@ libiomx_plugin_la_LIBADD = $(libomxil_plugin_la_LIBADD)
libmediacodec_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/omxil libmediacodec_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/omxil
libmediacodec_plugin_la_SOURCES = omxil/android_mediacodec.c omxil/utils.c libmediacodec_plugin_la_SOURCES = omxil/android_mediacodec.c omxil/utils.c
libvlc_LTLIBRARIES += $(LTLIBomxil) $(LTLIBomxil_vout) codec_LTLIBRARIES += $(LTLIBomxil) $(LTLIBomxil_vout)
EXTRA_LTLIBRARIES += libomxil_plugin.la libomxil_vout_plugin.la EXTRA_LTLIBRARIES += libomxil_plugin.la libomxil_vout_plugin.la
if HAVE_ANDROID if HAVE_ANDROID
libvlc_LTLIBRARIES += libiomx_plugin.la libmediacodec_plugin.la codec_LTLIBRARIES += libiomx_plugin.la libmediacodec_plugin.la
endif endif
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
AUTOMAKE_OPTIONS = subdir-objects AUTOMAKE_OPTIONS = subdir-objects
NULL = NULL =
libvlcdir = $(vlclibdir)/plugins/$(basedir) pluginsdir = $(vlclibdir)/plugins
BUILT_SOURCES = BUILT_SOURCES =
CLEANFILES = $(BUILT_SOURCES) CLEANFILES = $(BUILT_SOURCES)
...@@ -29,7 +29,7 @@ AM_CFLAGS = ...@@ -29,7 +29,7 @@ AM_CFLAGS =
AM_CXXFLAGS = AM_CXXFLAGS =
AM_OBJCFLAGS = AM_OBJCFLAGS =
AM_LIBADD = $(LIBPTHREAD) AM_LIBADD = $(LIBPTHREAD)
AM_LDFLAGS = -rpath '$(libvlcdir)' \ AM_LDFLAGS = \
-avoid-version -module \ -avoid-version -module \
-export-symbols-regex ^vlc_entry \ -export-symbols-regex ^vlc_entry \
-shrext $(LIBEXT) \ -shrext $(LIBEXT) \
......
...@@ -17,7 +17,7 @@ SOURCES_motion = \ ...@@ -17,7 +17,7 @@ SOURCES_motion = \
$(motion_extra) \ $(motion_extra) \
$(NULL) $(NULL)
libvlc_LTLIBRARIES += \ control_LTLIBRARIES += \
libdummy_plugin.la \ libdummy_plugin.la \
libgestures_plugin.la \ libgestures_plugin.la \
libnetsync_plugin.la \ libnetsync_plugin.la \
...@@ -25,9 +25,9 @@ libvlc_LTLIBRARIES += \ ...@@ -25,9 +25,9 @@ libvlc_LTLIBRARIES += \
liboldrc_plugin.la liboldrc_plugin.la
if HAVE_WIN32 if HAVE_WIN32
libvlc_LTLIBRARIES += libntservice_plugin.la control_LTLIBRARIES += libntservice_plugin.la
else else
libvlc_LTLIBRARIES += libmotion_plugin.la control_LTLIBRARIES += libmotion_plugin.la
endif endif
libdbus_plugin_la_SOURCES = \ libdbus_plugin_la_SOURCES = \
...@@ -39,19 +39,20 @@ libdbus_plugin_la_SOURCES = \ ...@@ -39,19 +39,20 @@ libdbus_plugin_la_SOURCES = \
libdbus_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) libdbus_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
libdbus_plugin_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) $(LIBM) libdbus_plugin_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) $(LIBM)
if HAVE_DBUS if HAVE_DBUS
libvlc_LTLIBRARIES += libdbus_plugin.la control_LTLIBRARIES += libdbus_plugin.la
endif endif
libxcb_hotkeys_plugin_la_SOURCES = globalhotkeys/xcb.c libxcb_hotkeys_plugin_la_SOURCES = globalhotkeys/xcb.c
libxcb_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) \ libxcb_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) \
$(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS) $(XCB_KEYSYMS_CFLAGS) $(XCB_CFLAGS)
libxcb_hotkeys_plugin_la_LIBADD = $(AM_LIBADD) $(XCB_KEYSYMS_LIBS) $(XCB_LIBS) libxcb_hotkeys_plugin_la_LIBADD = $(AM_LIBADD) $(XCB_KEYSYMS_LIBS) $(XCB_LIBS)
libxcb_hotkeys_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(controldir)'
EXTRA_LTLIBRARIES += libxcb_hotkeys_plugin.la EXTRA_LTLIBRARIES += libxcb_hotkeys_plugin.la
libvlc_LTLIBRARIES += $(LTLIBxcb_hotkeys) control_LTLIBRARIES += $(LTLIBxcb_hotkeys)
libwin_hotkeys_plugin_la_SOURCES = globalhotkeys/win32.c libwin_hotkeys_plugin_la_SOURCES = globalhotkeys/win32.c
libwin_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS) libwin_hotkeys_plugin_la_CFLAGS = $(AM_CFLAGS)
libwin_hotkeys_plugin_la_LIBADD = $(AM_LIBADD) libwin_hotkeys_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32 if HAVE_WIN32
libvlc_LTLIBRARIES += libwin_hotkeys_plugin.la control_LTLIBRARIES += libwin_hotkeys_plugin.la
endif endif
...@@ -70,7 +70,7 @@ if HAVE_WIN32 ...@@ -70,7 +70,7 @@ if HAVE_WIN32
libavformat_plugin_la_DEPENDENCIES = libavformat_plugin.rc.o libavformat_plugin_la_DEPENDENCIES = libavformat_plugin.rc.o
endif endif
if HAVE_AVFORMAT if HAVE_AVFORMAT
libvlc_LTLIBRARIES += libavformat_plugin.la demux_LTLIBRARIES += libavformat_plugin.la
endif endif
libes_plugin_la_SOURCES = mpeg/es.c libes_plugin_la_SOURCES = mpeg/es.c
...@@ -100,15 +100,12 @@ libmkv_plugin_la_SOURCES = \ ...@@ -100,15 +100,12 @@ libmkv_plugin_la_SOURCES = \
mp4/libmp4.c vobsub.h \ mp4/libmp4.c vobsub.h \
mkv/mkv.hpp mkv/mkv.cpp mkv/mkv.hpp mkv/mkv.cpp
libmkv_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) libmkv_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libmkv_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
libmkv_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_mkv) libmkv_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_mkv)
libmkv_plugin_la_LDFLAGS = $(AM_LDFLAGS)
if HAVE_ZLIB if HAVE_ZLIB
libmkv_plugin_la_LIBADD += -lz libmkv_plugin_la_LIBADD += -lz
endif endif
if HAVE_WIN32 demux_LTLIBRARIES += $(LTLIBmkv)
libmkv_plugin_la_DEPENDENCIES = libmkv_plugin.rc.o
endif
libvlc_LTLIBRARIES += $(LTLIBmkv)
EXTRA_LTLIBRARIES += libmkv_plugin.la EXTRA_LTLIBRARIES += libmkv_plugin.la
libmp4_plugin_la_SOURCES = mp4/mp4.c mp4/libmp4.c mp4/libmp4.h mp4/id3genres.h libmp4_plugin_la_SOURCES = mp4/mp4.c mp4/libmp4.c mp4/libmp4.h mp4/id3genres.h
...@@ -161,10 +158,10 @@ if HAVE_WIN32 ...@@ -161,10 +158,10 @@ if HAVE_WIN32
libts_plugin_la_DEPENDENCIES = libts_plugin.rc.o libts_plugin_la_DEPENDENCIES = libts_plugin.rc.o
endif endif
if HAVE_DVBPSI if HAVE_DVBPSI
libvlc_LTLIBRARIES += libts_plugin.la demux_LTLIBRARIES += libts_plugin.la
endif endif
libvlc_LTLIBRARIES += \ demux_LTLIBRARIES += \
libaiff_plugin.la \ libaiff_plugin.la \
libasf_plugin.la \ libasf_plugin.la \
libau_plugin.la \ libau_plugin.la \
......
...@@ -21,26 +21,13 @@ do ...@@ -21,26 +21,13 @@ do
basedir="`echo "${dir}" | cut -f1 -d/`" basedir="`echo "${dir}" | cut -f1 -d/`"
mods="`sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < "${modf}" | sort | uniq | xargs`" mods="`sed -n -e 's/^ *SOURCES_\([^ ]*\).*/\1/p' < "${modf}" | sort | uniq | xargs`"
plugins="`sed -n -e 's/^.*lib\([^ ]*\)_plugin\.la.*/\1/p' < "${modf}" | sort | uniq | xargs`" plugins="`sed -n -e 's/^.*lib\([^ ]*\)_plugin\.la.*/\1/p' < "${modf}" | sort | uniq | xargs`"
libvlc_ltlibs=""
extra_ltlibs=""
for mod in $mods
do
case " ${plugins} " in
*\ ${mod}\ *)
;;
*)
libvlc_ltlibs="${libvlc_ltlibs} \$(LTLIB${mod})"
extra_ltlibs="${extra_ltlibs} lib${mod}_plugin.la"
;;
esac
done
rm -f "${makf}" && cat > "${makf}" << EOF rm -f "${makf}" && cat > "${makf}" << EOF
# ${makf} automatically generated from ${modf} by $0 # ${makf} automatically generated from ${modf} by $0
# DO NOT EDIT THIS FILE DIRECTLY! See Modules.am instead. # DO NOT EDIT THIS FILE DIRECTLY! See Modules.am instead.
basedir = ${basedir} ${basedir}dir = \$(pluginsdir)/${basedir}
libvlc_LTLIBRARIES = ${libvlc_ltlibs} ${basedir}_LTLIBRARIES =
EXTRA_LTLIBRARIES = ${extra_ltlibs} EXTRA_LTLIBRARIES =
EXTRA_DIST = Modules.am EXTRA_DIST = Modules.am
...@@ -62,8 +49,18 @@ lib${mod}_plugin_la_CFLAGS = \$(AM_CFLAGS) \$(CFLAGS_${mod}) ...@@ -62,8 +49,18 @@ lib${mod}_plugin_la_CFLAGS = \$(AM_CFLAGS) \$(CFLAGS_${mod})
lib${mod}_plugin_la_CXXFLAGS = \$(AM_CXXFLAGS) \$(CXXFLAGS_${mod}) lib${mod}_plugin_la_CXXFLAGS = \$(AM_CXXFLAGS) \$(CXXFLAGS_${mod})
lib${mod}_plugin_la_OBJCFLAGS = \$(AM_OBJCFLAGS) \$(OBJCFLAGS_${mod}) lib${mod}_plugin_la_OBJCFLAGS = \$(AM_OBJCFLAGS) \$(OBJCFLAGS_${mod})
lib${mod}_plugin_la_LIBADD = \$(AM_LIBADD) \$(LIBS_${mod}) lib${mod}_plugin_la_LIBADD = \$(AM_LIBADD) \$(LIBS_${mod})
lib${mod}_plugin_la_LDFLAGS = \$(AM_LDFLAGS) \$(LDFLAGS_${mod}) lib${mod}_plugin_la_LDFLAGS = \$(AM_LDFLAGS) -rpath '\$(${basedir}dir)' \$(LDFLAGS_${mod})
EOF
case " ${plugins} " in
*\ ${mod}\ *)
;;
*)
cat >> "${makf}" << EOF
EXTRA_LTLIBRARIES += lib${mod}_plugin.la
${basedir}_LTLIBRARIES += \$(LTLIB${mod})
EOF EOF
;;
esac
done done
shift shift
......
basedir = gui
include $(top_srcdir)/modules/common.am include $(top_srcdir)/modules/common.am
guidir = $(pluginsdir)/gui
## Howto ## Howto
# For each Q_OBJECT: # For each Q_OBJECT:
...@@ -17,7 +16,7 @@ SUFFIXES = .ui .h .hpp .moc.cpp ...@@ -17,7 +16,7 @@ SUFFIXES = .ui .h .hpp .moc.cpp
libqt4_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(QT_CFLAGS) libqt4_plugin_la_CXXFLAGS = $(AM_CXXFLAGS) $(QT_CFLAGS)
libqt4_plugin_la_LIBADD = $(AM_LIBADD) $(QT_LIBS) libqt4_plugin_la_LIBADD = $(AM_LIBADD) $(QT_LIBS)
libqt4_plugin_la_LDFLAGS = $(AM_LDFLAGS) libqt4_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(guidir)'
if HAVE_OS2 if HAVE_OS2
else else
if HAVE_WIN32 if HAVE_WIN32
...@@ -31,7 +30,7 @@ if HAVE_DARWIN ...@@ -31,7 +30,7 @@ if HAVE_DARWIN
libqt4_plugin_la_LDFLAGS += -Wl,-framework,Cocoa libqt4_plugin_la_LDFLAGS += -Wl,-framework,Cocoa
endif endif
libvlc_LTLIBRARIES = $(LTLIBqt4) gui_LTLIBRARIES = $(LTLIBqt4)
EXTRA_LTLIBRARIES = libqt4_plugin.la EXTRA_LTLIBRARIES = libqt4_plugin.la
libqt4_plugin_la_SOURCES = \ libqt4_plugin_la_SOURCES = \
......
basedir = vdpau
include $(top_srcdir)/modules/common.am include $(top_srcdir)/modules/common.am
vdpaudir = $(pluginsdir)/vdpau
AM_CFLAGS += $(VDPAU_CFLAGS) AM_CFLAGS += $(VDPAU_CFLAGS)
AM_LIBADD += libvlc_vdpau.la AM_LIBADD += libvlc_vdpau.la
...@@ -14,7 +14,7 @@ libvlc_vdpau_la_LDFLAGS = \ ...@@ -14,7 +14,7 @@ libvlc_vdpau_la_LDFLAGS = \
-version-info 0:0:0 -version-info 0:0:0
pkglib_LTLIBRARIES = libvlc_vdpau.la pkglib_LTLIBRARIES = libvlc_vdpau.la
libvlc_LTLIBRARIES = vdpau_LTLIBRARIES =
libvdpau_avcodec_plugin_la_SOURCES = avcodec.c picture.c libvdpau_avcodec_plugin_la_SOURCES = avcodec.c picture.c
libvdpau_avcodec_plugin_la_CFLAGS = $(AM_CFLAGS) \ libvdpau_avcodec_plugin_la_CFLAGS = $(AM_CFLAGS) \
...@@ -23,28 +23,28 @@ libvdpau_avcodec_plugin_la_LIBADD = $(AM_LIBADD) \ ...@@ -23,28 +23,28 @@ libvdpau_avcodec_plugin_la_LIBADD = $(AM_LIBADD) \
$(X_LIBS) $(X_PRE_LIBS) -lX11 $(AVCODEC_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11 $(AVCODEC_LIBS)
# FIXME: hwdummy only needs libavutil, and only if avcodec < 55.13.0 # FIXME: hwdummy only needs libavutil, and only if avcodec < 55.13.0
if HAVE_AVCODEC_VDPAU if HAVE_AVCODEC_VDPAU
libvlc_LTLIBRARIES += libvdpau_avcodec_plugin.la vdpau_LTLIBRARIES += libvdpau_avcodec_plugin.la
endif endif
libvdpau_deinterlace_plugin_la_SOURCES = deinterlace.c picture.c libvdpau_deinterlace_plugin_la_SOURCES = deinterlace.c picture.c
libvdpau_deinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy libvdpau_deinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
libvdpau_deinterlace_plugin_la_LIBADD = $(AM_LIBADD) libvdpau_deinterlace_plugin_la_LIBADD = $(AM_LIBADD)
libvlc_LTLIBRARIES += libvdpau_deinterlace_plugin.la vdpau_LTLIBRARIES += libvdpau_deinterlace_plugin.la
libvdpau_adjust_plugin_la_SOURCES = adjust.c picture.c libvdpau_adjust_plugin_la_SOURCES = adjust.c picture.c
libvdpau_adjust_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy libvdpau_adjust_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
libvdpau_adjust_plugin_la_LIBADD = $(AM_LIBADD) libvdpau_adjust_plugin_la_LIBADD = $(AM_LIBADD)
libvlc_LTLIBRARIES += libvdpau_adjust_plugin.la vdpau_LTLIBRARIES += libvdpau_adjust_plugin.la
libvdpau_sharpen_plugin_la_SOURCES = sharpen.c picture.c libvdpau_sharpen_plugin_la_SOURCES = sharpen.c picture.c
libvdpau_sharpen_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy libvdpau_sharpen_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
libvdpau_sharpen_plugin_la_LIBADD = $(AM_LIBADD) libvdpau_sharpen_plugin_la_LIBADD = $(AM_LIBADD)
libvlc_LTLIBRARIES += libvdpau_sharpen_plugin.la vdpau_LTLIBRARIES += libvdpau_sharpen_plugin.la
libvdpau_chroma_plugin_la_SOURCES = chroma.c picture.c libvdpau_chroma_plugin_la_SOURCES = chroma.c picture.c
libvdpau_chroma_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy libvdpau_chroma_plugin_la_CFLAGS = $(AM_CFLAGS) # dummy
libvdpau_chroma_plugin_la_LIBADD = $(AM_LIBADD) libvdpau_chroma_plugin_la_LIBADD = $(AM_LIBADD)
libvlc_LTLIBRARIES += libvdpau_chroma_plugin.la vdpau_LTLIBRARIES += libvdpau_chroma_plugin.la
libvdpau_display_plugin_la_SOURCES = display.c libvdpau_display_plugin_la_SOURCES = display.c
libvdpau_display_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \ libvdpau_display_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
...@@ -54,4 +54,4 @@ libvdpau_display_plugin_la_CFLAGS = $(AM_CFLAGS) \ ...@@ -54,4 +54,4 @@ libvdpau_display_plugin_la_CFLAGS = $(AM_CFLAGS) \
libvdpau_display_plugin_la_LIBADD = \ libvdpau_display_plugin_la_LIBADD = \
../../video_output/libvlc_xcb_events.la \ ../../video_output/libvlc_xcb_events.la \
$(AM_LIBADD) $(X_LIBS) $(X_PRE_LIBS) -lX11 $(XCB_LIBS) $(AM_LIBADD) $(X_LIBS) $(X_PRE_LIBS) -lX11 $(XCB_LIBS)
libvlc_LTLIBRARIES += libvdpau_display_plugin.la vdpau_LTLIBRARIES += libvdpau_display_plugin.la
...@@ -40,4 +40,4 @@ if HAVE_WIN32 ...@@ -40,4 +40,4 @@ if HAVE_WIN32
SOURCES_lua += libs/win.c SOURCES_lua += libs/win.c
endif endif
libvlc_LTLIBRARIES += liblua_plugin.la lua_LTLIBRARIES += liblua_plugin.la
SOURCES_folder = folder.c SOURCES_folder = folder.c
SOURCES_taglib = taglib.cpp ../demux/xiph_metadata.h ../demux/xiph_metadata.c SOURCES_taglib = taglib.cpp ../demux/xiph_metadata.h ../demux/xiph_metadata.c
libvlc_LTLIBRARIES += \ meta_engine_LTLIBRARIES += \
libfolder_plugin.la libfolder_plugin.la
...@@ -18,23 +18,23 @@ libexport_plugin_la_LIBADD = $(AM_LIBADD) ...@@ -18,23 +18,23 @@ libexport_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32 if HAVE_WIN32
libexport_plugin_la_DEPENDENCIES = libexport_plugin.rc.o libexport_plugin_la_DEPENDENCIES = libexport_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += libexport_plugin.la misc_LTLIBRARIES += libexport_plugin.la
libgnutls_plugin_la_SOURCES = gnutls.c dhparams.h libgnutls_plugin_la_SOURCES = gnutls.c dhparams.h
libgnutls_plugin_la_CFLAGS = $(AM_CFLAGS) $(GNUTLS_CFLAGS) libgnutls_plugin_la_CFLAGS = $(AM_CFLAGS) $(GNUTLS_CFLAGS)
libgnutls_plugin_la_LIBADD = $(AM_LIBADD) $(GNUTLS_LIBS) libgnutls_plugin_la_LIBADD = $(AM_LIBADD) $(GNUTLS_LIBS)
if HAVE_WIN32 if HAVE_WIN32
libgnutls_plugin_la_LIBADD += $(SOCKET_LIBS) libgnutls_plugin_la_LIBADD += $(SOCKET_LIBS)
libgnutls_plugin_la_DEPENDENCIES = libgnutls_plugin.rc.o
endif endif
libgnutls_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(miscdir)'
EXTRA_LTLIBRARIES += libgnutls_plugin.la EXTRA_LTLIBRARIES += libgnutls_plugin.la
libvlc_LTLIBRARIES += $(LTLIBgnutls) misc_LTLIBRARIES += $(LTLIBgnutls)
libxdg_screensaver_plugin_la_SOURCES = inhibit/xdg.c libxdg_screensaver_plugin_la_SOURCES = inhibit/xdg.c
libxdg_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS) libxdg_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS)
libxdg_screensaver_plugin_la_LIBADD = $(AM_LIBADD) libxdg_screensaver_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_XCB if HAVE_XCB
libvlc_LTLIBRARIES += \ misc_LTLIBRARIES += \
libxdg_screensaver_plugin.la libxdg_screensaver_plugin.la
endif endif
...@@ -42,7 +42,7 @@ libdbus_screensaver_plugin_la_SOURCES = inhibit/dbus.c ...@@ -42,7 +42,7 @@ libdbus_screensaver_plugin_la_SOURCES = inhibit/dbus.c
libdbus_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS) libdbus_screensaver_plugin_la_CFLAGS = $(AM_CFLAGS) $(DBUS_CFLAGS)
libdbus_screensaver_plugin_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS) libdbus_screensaver_plugin_la_LIBADD = $(AM_LIBADD) $(DBUS_LIBS)
if HAVE_DBUS if HAVE_DBUS
libvlc_LTLIBRARIES += libdbus_screensaver_plugin.la misc_LTLIBRARIES += libdbus_screensaver_plugin.la
endif endif
liblogger_plugin_la_SOURCES = logger.c liblogger_plugin_la_SOURCES = logger.c
...@@ -62,13 +62,13 @@ if HAVE_WIN32 ...@@ -62,13 +62,13 @@ if HAVE_WIN32
libstats_plugin_la_DEPENDENCIES = libstats_plugin.rc.o libstats_plugin_la_DEPENDENCIES = libstats_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += \ misc_LTLIBRARIES += \
libaudioscrobbler_plugin.la \ libaudioscrobbler_plugin.la \
liblogger_plugin.la \ liblogger_plugin.la \
libstats_plugin.la libstats_plugin.la
if ENABLE_SOUT if ENABLE_SOUT
libvlc_LTLIBRARIES += \ misc_LTLIBRARIES += \
libvod_rtsp_plugin.la \ libvod_rtsp_plugin.la \
$(NULL) $(NULL)
endif endif
...@@ -6,7 +6,7 @@ SOURCES_mux_asf = asf.c ../demux/asf/libasf_guid.h ...@@ -6,7 +6,7 @@ SOURCES_mux_asf = asf.c ../demux/asf/libasf_guid.h
SOURCES_mux_wav = wav.c SOURCES_mux_wav = wav.c
SOURCES_mux_mpjpeg = mpjpeg.c SOURCES_mux_mpjpeg = mpjpeg.c
libvlc_LTLIBRARIES += \ mux_LTLIBRARIES += \
libmux_dummy_plugin.la \ libmux_dummy_plugin.la \
libmux_avi_plugin.la \ libmux_avi_plugin.la \
libmux_mp4_plugin.la \ libmux_mp4_plugin.la \
...@@ -23,7 +23,7 @@ libmux_ps_plugin_la_LIBADD = $(AM_LIBADD) ...@@ -23,7 +23,7 @@ libmux_ps_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32 if HAVE_WIN32
libmux_ps_plugin_la_DEPENDENCIES = libmux_ps_plugin.rc.o libmux_ps_plugin_la_DEPENDENCIES = libmux_ps_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += libmux_ps_plugin.la mux_LTLIBRARIES += libmux_ps_plugin.la
libmux_ts_plugin_la_SOURCES = \ libmux_ts_plugin_la_SOURCES = \
mpeg/pes.c mpeg/pes.h \ mpeg/pes.c mpeg/pes.h \
...@@ -35,5 +35,5 @@ if HAVE_WIN32 ...@@ -35,5 +35,5 @@ if HAVE_WIN32
libmux_ts_plugin_la_DEPENDENCIES = libmux_ts_plugin.rc.o libmux_ts_plugin_la_DEPENDENCIES = libmux_ts_plugin.rc.o
endif endif
if HAVE_DVBPSI if HAVE_DVBPSI
libvlc_LTLIBRARIES += libmux_ts_plugin.la mux_LTLIBRARIES += libmux_ts_plugin.la
endif endif
basedir = notify
include $(top_srcdir)/modules/common.am include $(top_srcdir)/modules/common.am
notifydir = $(pluginsdir)/notify
AM_LDFLAGS += -rpath '$(notifydir)'
libgrowl_plugin_la_SOURCES = growl.m libgrowl_plugin_la_SOURCES = growl.m
libgrowl_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) $(OBJCFLAGS_growl) libgrowl_plugin_la_OBJCFLAGS = $(AM_OBJCFLAGS) $(OBJCFLAGS_growl)
...@@ -11,5 +12,5 @@ libnotify_plugin_la_SOURCES = notify.c ...@@ -11,5 +12,5 @@ libnotify_plugin_la_SOURCES = notify.c
libnotify_plugin_la_CFLAGS = $(AM_CFLAGS) $(NOTIFY_CFLAGS) libnotify_plugin_la_CFLAGS = $(AM_CFLAGS) $(NOTIFY_CFLAGS)
libnotify_plugin_la_LIBADD = $(AM_LIBADD) $(NOTIFY_LIBS) libnotify_plugin_la_LIBADD = $(AM_LIBADD) $(NOTIFY_LIBS)
libvlc_LTLIBRARIES = $(LTLIBgrowl) $(LTLIBnotify) notify_LTLIBRARIES = $(LTLIBgrowl) $(LTLIBnotify)
EXTRA_LTLIBRARIES = libgrowl_plugin.la libnotify_plugin.la EXTRA_LTLIBRARIES = libgrowl_plugin.la libnotify_plugin.la
...@@ -10,7 +10,7 @@ SOURCES_packetizer_flac = flac.c ...@@ -10,7 +10,7 @@ SOURCES_packetizer_flac = flac.c
noinst_HEADERS = packetizer_helper.h noinst_HEADERS = packetizer_helper.h
libvlc_LTLIBRARIES += \ packetizer_LTLIBRARIES += \
libpacketizer_mpegvideo_plugin.la \ libpacketizer_mpegvideo_plugin.la \
libpacketizer_mpeg4video_plugin.la \ libpacketizer_mpeg4video_plugin.la \
libpacketizer_mpeg4audio_plugin.la \ libpacketizer_mpeg4audio_plugin.la \
...@@ -21,5 +21,5 @@ libvlc_LTLIBRARIES += \ ...@@ -21,5 +21,5 @@ libvlc_LTLIBRARIES += \
libpacketizer_flac_plugin.la \ libpacketizer_flac_plugin.la \
$(NULL) $(NULL)
if ENABLE_SOUT if ENABLE_SOUT
libvlc_LTLIBRARIES += libpacketizer_copy_plugin.la packetizer_LTLIBRARIES += libpacketizer_copy_plugin.la
endif endif
sddir = $(pluginsdir)/services_discovery
sd_LTLIBRARIES =
SOURCES_upnp = upnp.cpp upnp.hpp SOURCES_upnp = upnp.cpp upnp.hpp
SOURCES_bonjour = bonjour.c SOURCES_bonjour = bonjour.c
SOURCES_podcast = podcast.c SOURCES_podcast = podcast.c
...@@ -10,13 +13,14 @@ libsap_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_sap) $(SOCKET_LIBS) ...@@ -10,13 +13,14 @@ libsap_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_sap) $(SOCKET_LIBS)
if HAVE_WIN32 if HAVE_WIN32
libsap_plugin_la_DEPENDENCIES = libsap_plugin.rc.o libsap_plugin_la_DEPENDENCIES = libsap_plugin.rc.o
endif endif
sd_LTLIBRARIES += libsap_plugin.la
libpulselist_plugin_la_SOURCES = pulse.c libpulselist_plugin_la_SOURCES = pulse.c
libpulselist_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS) libpulselist_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
libpulselist_plugin_la_LIBADD = ../libvlc_pulse.la \ libpulselist_plugin_la_LIBADD = ../libvlc_pulse.la \
$(AM_LIBADD) $(PULSE_LIBS) $(AM_LIBADD) $(PULSE_LIBS)
if HAVE_PULSE if HAVE_PULSE
libvlc_LTLIBRARIES += libpulselist_plugin.la sd_LTLIBRARIES += libpulselist_plugin.la
endif endif
libudev_plugin_la_SOURCES = udev.c libudev_plugin_la_SOURCES = udev.c
...@@ -26,6 +30,9 @@ if HAVE_ALSA ...@@ -26,6 +30,9 @@ if HAVE_ALSA
libudev_plugin_la_CFLAGS += $(ALSA_CFLAGS) -DHAVE_ALSA libudev_plugin_la_CFLAGS += $(ALSA_CFLAGS) -DHAVE_ALSA
libudev_plugin_la_LIBADD += $(ALSA_LIBS) libudev_plugin_la_LIBADD += $(ALSA_LIBS)
endif endif
libudev_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(sddir)'
EXTRA_LTLIBRARIES += libudev_plugin.la
sd_LTLIBRARIES += $(LTLIBudev)
libxcb_apps_plugin_la_SOURCES = xcb_apps.c libxcb_apps_plugin_la_SOURCES = xcb_apps.c
libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) \ libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) \
...@@ -33,14 +40,14 @@ libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) \ ...@@ -33,14 +40,14 @@ libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) \
libxcb_apps_plugin_la_LIBADD = $(AM_LIBADD) \ libxcb_apps_plugin_la_LIBADD = $(AM_LIBADD) \
$(XCB_LIBS) $(XCB_LIBS)
if HAVE_XCB if HAVE_XCB
libvlc_LTLIBRARIES += libxcb_apps_plugin.la sd_LTLIBRARIES += libxcb_apps_plugin.la
endif endif
libwindrive_plugin_la_SOURCES = windrive.c libwindrive_plugin_la_SOURCES = windrive.c
libwindrive_plugin_la_CFLAGS = $(AM_CFLAGS) libwindrive_plugin_la_CFLAGS = $(AM_CFLAGS)
libwindrive_plugin_la_LIBADD = $(AM_LIBADD) libwindrive_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32 if HAVE_WIN32
libvlc_LTLIBRARIES += libwindrive_plugin.la sd_LTLIBRARIES += libwindrive_plugin.la
libwindrive_plugin_la_DEPENDENCIES = libwindrive_plugin.rc.o libwindrive_plugin_la_DEPENDENCIES = libwindrive_plugin.rc.o
endif endif
...@@ -48,13 +55,9 @@ libos2drive_plugin_la_SOURCES = os2drive.c ...@@ -48,13 +55,9 @@ libos2drive_plugin_la_SOURCES = os2drive.c
libos2drive_plugin_la_CFLAGS = $(AM_CFLAGS) libos2drive_plugin_la_CFLAGS = $(AM_CFLAGS)
libos2drive_plugin_la_LIBADD = $(AM_LIBADD) libos2drive_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_OS2 if HAVE_OS2
libvlc_LTLIBRARIES += libos2drive_plugin.la sd_LTLIBRARIES += libos2drive_plugin.la
endif endif
EXTRA_LTLIBRARIES += \ services_discovery_LTLIBRARIES += \
libudev_plugin.la
libvlc_LTLIBRARIES += \
libmediadirs_plugin.la \ libmediadirs_plugin.la \
libpodcast_plugin.la \ libpodcast_plugin.la
libsap_plugin.la \
$(LTLIBudev)
basedir = stream_filter
include $(top_srcdir)/modules/common.am include $(top_srcdir)/modules/common.am
libvlc_LTLIBRARIES = stream_filterdir = $(pluginsdir)/stream_filter
stream_filter_LTLIBRARIES =
libdecomp_plugin_la_SOURCES = decomp.c libdecomp_plugin_la_SOURCES = decomp.c
libdecomp_plugin_la_CFLAGS = $(AM_CFLAGS) libdecomp_plugin_la_CFLAGS = $(AM_CFLAGS)
libdecomp_plugin_la_LIBADD = $(AM_LIBADD) libdecomp_plugin_la_LIBADD = $(AM_LIBADD)
if !HAVE_WIN32 if !HAVE_WIN32
libvlc_LTLIBRARIES += libdecomp_plugin.la stream_filter_LTLIBRARIES += libdecomp_plugin.la
endif endif
libdash_plugin_la_SOURCES = \ libdash_plugin_la_SOURCES = \
...@@ -94,7 +95,7 @@ libdash_plugin_la_SOURCES = \ ...@@ -94,7 +95,7 @@ libdash_plugin_la_SOURCES = \
dash/Helper.h dash/Helper.h
libdash_plugin_la_CXXFLAGS = $(AM_CFLAGS) -I$(srcdir)/dash libdash_plugin_la_CXXFLAGS = $(AM_CFLAGS) -I$(srcdir)/dash
libdash_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS) libdash_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS)
libvlc_LTLIBRARIES += libdash_plugin.la stream_filter_LTLIBRARIES += libdash_plugin.la
if HAVE_WIN32 if HAVE_WIN32
libdash_plugin_la_DEPENDENCIES = libdash_plugin.rc.o libdash_plugin_la_DEPENDENCIES = libdash_plugin.rc.o
endif endif
...@@ -109,7 +110,7 @@ libsmooth_plugin_la_CFLAGS = $(AM_CFLAGS) ...@@ -109,7 +110,7 @@ libsmooth_plugin_la_CFLAGS = $(AM_CFLAGS)
if HAVE_WIN32 if HAVE_WIN32
libsmooth_plugin_la_DEPENDENCIES = libsmooth_plugin.rc.o libsmooth_plugin_la_DEPENDENCIES = libsmooth_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += libsmooth_plugin.la stream_filter_LTLIBRARIES += libsmooth_plugin.la
libhttplive_plugin_la_SOURCES = httplive.c libhttplive_plugin_la_SOURCES = httplive.c
libhttplive_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS) libhttplive_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS)
...@@ -118,7 +119,7 @@ if HAVE_WIN32 ...@@ -118,7 +119,7 @@ if HAVE_WIN32
libhttplive_plugin_la_DEPENDENCIES = libhttplive_plugin.rc.o libhttplive_plugin_la_DEPENDENCIES = libhttplive_plugin.rc.o
endif endif
if HAVE_GCRYPT if HAVE_GCRYPT
libvlc_LTLIBRARIES += libhttplive_plugin.la stream_filter_LTLIBRARIES += libhttplive_plugin.la
endif endif
librecord_plugin_la_SOURCES = record.c librecord_plugin_la_SOURCES = record.c
...@@ -127,4 +128,4 @@ librecord_plugin_la_LIBADD = $(AM_LIBADD) ...@@ -127,4 +128,4 @@ librecord_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32 if HAVE_WIN32
librecord_plugin_la_DEPENDENCIES = librecord_plugin.rc.o librecord_plugin_la_DEPENDENCIES = librecord_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += librecord_plugin.la stream_filter_LTLIBRARIES += librecord_plugin.la
...@@ -25,7 +25,7 @@ libstream_out_transcode_plugin_la_DEPENDENCIES = libstream_out_transcode_plugin. ...@@ -25,7 +25,7 @@ libstream_out_transcode_plugin_la_DEPENDENCIES = libstream_out_transcode_plugin.
endif endif
libvlc_LTLIBRARIES += \ stream_out_LTLIBRARIES += \
libstream_out_dummy_plugin.la \ libstream_out_dummy_plugin.la \
libstream_out_delay_plugin.la \ libstream_out_delay_plugin.la \
libstream_out_description_plugin.la \ libstream_out_description_plugin.la \
...@@ -44,7 +44,7 @@ libvlc_LTLIBRARIES += \ ...@@ -44,7 +44,7 @@ libvlc_LTLIBRARIES += \
libstream_out_transcode_plugin.la libstream_out_transcode_plugin.la
# RTP plugin # RTP plugin
libvlc_LTLIBRARIES += \ stream_out_LTLIBRARIES += \
libstream_out_rtp_plugin.la libstream_out_rtp_plugin.la
libstream_out_rtp_plugin_la_SOURCES = \ libstream_out_rtp_plugin_la_SOURCES = \
rtp.c rtp.h rtpfmt.c rtcp.c rtsp.c vod.c rtp.c rtp.h rtpfmt.c rtcp.c rtsp.c vod.c
...@@ -69,7 +69,7 @@ if HAVE_WIN32 ...@@ -69,7 +69,7 @@ if HAVE_WIN32
libstream_out_raop_plugin_la_DEPENDENCIES = libstream_out_raop_plugin.rc.o libstream_out_raop_plugin_la_DEPENDENCIES = libstream_out_raop_plugin.rc.o
endif endif
if HAVE_GCRYPT if HAVE_GCRYPT
libvlc_LTLIBRARIES += libstream_out_raop_plugin.la stream_out_LTLIBRARIES += libstream_out_raop_plugin.la
endif endif
BUILT_SOURCES += dummy.cpp BUILT_SOURCES += dummy.cpp
......
...@@ -4,4 +4,4 @@ SOURCES_svg = svg.c ...@@ -4,4 +4,4 @@ SOURCES_svg = svg.c
SOURCES_tdummy = tdummy.c SOURCES_tdummy = tdummy.c
SOURCES_win32text = win32text.c SOURCES_win32text = win32text.c
libvlc_LTLIBRARIES += libtdummy_plugin.la text_renderer_LTLIBRARIES += libtdummy_plugin.la
basedir = video_chroma
include $(top_srcdir)/modules/common.am include $(top_srcdir)/modules/common.am
chromadir = $(pluginsdir)/video_chroma
libchain_plugin_la_SOURCES = chain.c libchain_plugin_la_SOURCES = chain.c
libchain_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) libchain_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
...@@ -11,6 +11,7 @@ libchroma_omx_plugin_la_LIBADD = $(AM_LIBADD) $(OMXIP_LIBS) ...@@ -11,6 +11,7 @@ libchroma_omx_plugin_la_LIBADD = $(AM_LIBADD) $(OMXIP_LIBS)
libswscale_plugin_la_SOURCES = swscale.c ../codec/avcodec/chroma.c libswscale_plugin_la_SOURCES = swscale.c ../codec/avcodec/chroma.c
libswscale_plugin_la_CFLAGS = $(AM_CFLAGS) $(SWSCALE_CFLAGS) libswscale_plugin_la_CFLAGS = $(AM_CFLAGS) $(SWSCALE_CFLAGS)
libswscale_plugin_la_LIBADD = $(AM_LIBADD) $(SWSCALE_LIBS) libswscale_plugin_la_LIBADD = $(AM_LIBADD) $(SWSCALE_LIBS)
libswscale_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)'
libgrey_yuv_plugin_la_SOURCES = grey_yuv.c libgrey_yuv_plugin_la_SOURCES = grey_yuv.c
libgrey_yuv_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) libgrey_yuv_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
...@@ -38,7 +39,7 @@ libyuy2_i420_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) ...@@ -38,7 +39,7 @@ libyuy2_i420_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libyuy2_i422_plugin_la_SOURCES = yuy2_i422.c libyuy2_i422_plugin_la_SOURCES = yuy2_i422.c
libyuy2_i422_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) libyuy2_i422_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
libvlc_LTLIBRARIES = \ chroma_LTLIBRARIES = \
libi420_rgb_plugin.la \ libi420_rgb_plugin.la \
libi420_yuy2_plugin.la \ libi420_yuy2_plugin.la \
libi422_i420_plugin.la \ libi422_i420_plugin.la \
...@@ -57,7 +58,7 @@ libi420_yuy2_altivec_plugin_la_SOURCES = i420_yuy2.c i420_yuy2.h ...@@ -57,7 +58,7 @@ libi420_yuy2_altivec_plugin_la_SOURCES = i420_yuy2.c i420_yuy2.h
libi420_yuy2_altivec_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALTIVEC_CFLAGS) libi420_yuy2_altivec_plugin_la_CFLAGS = $(AM_CFLAGS) $(ALTIVEC_CFLAGS)
if HAVE_ALTIVEC if HAVE_ALTIVEC
libvlc_LTLIBRARIES += \ chroma_LTLIBRARIES += \
libi420_yuy2_altivec_plugin.la libi420_yuy2_altivec_plugin.la
endif endif
...@@ -73,7 +74,7 @@ libi422_yuy2_mmx_plugin_la_SOURCES = i422_yuy2.c i422_yuy2.h ...@@ -73,7 +74,7 @@ libi422_yuy2_mmx_plugin_la_SOURCES = i422_yuy2.c i422_yuy2.h
libi422_yuy2_mmx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) libi422_yuy2_mmx_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
if HAVE_MMX if HAVE_MMX
libvlc_LTLIBRARIES += \ chroma_LTLIBRARIES += \
libi420_rgb_mmx_plugin.la \ libi420_rgb_mmx_plugin.la \
libi420_yuy2_mmx_plugin.la \ libi420_yuy2_mmx_plugin.la \
libi422_yuy2_mmx_plugin.la libi422_yuy2_mmx_plugin.la
...@@ -91,7 +92,7 @@ libi422_yuy2_sse2_plugin_la_SOURCES = i422_yuy2.c i422_yuy2.h ...@@ -91,7 +92,7 @@ libi422_yuy2_sse2_plugin_la_SOURCES = i422_yuy2.c i422_yuy2.h
libi422_yuy2_sse2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) libi422_yuy2_sse2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS)
if HAVE_SSE2 if HAVE_SSE2
libvlc_LTLIBRARIES += \ chroma_LTLIBRARIES += \
libi420_rgb_sse2_plugin.la \ libi420_rgb_sse2_plugin.la \
libi420_yuy2_sse2_plugin.la \ libi420_yuy2_sse2_plugin.la \
libi422_yuy2_sse2_plugin.la libi422_yuy2_sse2_plugin.la
......
...@@ -33,7 +33,7 @@ endif ...@@ -33,7 +33,7 @@ endif
if HAVE_WIN32 if HAVE_WIN32
libdeinterlace_plugin_la_DEPENDENCIES = libdeinterlace_plugin.rc.o libdeinterlace_plugin_la_DEPENDENCIES = libdeinterlace_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += libdeinterlace_plugin.la video_filter_LTLIBRARIES += libdeinterlace_plugin.la
libdynamicoverlay_plugin_la_SOURCES = \ libdynamicoverlay_plugin_la_SOURCES = \
dynamicoverlay/dynamicoverlay_buffer.c \ dynamicoverlay/dynamicoverlay_buffer.c \
...@@ -44,7 +44,7 @@ libdynamicoverlay_plugin_la_SOURCES = \ ...@@ -44,7 +44,7 @@ libdynamicoverlay_plugin_la_SOURCES = \
libdynamicoverlay_plugin_la_CFLAGS = $(AM_CFLAGS) libdynamicoverlay_plugin_la_CFLAGS = $(AM_CFLAGS)
libdynamicoverlay_plugin_la_LIBADD = $(AM_LIBADD) libdynamicoverlay_plugin_la_LIBADD = $(AM_LIBADD)
if !HAVE_WIN32 if !HAVE_WIN32
libvlc_LTLIBRARIES += libdynamicoverlay_plugin.la video_filter_LTLIBRARIES += libdynamicoverlay_plugin.la
endif endif
libremoteosd_plugin_la_SOURCES = remoteosd.c remoteosd_rfbproto.h libremoteosd_plugin_la_SOURCES = remoteosd.c remoteosd_rfbproto.h
...@@ -54,7 +54,7 @@ if HAVE_WIN32 ...@@ -54,7 +54,7 @@ if HAVE_WIN32
libremoteosd_plugin_la_DEPENDENCIES = libremoteosd_plugin.rc.o libremoteosd_plugin_la_DEPENDENCIES = libremoteosd_plugin.rc.o
endif endif
if HAVE_GCRYPT if HAVE_GCRYPT
libvlc_LTLIBRARIES += libremoteosd_plugin.la video_filter_LTLIBRARIES += libremoteosd_plugin.la
endif endif
libpuzzle_plugin_la_SOURCES = \ libpuzzle_plugin_la_SOURCES = \
...@@ -68,7 +68,7 @@ libpuzzle_plugin_la_LIBADD = $(AM_LIBADD) ...@@ -68,7 +68,7 @@ libpuzzle_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32 if HAVE_WIN32
libpuzzle_plugin_la_DEPENDENCIES = libpuzzle_plugin.rc.o libpuzzle_plugin_la_DEPENDENCIES = libpuzzle_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += libpuzzle_plugin.la video_filter_LTLIBRARIES += libpuzzle_plugin.la
SOURCES_magnify = magnify.c SOURCES_magnify = magnify.c
SOURCES_wave = wave.c SOURCES_wave = wave.c
...@@ -138,7 +138,7 @@ SOURCES_vhs = vhs.c ...@@ -138,7 +138,7 @@ SOURCES_vhs = vhs.c
SOURCES_freeze = freeze.c SOURCES_freeze = freeze.c
noinst_HEADERS = filter_picture.h noinst_HEADERS = filter_picture.h
libvlc_LTLIBRARIES += \ video_filter_LTLIBRARIES += \
libadjust_plugin.la \ libadjust_plugin.la \
libalphamask_plugin.la \ libalphamask_plugin.la \
libaudiobargraph_v_plugin.la \ libaudiobargraph_v_plugin.la \
......
AM_LIBTOOLFLAGS=--tag=CC voutdir = $(pluginsdir)/video_output
noinst_LTLIBRARIES = noinst_LTLIBRARIES =
vout_LTLIBRARIES =
SOURCES_aa = aa.c SOURCES_aa = aa.c
SOURCES_fb = fb.c SOURCES_fb = fb.c
...@@ -16,7 +18,7 @@ if HAVE_DECKLINK ...@@ -16,7 +18,7 @@ if HAVE_DECKLINK
libdecklinkoutput_plugin_la_SOURCES = decklink.cpp libdecklinkoutput_plugin_la_SOURCES = decklink.cpp
libdecklinkoutput_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(CPPFLAGS_decklinkoutput) libdecklinkoutput_plugin_la_CXXFLAGS = $(AM_CFLAGS) $(CPPFLAGS_decklinkoutput)
libdecklinkoutput_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_decklink) $(LIBDL) libdecklinkoutput_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_decklink) $(LIBDL)
libvlc_LTLIBRARIES += libdecklinkoutput_plugin.la vout_LTLIBRARIES += libdecklinkoutput_plugin.la
endif endif
### OpenGL ### ### OpenGL ###
...@@ -24,30 +26,20 @@ endif ...@@ -24,30 +26,20 @@ endif
libgles2_plugin_la_SOURCES = opengl.c opengl.h gl.c libgles2_plugin_la_SOURCES = opengl.c opengl.h gl.c
libgles2_plugin_la_CFLAGS = $(AM_CFLAGS) $(GLES2_CFLAGS) -DUSE_OPENGL_ES=2 libgles2_plugin_la_CFLAGS = $(AM_CFLAGS) $(GLES2_CFLAGS) -DUSE_OPENGL_ES=2
libgles2_plugin_la_LIBADD = $(AM_LIBADD) $(GLES2_LIBS) libgles2_plugin_la_LIBADD = $(AM_LIBADD) $(GLES2_LIBS)
if HAVE_WIN32 libgles2_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
libgles2_plugin_la_DEPENDENCIES = libgles2_plugin.rc.o
endif
libgles1_plugin_la_SOURCES = opengl.c opengl.h gl.c libgles1_plugin_la_SOURCES = opengl.c opengl.h gl.c
libgles1_plugin_la_CFLAGS = $(AM_CFLAGS) $(GLES1_CFLAGS) -DUSE_OPENGL_ES=1 libgles1_plugin_la_CFLAGS = $(AM_CFLAGS) $(GLES1_CFLAGS) -DUSE_OPENGL_ES=1
libgles1_plugin_la_LIBADD = $(AM_LIBADD) $(GLES1_LIBS) libgles1_plugin_la_LIBADD = $(AM_LIBADD) $(GLES1_LIBS)
if HAVE_WIN32 libgles1_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
libgles1_plugin_la_DEPENDENCIES = libgles1_plugin.rc.o
endif
libgl_plugin_la_SOURCES = opengl.c opengl.h gl.c libgl_plugin_la_SOURCES = opengl.c opengl.h gl.c
libgl_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS) libgl_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS)
libgl_plugin_la_LIBADD = $(AM_LIBADD) $(GL_LIBS) libgl_plugin_la_LIBADD = $(AM_LIBADD) $(GL_LIBS)
if HAVE_WIN32 libgl_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
libgl_plugin_la_DEPENDENCIES = libgl_plugin.rc.o
endif
EXTRA_LTLIBRARIES += \ EXTRA_LTLIBRARIES += libgles2_plugin.la libgles1_plugin.la libgl_plugin.la
libgles2_plugin.la \ vout_LTLIBRARIES += $(LTLIBgles2) $(LTLIBgles1) $(LTLIBgl)
libgles1_plugin.la \
libgl_plugin.la
libvlc_LTLIBRARIES += \
$(LTLIBgles2) $(LTLIBgles1) $(LTLIBgl)
### XCB ### ### XCB ###
...@@ -72,6 +64,7 @@ libxcb_xv_plugin_la_CFLAGS = $(AM_CFLAGS) \ ...@@ -72,6 +64,7 @@ libxcb_xv_plugin_la_CFLAGS = $(AM_CFLAGS) \
$(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_XV_CFLAGS) $(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_XV_CFLAGS)
libxcb_xv_plugin_la_LIBADD = libvlc_xcb_events.la $(AM_LIBADD) \ libxcb_xv_plugin_la_LIBADD = libvlc_xcb_events.la $(AM_LIBADD) \
$(XCB_LIBS) $(XCB_SHM_LIBS) $(XCB_XV_LIBS) $(XCB_LIBS) $(XCB_SHM_LIBS) $(XCB_XV_LIBS)
libxcb_xv_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
libxcb_glx_plugin_la_SOURCES = \ libxcb_glx_plugin_la_SOURCES = \
opengl.c opengl.h \ opengl.c opengl.h \
...@@ -80,6 +73,7 @@ libxcb_glx_plugin_la_CFLAGS = $(AM_CFLAGS) \ ...@@ -80,6 +73,7 @@ libxcb_glx_plugin_la_CFLAGS = $(AM_CFLAGS) \
$(XCB_CFLAGS) $(GL_CFLAGS) $(XCB_CFLAGS) $(GL_CFLAGS)
libxcb_glx_plugin_la_LIBADD = libvlc_xcb_events.la $(AM_LIBADD) \ libxcb_glx_plugin_la_LIBADD = libvlc_xcb_events.la $(AM_LIBADD) \
$(XCB_LIBS) $(GL_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11 $(XCB_LIBS) $(GL_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11
libxcb_glx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
libxcb_window_plugin_la_SOURCES = xcb/window.c xcb/keys.c xcb/keysym.h xcb/xcb_keysym.h libxcb_window_plugin_la_SOURCES = xcb/window.c xcb/keys.c xcb/keysym.h xcb/xcb_keysym.h
libxcb_window_plugin_la_CFLAGS = $(AM_CFLAGS) \ libxcb_window_plugin_la_CFLAGS = $(AM_CFLAGS) \
...@@ -94,58 +88,44 @@ libxcb_window_plugin_la_LIBADD = $(AM_LIBADD) \ ...@@ -94,58 +88,44 @@ libxcb_window_plugin_la_LIBADD = $(AM_LIBADD) \
if HAVE_XCB if HAVE_XCB
noinst_LTLIBRARIES += libvlc_xcb_events.la noinst_LTLIBRARIES += libvlc_xcb_events.la
libvlc_LTLIBRARIES += \ vout_LTLIBRARIES += \
libxcb_x11_plugin.la \ libxcb_x11_plugin.la \
libxcb_window_plugin.la libxcb_window_plugin.la
endif endif
EXTRA_LTLIBRARIES += \ EXTRA_LTLIBRARIES += libxcb_xv_plugin.la libxcb_glx_plugin.la
libxcb_xv_plugin.la \ vout_LTLIBRARIES += $(LTLIBxcb_xv) $(LTLIBxcb_glx)
libxcb_glx_plugin.la
libvlc_LTLIBRARIES += \
$(LTLIBxcb_xv) \
$(LTLIBxcb_glx)
### Win32 ### ### Win32 ###
libdirect2d_plugin_la_SOURCES = msw/direct2d.c \ libdirect2d_plugin_la_SOURCES = msw/direct2d.c \
msw/common.c msw/common.h msw/events.c msw/events.h msw/common.c msw/common.h msw/events.c msw/events.h
libdirect2d_plugin_la_CFLAGS = $(AM_CFLAGS) libdirect2d_plugin_la_CFLAGS = $(AM_CFLAGS)
libdirect2d_plugin_la_LIBADD = $(AM_LIBADD) -lgdi32 -lole32 -luuid libdirect2d_plugin_la_LIBADD = $(AM_LIBADD) -lgdi32 -lole32 -luuid
if HAVE_WIN32 libdirect2d_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
libdirect2d_plugin_la_DEPENDENCIES = libdirect2d_plugin.rc.o vout_LTLIBRARIES += $(LTLIBdirect2d)
endif
libvlc_LTLIBRARIES += $(LTLIBdirect2d)
EXTRA_LTLIBRARIES += libdirect2d_plugin.la EXTRA_LTLIBRARIES += libdirect2d_plugin.la
libdirect3d_plugin_la_SOURCES = msw/direct3d.c \ libdirect3d_plugin_la_SOURCES = msw/direct3d.c \
msw/common.c msw/common.h msw/events.c msw/events.h msw/common.c msw/common.h msw/events.c msw/events.h
libdirect3d_plugin_la_CFLAGS = $(AM_CFLAGS) libdirect3d_plugin_la_CFLAGS = $(AM_CFLAGS)
libdirect3d_plugin_la_LIBADD = $(AM_LIBADD) -lgdi32 -lole32 -luuid libdirect3d_plugin_la_LIBADD = $(AM_LIBADD) -lgdi32 -lole32 -luuid
if HAVE_WIN32 libdirect3d_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
libdirect3d_plugin_la_DEPENDENCIES = libdirect3d_plugin.rc.o vout_LTLIBRARIES += $(LTLIBdirect3d)
endif
libvlc_LTLIBRARIES += $(LTLIBdirect3d)
EXTRA_LTLIBRARIES += libdirect3d_plugin.la EXTRA_LTLIBRARIES += libdirect3d_plugin.la
libdirectdraw_plugin_la_SOURCES = msw/directx.c \ libdirectdraw_plugin_la_SOURCES = msw/directx.c \
msw/common.c msw/common.h msw/events.c msw/events.h msw/common.c msw/common.h msw/events.c msw/events.h
libdirectdraw_plugin_la_CFLAGS = $(AM_CFLAGS) libdirectdraw_plugin_la_CFLAGS = $(AM_CFLAGS)
libdirectdraw_plugin_la_LIBADD = $(AM_LIBADD) -luser32 -lgdi32 -lole32 -luuid libdirectdraw_plugin_la_LIBADD = $(AM_LIBADD) -luser32 -lgdi32 -lole32 -luuid
if HAVE_WIN32
libdirectdraw_plugin_la_DEPENDENCIES = libdirectdraw_plugin.rc.o
endif
if HAVE_DIRECTX if HAVE_DIRECTX
libvlc_LTLIBRARIES += libdirectdraw_plugin.la vout_LTLIBRARIES += libdirectdraw_plugin.la
endif endif
libglwin32_plugin_la_SOURCES = msw/glwin32.c opengl.c opengl.h \ libglwin32_plugin_la_SOURCES = msw/glwin32.c opengl.c opengl.h \
msw/common.c msw/common.h msw/events.c msw/events.h msw/common.c msw/common.h msw/events.c msw/events.h
libglwin32_plugin_la_CFLAGS = $(AM_CFLAGS) libglwin32_plugin_la_CFLAGS = $(AM_CFLAGS)
libglwin32_plugin_la_LIBADD = $(AM_LIBADD) -lopengl32 -lgdi32 -lole32 -luuid libglwin32_plugin_la_LIBADD = $(AM_LIBADD) -lopengl32 -lgdi32 -lole32 -luuid
if HAVE_WIN32 libglwin32_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
libglwin32_plugin_la_DEPENDENCIES = libglwin32_plugin.rc.o vout_LTLIBRARIES += $(LTLIBglwin32)
endif
libvlc_LTLIBRARIES += $(LTLIBglwin32)
EXTRA_LTLIBRARIES += libglwin32_plugin.la EXTRA_LTLIBRARIES += libglwin32_plugin.la
libwingdi_plugin_la_SOURCES = msw/wingdi.c \ libwingdi_plugin_la_SOURCES = msw/wingdi.c \
...@@ -153,7 +133,7 @@ libwingdi_plugin_la_SOURCES = msw/wingdi.c \ ...@@ -153,7 +133,7 @@ libwingdi_plugin_la_SOURCES = msw/wingdi.c \
libwingdi_plugin_la_CFLAGS = $(AM_CFLAGS) libwingdi_plugin_la_CFLAGS = $(AM_CFLAGS)
libwingdi_plugin_la_LIBADD = $(AM_LIBADD) -lgdi32 -lole32 -luuid libwingdi_plugin_la_LIBADD = $(AM_LIBADD) -lgdi32 -lole32 -luuid
if HAVE_WIN32 if HAVE_WIN32
libvlc_LTLIBRARIES += libwingdi_plugin.la vout_LTLIBRARIES += libwingdi_plugin.la
libwingdi_plugin_la_DEPENDENCIES = libwingdi_plugin.rc.o libwingdi_plugin_la_DEPENDENCIES = libwingdi_plugin.rc.o
endif endif
...@@ -161,20 +141,20 @@ libdrawable_plugin_la_SOURCES = drawable.c ...@@ -161,20 +141,20 @@ libdrawable_plugin_la_SOURCES = drawable.c
libdrawable_plugin_la_CFLAGS = $(AM_CFLAGS) libdrawable_plugin_la_CFLAGS = $(AM_CFLAGS)
libdrawable_plugin_la_LIBADD = $(AM_LIBADD) libdrawable_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32 if HAVE_WIN32
libvlc_LTLIBRARIES += libdrawable_plugin.la vout_LTLIBRARIES += libdrawable_plugin.la
libdrawable_plugin_la_DEPENDENCIES = libdrawable_plugin.rc.o libdrawable_plugin_la_DEPENDENCIES = libdrawable_plugin.rc.o
endif endif
### OS/2 ### ### OS/2 ###
if HAVE_OS2 if HAVE_OS2
libvlc_LTLIBRARIES += libdrawable_plugin.la vout_LTLIBRARIES += libdrawable_plugin.la
endif endif
libkva_plugin_la_SOURCES = kva.c libkva_plugin_la_SOURCES = kva.c
libkva_plugin_la_CFLAGS = $(AM_CFLAGS) libkva_plugin_la_CFLAGS = $(AM_CFLAGS)
libkva_plugin_la_LIBADD = $(AM_LIBADD) $(KVA_LIBS) libkva_plugin_la_LIBADD = $(AM_LIBADD) $(KVA_LIBS)
if HAVE_KVA if HAVE_KVA
libvlc_LTLIBRARIES += libkva_plugin.la vout_LTLIBRARIES += libkva_plugin.la
endif endif
### EGL ### ### EGL ###
...@@ -185,11 +165,10 @@ if !HAVE_WIN32 ...@@ -185,11 +165,10 @@ if !HAVE_WIN32
if !HAVE_DARWIN if !HAVE_DARWIN
libegl_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIBS) -lX11 libegl_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIBS) -lX11
endif endif
else
libegl_plugin_la_DEPENDENCIES = libegl_plugin.rc.o
endif endif
libegl_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
EXTRA_LTLIBRARIES += libegl_plugin.la EXTRA_LTLIBRARIES += libegl_plugin.la
libvlc_LTLIBRARIES += $(LTLIBegl) vout_LTLIBRARIES += $(LTLIBegl)
### GLX ### ### GLX ###
libglx_plugin_la_SOURCES = glx.c libglx_plugin_la_SOURCES = glx.c
...@@ -198,8 +177,9 @@ libglx_plugin_la_LIBADD = $(AM_LIBADD) $(GL_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11 ...@@ -198,8 +177,9 @@ libglx_plugin_la_LIBADD = $(AM_LIBADD) $(GL_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11
if HAVE_WIN32 if HAVE_WIN32
libglx_plugin_la_DEPENDENCIES = libglx_plugin.rc.o libglx_plugin_la_DEPENDENCIES = libglx_plugin.rc.o
endif endif
libglx_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
EXTRA_LTLIBRARIES += libglx_plugin.la EXTRA_LTLIBRARIES += libglx_plugin.la
libvlc_LTLIBRARIES += $(LTLIBglx) vout_LTLIBRARIES += $(LTLIBglx)
### Coloured ASCII art ### ### Coloured ASCII art ###
libcaca_plugin_la_SOURCES = caca.c libcaca_plugin_la_SOURCES = caca.c
...@@ -209,11 +189,10 @@ if !HAVE_WIN32 ...@@ -209,11 +189,10 @@ if !HAVE_WIN32
if !HAVE_DARWIN if !HAVE_DARWIN
libcaca_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIBS) -lX11 libcaca_plugin_la_LIBADD += $(X_LIBS) $(X_PRE_LIBS) -lX11
endif endif
else
libcaca_plugin_la_DEPENDENCIES = libcaca_plugin.rc.o
endif endif
libcaca_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
EXTRA_LTLIBRARIES += libcaca_plugin.la EXTRA_LTLIBRARIES += libcaca_plugin.la
libvlc_LTLIBRARIES += $(LTLIBcaca) vout_LTLIBRARIES += $(LTLIBcaca)
### Common ### ### Common ###
libvdummy_plugin_la_SOURCES = vdummy.c libvdummy_plugin_la_SOURCES = vdummy.c
...@@ -223,7 +202,7 @@ if HAVE_WIN32 ...@@ -223,7 +202,7 @@ if HAVE_WIN32
libvdummy_plugin_la_DEPENDENCIES = libvdummy_plugin.rc.o libvdummy_plugin_la_DEPENDENCIES = libvdummy_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += \ vout_LTLIBRARIES += \
libvdummy_plugin.la \ libvdummy_plugin.la \
libvmem_plugin.la \ libvmem_plugin.la \
libyuv_plugin.la libyuv_plugin.la
basedir = video_splitter
include $(top_srcdir)/modules/common.am include $(top_srcdir)/modules/common.am
splitterdir = $(pluginsdir)/video_splitter
libvlc_LTLIBRARIES = \ splitter_LTLIBRARIES = \
libclone_plugin.la \ libclone_plugin.la \
libwall_plugin.la libwall_plugin.la
...@@ -22,12 +21,12 @@ libpanoramix_plugin_la_SOURCES = panoramix.c ...@@ -22,12 +21,12 @@ libpanoramix_plugin_la_SOURCES = panoramix.c
libpanoramix_plugin_la_CFLAGS = $(AM_CFLAGS) libpanoramix_plugin_la_CFLAGS = $(AM_CFLAGS)
libpanoramix_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM) libpanoramix_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM)
if HAVE_WIN32 if HAVE_WIN32
libvlc_LTLIBRARIES += libpanoramix_plugin.la splitter_LTLIBRARIES += libpanoramix_plugin.la
libpanoramix_plugin_la_DEPENDENCIES = libpanoramix_plugin.rc.o libpanoramix_plugin_la_DEPENDENCIES = libpanoramix_plugin.rc.o
else else
if HAVE_XCB_RANDR if HAVE_XCB_RANDR
libpanoramix_plugin_la_CFLAGS += $(XCB_RANDR_CFLAGS) libpanoramix_plugin_la_CFLAGS += $(XCB_RANDR_CFLAGS)
libpanoramix_plugin_la_LIBADD += $(XCB_RANDR_LIBS) libpanoramix_plugin_la_LIBADD += $(XCB_RANDR_LIBS)
libvlc_LTLIBRARIES += libpanoramix_plugin.la splitter_LTLIBRARIES += libpanoramix_plugin.la
endif endif
endif endif
...@@ -10,7 +10,7 @@ libvisual_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM) ...@@ -10,7 +10,7 @@ libvisual_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM)
if HAVE_WIN32 if HAVE_WIN32
libvisual_plugin_la_DEPENDENCIES = libvisual_plugin.rc.o libvisual_plugin_la_DEPENDENCIES = libvisual_plugin.rc.o
endif endif
libvlc_LTLIBRARIES += libvisual_plugin.la visualization_LTLIBRARIES += libvisual_plugin.la
SOURCES_vsxu = vsxu.cpp cyclic_buffer.h SOURCES_vsxu = vsxu.cpp cyclic_buffer.h
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment