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

modules: remove VLC-specific AM_LIBADD, simplify

parent 20cdb051
...@@ -50,7 +50,7 @@ libvlc_pulse_la_SOURCES = vlcpulse.c vlcpulse.h ...@@ -50,7 +50,7 @@ libvlc_pulse_la_SOURCES = vlcpulse.c vlcpulse.h
libvlc_pulse_la_CPPFLAGS = -DMODULE_STRING=\"pulse\" libvlc_pulse_la_CPPFLAGS = -DMODULE_STRING=\"pulse\"
libvlc_pulse_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS) libvlc_pulse_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
libvlc_pulse_la_LDFLAGS = -static libvlc_pulse_la_LDFLAGS = -static
libvlc_pulse_la_LIBADD = $(AM_LIBADD) $(PULSE_LIBS) libvlc_pulse_la_LIBADD = $(PULSE_LIBS)
if HAVE_PULSE if HAVE_PULSE
noinst_LTLIBRARIES += libvlc_pulse.la noinst_LTLIBRARIES += libvlc_pulse.la
endif endif
......
This diff is collapsed.
...@@ -10,7 +10,7 @@ librtp_plugin_la_SOURCES = \ ...@@ -10,7 +10,7 @@ librtp_plugin_la_SOURCES = \
session.c \ session.c \
xiph.c xiph.c
librtp_plugin_la_CFLAGS = $(AM_CFLAGS) librtp_plugin_la_CFLAGS = $(AM_CFLAGS)
librtp_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS) librtp_plugin_la_LIBADD = $(SOCKET_LIBS)
# Secure RTP library # Secure RTP library
libvlc_srtp_la_SOURCES = srtp.c libvlc_srtp_la_SOURCES = srtp.c
......
...@@ -11,12 +11,9 @@ access_output_LTLIBRARIES += \ ...@@ -11,12 +11,9 @@ access_output_LTLIBRARIES += \
libaccess_output_http_plugin.la \ libaccess_output_http_plugin.la \
$(NULL) $(NULL)
if HAVE_GCRYPT
libaccess_output_livehttp_plugin_la_SOURCES = livehttp.c libaccess_output_livehttp_plugin_la_SOURCES = livehttp.c
libaccess_output_livehttp_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS) libaccess_output_livehttp_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS)
libaccess_output_livehttp_plugin_la_LIBADD = $(AM_LIBADD) $(GCRYPT_LIBS) -lgpg-error libaccess_output_livehttp_plugin_la_LIBADD = $(GCRYPT_LIBS) -lgpg-error
if HAVE_WIN32 if HAVE_GCRYPT
libaccess_output_livehttp_plugin_la_DEPENDENCIES = libaccess_output_livehttp_plugin.rc.o
endif
access_output_LTLIBRARIES += libaccess_output_livehttp_plugin.la access_output_LTLIBRARIES += libaccess_output_livehttp_plugin.la
endif endif
...@@ -6,7 +6,6 @@ libsimple_channel_mixer_neon_plugin_la_SOURCES = \ ...@@ -6,7 +6,6 @@ libsimple_channel_mixer_neon_plugin_la_SOURCES = \
simple_channel_mixer.S \ simple_channel_mixer.S \
simple_channel_mixer.c simple_channel_mixer.c
libsimple_channel_mixer_neon_plugin_la_CFLAGS = $(AM_CFLAGS) libsimple_channel_mixer_neon_plugin_la_CFLAGS = $(AM_CFLAGS)
libsimple_channel_mixer_neon_plugin_la_LIBADD = $(AM_LIBADD)
libsimple_channel_mixer_neon_plugin_la_DEPENDENCIES = libsimple_channel_mixer_neon_plugin_la_DEPENDENCIES =
libchroma_yuv_neon_plugin_la_SOURCES = \ libchroma_yuv_neon_plugin_la_SOURCES = \
...@@ -15,11 +14,9 @@ libchroma_yuv_neon_plugin_la_SOURCES = \ ...@@ -15,11 +14,9 @@ libchroma_yuv_neon_plugin_la_SOURCES = \
yuyv_i422.S \ yuyv_i422.S \
chroma_yuv.c chroma_neon.h chroma_yuv.c chroma_neon.h
libchroma_yuv_neon_plugin_la_CFLAGS = $(AM_CFLAGS) libchroma_yuv_neon_plugin_la_CFLAGS = $(AM_CFLAGS)
libchroma_yuv_neon_plugin_la_LIBADD = $(AM_LIBADD)
libvolume_neon_plugin_la_SOURCES = volume.c amplify.S libvolume_neon_plugin_la_SOURCES = volume.c amplify.S
libvolume_neon_plugin_la_CFLAGS = $(AM_CFLAGS) libvolume_neon_plugin_la_CFLAGS = $(AM_CFLAGS)
libvolume_neon_plugin_la_LIBADD = $(AM_LIBADD)
libyuv_rgb_neon_plugin_la_SOURCES = \ libyuv_rgb_neon_plugin_la_SOURCES = \
i420_rgb.S \ i420_rgb.S \
...@@ -28,7 +25,6 @@ libyuv_rgb_neon_plugin_la_SOURCES = \ ...@@ -28,7 +25,6 @@ libyuv_rgb_neon_plugin_la_SOURCES = \
nv12_rgb.S \ nv12_rgb.S \
yuv_rgb.c yuv_rgb.c
libyuv_rgb_neon_plugin_la_CFLAGS = $(AM_CFLAGS) libyuv_rgb_neon_plugin_la_CFLAGS = $(AM_CFLAGS)
libyuv_rgb_neon_plugin_la_LIBADD = $(AM_LIBADD)
neon_LTLIBRARIES = \ neon_LTLIBRARIES = \
libsimple_channel_mixer_neon_plugin.la \ libsimple_channel_mixer_neon_plugin.la \
......
...@@ -52,7 +52,7 @@ SOURCES_dtstospdif = converter/dtstospdif.c ...@@ -52,7 +52,7 @@ SOURCES_dtstospdif = converter/dtstospdif.c
SOURCES_dtstofloat32 = converter/dtstofloat32.c SOURCES_dtstofloat32 = converter/dtstofloat32.c
SOURCES_mpgatofixed32 = converter/mpgatofixed32.c SOURCES_mpgatofixed32 = converter/mpgatofixed32.c
libaudio_format_plugin_la_SOURCES = converter/format.c libaudio_format_plugin_la_SOURCES = converter/format.c
libaudio_format_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM) libaudio_format_plugin_la_LIBADD = $(LIBM)
audio_filter_LTLIBRARIES += \ audio_filter_LTLIBRARIES += \
liba52tospdif_plugin.la \ liba52tospdif_plugin.la \
...@@ -72,7 +72,7 @@ EXTRA_LTLIBRARIES += \ ...@@ -72,7 +72,7 @@ EXTRA_LTLIBRARIES += \
libspeex_resampler_plugin_la_SOURCES = resampler/speex.c libspeex_resampler_plugin_la_SOURCES = resampler/speex.c
libspeex_resampler_plugin_la_CFLAGS = $(AM_CFLAGS) $(SPEEXDSP_CFLAGS) libspeex_resampler_plugin_la_CFLAGS = $(AM_CFLAGS) $(SPEEXDSP_CFLAGS)
libspeex_resampler_plugin_la_LIBADD = $(AM_LIBADD) $(SPEEXDSP_LIBS) libspeex_resampler_plugin_la_LIBADD = $(SPEEXDSP_LIBS)
if HAVE_WIN32 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
......
...@@ -2,16 +2,12 @@ include $(top_srcdir)/modules/common.am ...@@ -2,16 +2,12 @@ include $(top_srcdir)/modules/common.am
audio_mixerdir = $(pluginsdir)/audio_mixer audio_mixerdir = $(pluginsdir)/audio_mixer
libfloat_mixer_plugin_la_SOURCES = float.c libfloat_mixer_plugin_la_SOURCES = float.c
libfloat_mixer_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM) libfloat_mixer_plugin_la_LIBADD = $(LIBM)
if HAVE_WIN32 if HAVE_WIN32
libfloat_mixer_plugin_la_DEPENDENCIES = libfloat_mixer_plugin.rc.o libfloat_mixer_plugin_la_DEPENDENCIES = libfloat_mixer_plugin.rc.o
endif endif
libinteger_mixer_plugin_la_SOURCES = integer.c libinteger_mixer_plugin_la_SOURCES = integer.c
libinteger_mixer_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libinteger_mixer_plugin_la_DEPENDENCIES = libinteger_mixer_plugin.rc.o
endif
audio_mixer_LTLIBRARIES = \ audio_mixer_LTLIBRARIES = \
libfloat_mixer_plugin.la \ libfloat_mixer_plugin.la \
......
...@@ -7,32 +7,20 @@ SOURCES_audiounit_ios = TPCircularBuffer.h TPCircularBuffer.c audiounit_ios.c ...@@ -7,32 +7,20 @@ SOURCES_audiounit_ios = TPCircularBuffer.h TPCircularBuffer.c audiounit_ios.c
SOURCES_audioqueue = audioqueue.c SOURCES_audioqueue = audioqueue.c
libopensles_android_plugin_la_SOURCES = opensles_android.c libopensles_android_plugin_la_SOURCES = opensles_android.c
libopensles_android_plugin_la_LIBADD = $(AM_LIBADD) -ldl -lm libopensles_android_plugin_la_LIBADD = $(LIBDL) $(LIBM)
libandroid_audiotrack_plugin_la_SOURCES = audiotrack.c libandroid_audiotrack_plugin_la_SOURCES = audiotrack.c
libandroid_audiotrack_plugin_la_LIBADD = $(AM_LIBADD) -ldl libandroid_audiotrack_plugin_la_LIBADD = $(LIBDL)
if HAVE_ANDROID if HAVE_ANDROID
aout_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
libadummy_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libadummy_plugin_la_DEPENDENCIES = libadummy_plugin.rc.o
endif
libafile_plugin_la_SOURCES = file.c libafile_plugin_la_SOURCES = file.c
libafile_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libafile_plugin_la_DEPENDENCIES = libafile_plugin.rc.o
endif
libamem_plugin_la_SOURCES = amem.c libamem_plugin_la_SOURCES = amem.c
libamem_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libamem_plugin_la_DEPENDENCIES = libamem_plugin.rc.o
endif
aout_LTLIBRARIES += \ aout_LTLIBRARIES += \
libadummy_plugin.la \ libadummy_plugin.la \
...@@ -40,35 +28,34 @@ aout_LTLIBRARIES += \ ...@@ -40,35 +28,34 @@ aout_LTLIBRARIES += \
libamem_plugin.la libamem_plugin.la
liboss_plugin_la_SOURCES = oss.c volume.h liboss_plugin_la_SOURCES = oss.c volume.h
liboss_plugin_la_LIBADD = $(AM_LIBADD) $(OSS_LIBS) $(LIBM) liboss_plugin_la_LIBADD = $(OSS_LIBS) $(LIBM)
if HAVE_OSS if HAVE_OSS
aout_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 = $(ALSA_LIBS) $(LIBM)
if HAVE_ALSA if HAVE_ALSA
aout_LTLIBRARIES += libalsa_plugin.la aout_LTLIBRARIES += libalsa_plugin.la
endif endif
libpulse_plugin_la_SOURCES = pulse.c libpulse_plugin_la_SOURCES = pulse.c
libpulse_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS) libpulse_plugin_la_CFLAGS = $(AM_CFLAGS) $(PULSE_CFLAGS)
libpulse_plugin_la_LIBADD = ../libvlc_pulse.la \ libpulse_plugin_la_LIBADD = ../libvlc_pulse.la $(PULSE_LIBS) $(LIBM)
$(AM_LIBADD) $(PULSE_LIBS) $(LIBM)
if HAVE_PULSE if HAVE_PULSE
aout_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 = $(JACK_LIBS) $(LIBM)
if HAVE_JACK if HAVE_JACK
aout_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
libmmdevice_plugin_la_LIBADD = $(AM_LIBADD) -lole32 -lksuser libmmdevice_plugin_la_LIBADD = -lole32 -lksuser
if HAVE_WIN32 if HAVE_WIN32
libmmdevice_plugin_la_DEPENDENCIES = libmmdevice_plugin.rc.o libmmdevice_plugin_la_DEPENDENCIES = libmmdevice_plugin.rc.o
endif endif
...@@ -77,7 +64,7 @@ aout_LTLIBRARIES += libmmdevice_plugin.la ...@@ -77,7 +64,7 @@ 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
libdirectsound_plugin_la_LIBADD = $(AM_LIBADD) -lole32 libdirectsound_plugin_la_LIBADD = -lole32
if HAVE_WIN32 if HAVE_WIN32
libdirectsound_plugin_la_DEPENDENCIES = libdirectsound_plugin.rc.o libdirectsound_plugin_la_DEPENDENCIES = libdirectsound_plugin.rc.o
endif endif
...@@ -86,13 +73,13 @@ aout_LTLIBRARIES += libdirectsound_plugin.la ...@@ -86,13 +73,13 @@ aout_LTLIBRARIES += libdirectsound_plugin.la
endif endif
libkai_plugin_la_SOURCES = kai.c libkai_plugin_la_SOURCES = kai.c
libkai_plugin_la_LIBADD = $(AM_LIBADD) $(KAI_LIBS) libkai_plugin_la_LIBADD = $(KAI_LIBS)
if HAVE_KAI if HAVE_KAI
aout_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_LIBADD = $(AM_LIBADD) -lsndio libsndio_plugin_la_LIBADD = -lsndio
if HAVE_SNDIO if HAVE_SNDIO
aout_LTLIBRARIES += libsndio_plugin.la aout_LTLIBRARIES += libsndio_plugin.la
endif endif
...@@ -84,7 +84,7 @@ libaes3_plugin_la_SOURCES = aes3.c ...@@ -84,7 +84,7 @@ libaes3_plugin_la_SOURCES = aes3.c
libaraw_plugin_la_SOURCES = araw.c libaraw_plugin_la_SOURCES = araw.c
libdts_plugin_la_SOURCES = dts.c libdts_plugin_la_SOURCES = dts.c
libdts_plugin_la_LIBADD = libvlc_dts_header.la $(AM_LIBADD) libdts_plugin_la_LIBADD = libvlc_dts_header.la
libvlc_dts_header_la_SOURCES = dts_header.c dts_header.h libvlc_dts_header_la_SOURCES = dts_header.c dts_header.h
libvlc_dts_header_la_LDFLAGS = -static libvlc_dts_header_la_LDFLAGS = -static
...@@ -125,7 +125,7 @@ if ENABLE_SOUT ...@@ -125,7 +125,7 @@ if ENABLE_SOUT
libavcodec_plugin_la_SOURCES += avcodec/encoder.c libavcodec_plugin_la_SOURCES += avcodec/encoder.c
endif endif
libavcodec_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVCODEC_CFLAGS) libavcodec_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVCODEC_CFLAGS)
libavcodec_plugin_la_LIBADD = $(AM_LIBADD) $(AVCODEC_LIBS) $(LIBM) libavcodec_plugin_la_LIBADD = $(AVCODEC_LIBS) $(LIBM)
libavcodec_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS) libavcodec_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS)
if HAVE_WIN32 if HAVE_WIN32
libavcodec_plugin_la_DEPENDENCIES = libavcodec_plugin.rc.o libavcodec_plugin_la_DEPENDENCIES = libavcodec_plugin.rc.o
...@@ -154,8 +154,7 @@ libvaapi_plugin_la_SOURCES = \ ...@@ -154,8 +154,7 @@ libvaapi_plugin_la_SOURCES = \
avcodec/vaapi.c avcodec/vaapi.c
libvaapi_plugin_la_CFLAGS = $(AM_CFLAGS) \ libvaapi_plugin_la_CFLAGS = $(AM_CFLAGS) \
$(LIBVA_CFLAGS) $(X_CFLAGS) $(AVCODEC_CFLAGS) $(LIBVA_CFLAGS) $(X_CFLAGS) $(AVCODEC_CFLAGS)
libvaapi_plugin_la_LIBADD = $(AM_LIBADD) \ libvaapi_plugin_la_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
codec_LTLIBRARIES += libvaapi_plugin.la codec_LTLIBRARIES += libvaapi_plugin.la
endif endif
...@@ -163,7 +162,7 @@ endif ...@@ -163,7 +162,7 @@ endif
libdxva2_plugin_la_SOURCES = \ libdxva2_plugin_la_SOURCES = \
avcodec/copy.c avcodec/copy.h \ avcodec/copy.c avcodec/copy.h \
avcodec/dxva2.c avcodec/dxva2.c
libdxva2_plugin_la_LIBADD = $(AM_LIBADD) -lole32 -lshlwapi -luuid libdxva2_plugin_la_LIBADD = -lole32 -lshlwapi -luuid
if HAVE_AVCODEC_DXVA2 if HAVE_AVCODEC_DXVA2
codec_LTLIBRARIES += libdxva2_plugin.la codec_LTLIBRARIES += libdxva2_plugin.la
endif endif
...@@ -180,7 +179,7 @@ endif ...@@ -180,7 +179,7 @@ endif
libhwdummy_plugin_la_SOURCES = avcodec/hwdummy.c libhwdummy_plugin_la_SOURCES = avcodec/hwdummy.c
libhwdummy_plugin_la_CFLAGS = $(AM_CFLAGS) $(VDPAU_CFLAGS) $(AVCODEC_CFLAGS) libhwdummy_plugin_la_CFLAGS = $(AM_CFLAGS) $(VDPAU_CFLAGS) $(AVCODEC_CFLAGS)
libhwdummy_plugin_la_LIBADD = $(AM_LIBADD) $(AVCODEC_LIBS) libhwdummy_plugin_la_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
codec_LTLIBRARIES += libhwdummy_plugin.la codec_LTLIBRARIES += libhwdummy_plugin.la
...@@ -192,7 +191,7 @@ endif ...@@ -192,7 +191,7 @@ endif
### XWD ### ### XWD ###
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 = $(XPROTO_LIBS)
libxwd_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)' libxwd_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
codec_LTLIBRARIES += $(LTLIBxwd) codec_LTLIBRARIES += $(LTLIBxwd)
EXTRA_LTLIBRARIES += libxwd_plugin.la EXTRA_LTLIBRARIES += libxwd_plugin.la
...@@ -216,12 +215,12 @@ libomxil_plugin_la_SOURCES = \ ...@@ -216,12 +215,12 @@ libomxil_plugin_la_SOURCES = \
omxil/qcom.c omxil/qcom.h \ omxil/qcom.c omxil/qcom.h \
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 = $(LIBDL)
libomxil_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)' 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 = $(LIBDL)
libomxil_vout_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)' 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)
......
...@@ -26,13 +26,12 @@ endif ...@@ -26,13 +26,12 @@ endif
AM_CFLAGS = AM_CFLAGS =
AM_CXXFLAGS = AM_CXXFLAGS =
AM_OBJCFLAGS = AM_OBJCFLAGS =
AM_LIBADD = $(LIBPTHREAD)
AM_LDFLAGS = \ AM_LDFLAGS = \
-avoid-version -module \ -avoid-version -module \
-export-symbols-regex ^vlc_entry \ -export-symbols-regex ^vlc_entry \
-shrext $(LIBEXT) \ -shrext $(LIBEXT) \
-no-undefined \ -no-undefined \
$(LTLIBVLCCORE) $(top_builddir)/compat/libcompat.la $(LTLIBVLCCORE) $(top_builddir)/compat/libcompat.la $(LIBPTHREAD)
if HAVE_WIN32 if HAVE_WIN32
AM_LDFLAGS += -Wl,lib$(MODULE_NAME)_plugin.rc.$(OBJEXT) AM_LDFLAGS += -Wl,lib$(MODULE_NAME)_plugin.rc.$(OBJEXT)
......
...@@ -37,7 +37,7 @@ libdbus_plugin_la_SOURCES = \ ...@@ -37,7 +37,7 @@ libdbus_plugin_la_SOURCES = \
dbus/dbus_tracklist.c dbus/dbus_tracklist.h \ dbus/dbus_tracklist.c dbus/dbus_tracklist.h \
dbus/dbus.c dbus/dbus.c
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 = $(DBUS_LIBS) $(LIBM)
if HAVE_DBUS if HAVE_DBUS
control_LTLIBRARIES += libdbus_plugin.la control_LTLIBRARIES += libdbus_plugin.la
endif endif
...@@ -45,13 +45,12 @@ endif ...@@ -45,13 +45,12 @@ 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 = $(XCB_KEYSYMS_LIBS) $(XCB_LIBS)
libxcb_hotkeys_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(controldir)' libxcb_hotkeys_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(controldir)'
EXTRA_LTLIBRARIES += libxcb_hotkeys_plugin.la EXTRA_LTLIBRARIES += libxcb_hotkeys_plugin.la
control_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_LIBADD = $(AM_LIBADD)
if HAVE_WIN32 if HAVE_WIN32
control_LTLIBRARIES += libwin_hotkeys_plugin.la control_LTLIBRARIES += libwin_hotkeys_plugin.la
endif endif
...@@ -32,16 +32,8 @@ SOURCES_image = image.c mxpeg_helper.h ...@@ -32,16 +32,8 @@ SOURCES_image = image.c mxpeg_helper.h
SOURCES_demux_stl = stl.c SOURCES_demux_stl = stl.c
libasf_plugin_la_SOURCES = asf/asf.c asf/libasf.c asf/libasf.h asf/libasf_guid.h libasf_plugin_la_SOURCES = asf/asf.c asf/libasf.c asf/libasf.h asf/libasf_guid.h
libasf_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libasf_plugin_la_DEPENDENCIES = libasf_plugin.rc.o
endif
libavi_plugin_la_SOURCES = avi/avi.c avi/libavi.c avi/libavi.h libavi_plugin_la_SOURCES = avi/avi.c avi/libavi.c avi/libavi.h
libavi_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libavi_plugin_la_DEPENDENCIES = libavi_plugin.rc.o
endif
libavformat_plugin_la_SOURCES = avformat/demux.c \ libavformat_plugin_la_SOURCES = avformat/demux.c \
../codec/avcodec/fourcc.c \ ../codec/avcodec/fourcc.c \
...@@ -55,8 +47,7 @@ if ENABLE_SOUT ...@@ -55,8 +47,7 @@ if ENABLE_SOUT
libavformat_plugin_la_SOURCES += avformat/mux.c libavformat_plugin_la_SOURCES += avformat/mux.c
endif endif
libavformat_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS) libavformat_plugin_la_CFLAGS = $(AM_CFLAGS) $(AVFORMAT_CFLAGS) $(AVUTIL_CFLAGS)
libavformat_plugin_la_LIBADD = $(AM_LIBADD) $(AVFORMAT_LIBS) $(AVUTIL_LIBS) \ libavformat_plugin_la_LIBADD = $(AVFORMAT_LIBS) $(AVUTIL_LIBS) $(LIBM)
$(LIBM)
libavformat_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS) libavformat_plugin_la_LDFLAGS = $(AM_LDFLAGS) $(SYMBOLIC_LDFLAGS)
if HAVE_ZLIB if HAVE_ZLIB
libavformat_plugin_la_LIBADD += -lz libavformat_plugin_la_LIBADD += -lz
...@@ -72,16 +63,12 @@ demux_LTLIBRARIES += libavformat_plugin.la ...@@ -72,16 +63,12 @@ demux_LTLIBRARIES += libavformat_plugin.la
endif endif
libes_plugin_la_SOURCES = mpeg/es.c libes_plugin_la_SOURCES = mpeg/es.c
libes_plugin_la_LIBADD = ../codec/libvlc_dts_header.la $(AM_LIBADD) libes_plugin_la_LIBADD = ../codec/libvlc_dts_header.la
if HAVE_WIN32 if HAVE_WIN32
libes_plugin_la_DEPENDENCIES = libes_plugin.rc.o libes_plugin_la_DEPENDENCIES = libes_plugin.rc.o
endif endif
libh264_plugin_la_SOURCES = mpeg/h264.c libh264_plugin_la_SOURCES = mpeg/h264.c
libh264_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libh264_plugin_la_DEPENDENCIES = libh264_plugin.rc.o
endif
libmkv_plugin_la_SOURCES = \ libmkv_plugin_la_SOURCES = \
mkv/util.hpp mkv/util.cpp \ mkv/util.hpp mkv/util.cpp \
...@@ -97,7 +84,7 @@ libmkv_plugin_la_SOURCES = \ ...@@ -97,7 +84,7 @@ libmkv_plugin_la_SOURCES = \
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_LDFLAGS = $(AM_LDFLAGS) -rpath '$(demuxdir)'
libmkv_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_mkv) libmkv_plugin_la_LIBADD = $(LIBS_mkv)
if HAVE_ZLIB if HAVE_ZLIB
libmkv_plugin_la_LIBADD += -lz libmkv_plugin_la_LIBADD += -lz
endif endif
...@@ -105,7 +92,7 @@ demux_LTLIBRARIES += $(LTLIBmkv) ...@@ -105,7 +92,7 @@ demux_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
libmp4_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM) libmp4_plugin_la_LIBADD = $(LIBM)
libmp4_plugin_la_LDFLAGS = $(AM_LDFLAGS) libmp4_plugin_la_LDFLAGS = $(AM_LDFLAGS)
if HAVE_ZLIB if HAVE_ZLIB
libmp4_plugin_la_LIBADD += -lz libmp4_plugin_la_LIBADD += -lz
...@@ -115,10 +102,6 @@ libmp4_plugin_la_DEPENDENCIES = libmp4_plugin.rc.o ...@@ -115,10 +102,6 @@ libmp4_plugin_la_DEPENDENCIES = libmp4_plugin.rc.o
endif endif
libmpgv_plugin_la_SOURCES = mpeg/mpgv.c libmpgv_plugin_la_SOURCES = mpeg/mpgv.c
libmpgv_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libmpgv_plugin_la_DEPENDENCIES = libmpgv_plugin.rc.o
endif
libplaylist_plugin_la_SOURCES = \ libplaylist_plugin_la_SOURCES = \
playlist/asx.c \ playlist/asx.c \
...@@ -139,14 +122,10 @@ libplaylist_plugin_la_SOURCES = \ ...@@ -139,14 +122,10 @@ libplaylist_plugin_la_SOURCES = \
playlist/xspf.c \ playlist/xspf.c \
playlist/zpl.c \ playlist/zpl.c \
playlist/playlist.c playlist/playlist.h playlist/playlist.c playlist/playlist.h
libplaylist_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libplaylist_plugin_la_DEPENDENCIES = libplaylist_plugin.rc.o
endif
libts_plugin_la_SOURCES = ts.c ../mux/mpeg/csa.c ../mux/mpeg/dvbpsi_compat.h dvb-text.h libts_plugin_la_SOURCES = ts.c ../mux/mpeg/csa.c ../mux/mpeg/dvbpsi_compat.h dvb-text.h
libts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS) libts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS)
libts_plugin_la_LIBADD = $(AM_LIBADD) $(DVBPSI_LIBS) $(SOCKET_LIBS) libts_plugin_la_LIBADD = $(DVBPSI_LIBS) $(SOCKET_LIBS)
if HAVE_WIN32 if HAVE_WIN32
libts_plugin_la_DEPENDENCIES = libts_plugin.rc.o libts_plugin_la_DEPENDENCIES = libts_plugin.rc.o
endif endif
......
...@@ -49,7 +49,7 @@ lib${mod}_plugin_la_CPPFLAGS = \$(AM_CPPFLAGS) \$(CPPFLAGS_${mod}) \ ...@@ -49,7 +49,7 @@ lib${mod}_plugin_la_CPPFLAGS = \$(AM_CPPFLAGS) \$(CPPFLAGS_${mod}) \
lib${mod}_plugin_la_CFLAGS = \$(AM_CFLAGS) \$(CFLAGS_${mod}) 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 = \$(LIBS_${mod})
lib${mod}_plugin_la_LDFLAGS = \$(AM_LDFLAGS) -rpath '\$(${basedir}dir)' \$(LDFLAGS_${mod}) lib${mod}_plugin_la_LDFLAGS = \$(AM_LDFLAGS) -rpath '\$(${basedir}dir)' \$(LDFLAGS_${mod})
EOF EOF
case " ${plugins} " in case " ${plugins} " in
......
...@@ -15,7 +15,7 @@ guidir = $(pluginsdir)/gui ...@@ -15,7 +15,7 @@ guidir = $(pluginsdir)/gui
SUFFIXES = .ui .h .hpp .moc.cpp 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 = $(QT_LIBS)
libqt4_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(guidir)' libqt4_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(guidir)'
if HAVE_OS2 if HAVE_OS2
else else
......
...@@ -2,7 +2,6 @@ include $(top_srcdir)/modules/common.am ...@@ -2,7 +2,6 @@ include $(top_srcdir)/modules/common.am
vdpaudir = $(pluginsdir)/vdpau vdpaudir = $(pluginsdir)/vdpau
AM_CFLAGS += $(VDPAU_CFLAGS) AM_CFLAGS += $(VDPAU_CFLAGS)
AM_LIBADD += libvlc_vdpau.la
libvlc_vdpau_la_SOURCES = vlc_vdpau.c vlc_vdpau.h instance.c libvlc_vdpau_la_SOURCES = vlc_vdpau.c vlc_vdpau.h instance.c
libvlc_vdpau_la_CPPFLAGS = libvlc_vdpau_la_CPPFLAGS =
...@@ -19,7 +18,7 @@ vdpau_LTLIBRARIES = ...@@ -19,7 +18,7 @@ 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) \
$(X_CFLAGS) $(AVCODEC_CFLAGS) $(X_CFLAGS) $(AVCODEC_CFLAGS)
libvdpau_avcodec_plugin_la_LIBADD = $(AM_LIBADD) \ libvdpau_avcodec_plugin_la_LIBADD = libvlc_vdpau.la \
$(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
...@@ -28,30 +27,28 @@ endif ...@@ -28,30 +27,28 @@ 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 = libvlc_vdpau.la
vdpau_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 = libvlc_vdpau.la
vdpau_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 = libvlc_vdpau.la
vdpau_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 = libvlc_vdpau.la
vdpau_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) -I$(srcdir)/../../video_output/xcb
-I$(srcdir)/../../video_output/xcb libvdpau_display_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
libvdpau_display_plugin_la_CFLAGS = $(AM_CFLAGS) \ libvdpau_display_plugin_la_LIBADD = libvlc_vdpau.la \
$(XCB_CFLAGS)
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)
vdpau_LTLIBRARIES += libvdpau_display_plugin.la vdpau_LTLIBRARIES += libvdpau_display_plugin.la
...@@ -13,15 +13,11 @@ libexport_plugin_la_SOURCES = \ ...@@ -13,15 +13,11 @@ libexport_plugin_la_SOURCES = \
playlist/m3u.c \ playlist/m3u.c \
playlist/xspf.c \ playlist/xspf.c \
playlist/export.c playlist/export.c
libexport_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libexport_plugin_la_DEPENDENCIES = libexport_plugin.rc.o
endif
misc_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 = $(GNUTLS_LIBS)
if HAVE_WIN32 if HAVE_WIN32
libgnutls_plugin_la_LIBADD += $(SOCKET_LIBS) libgnutls_plugin_la_LIBADD += $(SOCKET_LIBS)
endif endif
...@@ -30,33 +26,26 @@ EXTRA_LTLIBRARIES += libgnutls_plugin.la ...@@ -30,33 +26,26 @@ EXTRA_LTLIBRARIES += libgnutls_plugin.la
misc_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_LIBADD = $(AM_LIBADD)
if HAVE_XCB if HAVE_XCB
misc_LTLIBRARIES += \ misc_LTLIBRARIES += libxdg_screensaver_plugin.la
libxdg_screensaver_plugin.la
endif endif
libdbus_screensaver_plugin_la_SOURCES = inhibit/dbus.c 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 = $(DBUS_LIBS)
if HAVE_DBUS if HAVE_DBUS
misc_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
liblogger_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_ANDROID if HAVE_ANDROID
liblogger_plugin_la_LIBADD += -llog liblogger_plugin_la_LIBADD = -llog
endif endif
if HAVE_WIN32 if HAVE_WIN32
liblogger_plugin_la_DEPENDENCIES = liblogger_plugin.rc.o liblogger_plugin_la_DEPENDENCIES = liblogger_plugin.rc.o
endif endif
libstats_plugin_la_SOURCES = stats.c libstats_plugin_la_SOURCES = stats.c
libstats_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libstats_plugin_la_DEPENDENCIES = libstats_plugin.rc.o
endif
misc_LTLIBRARIES += \ misc_LTLIBRARIES += \
libaudioscrobbler_plugin.la \ libaudioscrobbler_plugin.la \
......
...@@ -19,10 +19,6 @@ libmux_ps_plugin_la_SOURCES = \ ...@@ -19,10 +19,6 @@ libmux_ps_plugin_la_SOURCES = \
mpeg/pes.c mpeg/pes.h \ mpeg/pes.c mpeg/pes.h \
mpeg/ps.c mpeg/bits.h mpeg/ps.c mpeg/bits.h
libmux_ps_plugin_la_CFLAGS = $(AM_CLFAGS) libmux_ps_plugin_la_CFLAGS = $(AM_CLFAGS)
libmux_ps_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libmux_ps_plugin_la_DEPENDENCIES = libmux_ps_plugin.rc.o
endif
mux_LTLIBRARIES += libmux_ps_plugin.la mux_LTLIBRARIES += libmux_ps_plugin.la
libmux_ts_plugin_la_SOURCES = \ libmux_ts_plugin_la_SOURCES = \
...@@ -30,7 +26,7 @@ libmux_ts_plugin_la_SOURCES = \ ...@@ -30,7 +26,7 @@ libmux_ts_plugin_la_SOURCES = \
mpeg/csa.c mpeg/csa.h \ mpeg/csa.c mpeg/csa.h \
mpeg/ts.c mpeg/bits.h mpeg/dvbpsi_compat.h mpeg/ts.c mpeg/bits.h mpeg/dvbpsi_compat.h
libmux_ts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS) libmux_ts_plugin_la_CFLAGS = $(AM_CFLAGS) $(DVBPSI_CFLAGS)
libmux_ts_plugin_la_LIBADD = $(AM_LIBADD) $(DVBPSI_LIBS) libmux_ts_plugin_la_LIBADD = $(DVBPSI_LIBS)
if HAVE_WIN32 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
......
...@@ -5,12 +5,12 @@ AM_LDFLAGS += -rpath '$(notifydir)' ...@@ -5,12 +5,12 @@ 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)
libgrowl_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_growl) libgrowl_plugin_la_LIBADD = $(LIBS_growl)
libgrowl_plugin_la_LIBTOOLFLAGS=--tag=CC libgrowl_plugin_la_LIBTOOLFLAGS=--tag=CC
libnotify_plugin_la_SOURCES = notify.c 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 = $(NOTIFY_LIBS)
notify_LTLIBRARIES = $(LTLIBgrowl) $(LTLIBnotify) notify_LTLIBRARIES = $(LTLIBgrowl) $(LTLIBnotify)
EXTRA_LTLIBRARIES = libgrowl_plugin.la libnotify_plugin.la EXTRA_LTLIBRARIES = libgrowl_plugin.la libnotify_plugin.la
...@@ -9,7 +9,7 @@ SOURCES_mediadirs = mediadirs.c ...@@ -9,7 +9,7 @@ SOURCES_mediadirs = mediadirs.c
libsap_plugin_la_SOURCES = sap.c libsap_plugin_la_SOURCES = sap.c
libsap_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sap) libsap_plugin_la_CFLAGS = $(AM_CFLAGS) $(CFLAGS_sap)
libsap_plugin_la_LIBADD = $(AM_LIBADD) $(LIBS_sap) $(SOCKET_LIBS) libsap_plugin_la_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
...@@ -17,15 +17,14 @@ sd_LTLIBRARIES += libsap_plugin.la ...@@ -17,15 +17,14 @@ 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 $(PULSE_LIBS)
$(AM_LIBADD) $(PULSE_LIBS)
if HAVE_PULSE if HAVE_PULSE
sd_LTLIBRARIES += libpulselist_plugin.la sd_LTLIBRARIES += libpulselist_plugin.la
endif endif
libudev_plugin_la_SOURCES = udev.c libudev_plugin_la_SOURCES = udev.c
libudev_plugin_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS) libudev_plugin_la_CFLAGS = $(AM_CFLAGS) $(UDEV_CFLAGS)
libudev_plugin_la_LIBADD = $(AM_LIBADD) $(UDEV_LIBS) libudev_plugin_la_LIBADD = $(UDEV_LIBS)
if HAVE_ALSA 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)
...@@ -36,20 +35,18 @@ sd_LTLIBRARIES += $(LTLIBudev) ...@@ -36,20 +35,18 @@ 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) $(XCB_CFLAGS) libxcb_apps_plugin_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
libxcb_apps_plugin_la_LIBADD = $(AM_LIBADD) $(XCB_LIBS) libxcb_apps_plugin_la_LIBADD = $(XCB_LIBS)
if HAVE_XCB if HAVE_XCB
sd_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_LIBADD = $(AM_LIBADD)
if HAVE_WIN32 if HAVE_WIN32
sd_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
libos2drive_plugin_la_SOURCES = os2drive.c libos2drive_plugin_la_SOURCES = os2drive.c
libos2drive_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_OS2 if HAVE_OS2
sd_LTLIBRARIES += libos2drive_plugin.la sd_LTLIBRARIES += libos2drive_plugin.la
endif endif
......
...@@ -4,7 +4,6 @@ stream_filterdir = $(pluginsdir)/stream_filter ...@@ -4,7 +4,6 @@ stream_filterdir = $(pluginsdir)/stream_filter
stream_filter_LTLIBRARIES = stream_filter_LTLIBRARIES =
libdecomp_plugin_la_SOURCES = decomp.c libdecomp_plugin_la_SOURCES = decomp.c
libdecomp_plugin_la_LIBADD = $(AM_LIBADD)
if !HAVE_WIN32 if !HAVE_WIN32
stream_filter_LTLIBRARIES += libdecomp_plugin.la stream_filter_LTLIBRARIES += libdecomp_plugin.la
endif endif
...@@ -93,7 +92,7 @@ libdash_plugin_la_SOURCES = \ ...@@ -93,7 +92,7 @@ libdash_plugin_la_SOURCES = \
dash/Helper.cpp \ dash/Helper.cpp \
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 = $(SOCKET_LIBS)
stream_filter_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
...@@ -113,7 +112,7 @@ stream_filter_LTLIBRARIES += libsmooth_plugin.la ...@@ -113,7 +112,7 @@ 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)
libhttplive_plugin_la_LIBADD = $(AM_LIBADD) $(GCRYPT_LIBS) -lgpg-error libhttplive_plugin_la_LIBADD = $(GCRYPT_LIBS) -lgpg-error
if HAVE_WIN32 if HAVE_WIN32
libhttplive_plugin_la_DEPENDENCIES = libhttplive_plugin.rc.o libhttplive_plugin_la_DEPENDENCIES = libhttplive_plugin.rc.o
endif endif
...@@ -122,5 +121,4 @@ stream_filter_LTLIBRARIES += libhttplive_plugin.la ...@@ -122,5 +121,4 @@ stream_filter_LTLIBRARIES += libhttplive_plugin.la
endif endif
librecord_plugin_la_SOURCES = record.c librecord_plugin_la_SOURCES = record.c
librecord_plugin_la_LIBADD = $(AM_LIBADD)
stream_filter_LTLIBRARIES += librecord_plugin.la stream_filter_LTLIBRARIES += librecord_plugin.la
...@@ -19,10 +19,6 @@ libstream_out_transcode_plugin_la_SOURCES = \ ...@@ -19,10 +19,6 @@ libstream_out_transcode_plugin_la_SOURCES = \
transcode/transcode.c transcode/transcode.h \ transcode/transcode.c transcode/transcode.h \
transcode/osd.c transcode/spu.c transcode/audio.c transcode/video.c transcode/osd.c transcode/spu.c transcode/audio.c transcode/video.c
libstream_out_transcode_plugin_la_CFLAGS = $(AM_CFLAGS) libstream_out_transcode_plugin_la_CFLAGS = $(AM_CFLAGS)
libstream_out_transcode_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libstream_out_transcode_plugin_la_DEPENDENCIES = libstream_out_transcode_plugin.rc.o
endif
stream_out_LTLIBRARIES += \ stream_out_LTLIBRARIES += \
...@@ -49,7 +45,7 @@ stream_out_LTLIBRARIES += \ ...@@ -49,7 +45,7 @@ stream_out_LTLIBRARIES += \
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
libstream_out_rtp_plugin_la_CFLAGS = $(AM_CFLAGS) libstream_out_rtp_plugin_la_CFLAGS = $(AM_CFLAGS)
libstream_out_rtp_plugin_la_LIBADD = $(AM_LIBADD) $(SOCKET_LIBS) libstream_out_rtp_plugin_la_LIBADD = $(SOCKET_LIBS)
if HAVE_WIN32 if HAVE_WIN32
libstream_out_rtp_plugin_la_DEPENDENCIES = libstream_out_rtp_plugin.rc.o libstream_out_rtp_plugin_la_DEPENDENCIES = libstream_out_rtp_plugin.rc.o
endif endif
...@@ -64,7 +60,7 @@ endif ...@@ -64,7 +60,7 @@ endif
# RAOP plugin # RAOP plugin
libstream_out_raop_plugin_la_SOURCES = raop.c libstream_out_raop_plugin_la_SOURCES = raop.c
libstream_out_raop_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS) libstream_out_raop_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS)
libstream_out_raop_plugin_la_LIBADD = $(AM_LIBADD) $(GCRYPT_LIBS) -lgpg-error $(LIBS_stream_out_raop) libstream_out_raop_plugin_la_LIBADD = $(GCRYPT_LIBS) -lgpg-error $(LIBS_stream_out_raop)
if HAVE_WIN32 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
......
...@@ -5,18 +5,18 @@ libchain_plugin_la_SOURCES = chain.c ...@@ -5,18 +5,18 @@ libchain_plugin_la_SOURCES = chain.c
libchroma_omx_plugin_la_SOURCES = omxdl.c libchroma_omx_plugin_la_SOURCES = omxdl.c
libchroma_omx_plugin_la_CFLAGS = $(AM_CFLAGS) $(OMXIP_CFLAGS) libchroma_omx_plugin_la_CFLAGS = $(AM_CFLAGS) $(OMXIP_CFLAGS)
libchroma_omx_plugin_la_LIBADD = $(AM_LIBADD) $(OMXIP_LIBS) libchroma_omx_plugin_la_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 = $(SWSCALE_LIBS)
libswscale_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)' libswscale_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(chromadir)'
libgrey_yuv_plugin_la_SOURCES = grey_yuv.c libgrey_yuv_plugin_la_SOURCES = grey_yuv.c
libi420_rgb_plugin_la_SOURCES = i420_rgb.c i420_rgb.h \ libi420_rgb_plugin_la_SOURCES = i420_rgb.c i420_rgb.h \
i420_rgb8.c i420_rgb16.c i420_rgb_c.h i420_rgb8.c i420_rgb16.c i420_rgb_c.h
libi420_rgb_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM) libi420_rgb_plugin_la_LIBADD = $(LIBM)
libi420_yuy2_plugin_la_SOURCES = i420_yuy2.c i420_yuy2.h libi420_yuy2_plugin_la_SOURCES = i420_yuy2.c i420_yuy2.h
libi420_yuy2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \ libi420_yuy2_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
......
...@@ -25,7 +25,6 @@ libdeinterlace_plugin_la_SOURCES = \ ...@@ -25,7 +25,6 @@ libdeinterlace_plugin_la_SOURCES = \
deinterlace/algo_ivtc.c deinterlace/algo_ivtc.h deinterlace/algo_ivtc.c deinterlace/algo_ivtc.h
# inline ASM doesn't build with -O0 # inline ASM doesn't build with -O0
libdeinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) -O2 libdeinterlace_plugin_la_CFLAGS = $(AM_CFLAGS) -O2
libdeinterlace_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_NEON if HAVE_NEON
libdeinterlace_plugin_la_SOURCES += deinterlace/merge_arm.S libdeinterlace_plugin_la_SOURCES += deinterlace/merge_arm.S
libdeinterlace_plugin_la_CFLAGS += -DCAN_COMPILE_ARM libdeinterlace_plugin_la_CFLAGS += -DCAN_COMPILE_ARM
...@@ -41,14 +40,13 @@ libdynamicoverlay_plugin_la_SOURCES = \ ...@@ -41,14 +40,13 @@ libdynamicoverlay_plugin_la_SOURCES = \
dynamicoverlay/dynamicoverlay_list.c \ dynamicoverlay/dynamicoverlay_list.c \
dynamicoverlay/dynamicoverlay_commands.c \ dynamicoverlay/dynamicoverlay_commands.c \
dynamicoverlay/dynamicoverlay.c dynamicoverlay/dynamicoverlay.h dynamicoverlay/dynamicoverlay.c dynamicoverlay/dynamicoverlay.h
libdynamicoverlay_plugin_la_LIBADD = $(AM_LIBADD)
if !HAVE_WIN32 if !HAVE_WIN32
video_filter_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
libremoteosd_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS) libremoteosd_plugin_la_CFLAGS = $(AM_CFLAGS) $(GCRYPT_CFLAGS)
libremoteosd_plugin_la_LIBADD = $(AM_LIBADD) $(GCRYPT_LIBS) $(LIBS_remoteosd) libremoteosd_plugin_la_LIBADD = $(GCRYPT_LIBS) $(LIBS_remoteosd)
if HAVE_WIN32 if HAVE_WIN32
libremoteosd_plugin_la_DEPENDENCIES = libremoteosd_plugin.rc.o libremoteosd_plugin_la_DEPENDENCIES = libremoteosd_plugin.rc.o
endif endif
...@@ -62,10 +60,6 @@ libpuzzle_plugin_la_SOURCES = \ ...@@ -62,10 +60,6 @@ libpuzzle_plugin_la_SOURCES = \
puzzle_lib.c puzzle_lib.h \ puzzle_lib.c puzzle_lib.h \
puzzle_mgt.c puzzle_mgt.h \ puzzle_mgt.c puzzle_mgt.h \
puzzle_pce.c puzzle_pce.h puzzle_pce.c puzzle_pce.h
libpuzzle_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libpuzzle_plugin_la_DEPENDENCIES = libpuzzle_plugin.rc.o
endif
video_filter_LTLIBRARIES += libpuzzle_plugin.la video_filter_LTLIBRARIES += libpuzzle_plugin.la
SOURCES_magnify = magnify.c SOURCES_magnify = magnify.c
......
...@@ -17,7 +17,7 @@ SOURCES_android_surface = androidsurface.c ...@@ -17,7 +17,7 @@ SOURCES_android_surface = androidsurface.c
if HAVE_DECKLINK 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 = $(LIBS_decklink) $(LIBDL)
vout_LTLIBRARIES += libdecklinkoutput_plugin.la vout_LTLIBRARIES += libdecklinkoutput_plugin.la
endif endif
...@@ -25,17 +25,17 @@ endif ...@@ -25,17 +25,17 @@ endif
# TODO: merge all three source files (?) # TODO: merge all three source files (?)
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 = $(GLES2_LIBS)
libgles2_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' libgles2_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
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 = $(GLES1_LIBS)
libgles1_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' libgles1_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
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 = $(GL_LIBS)
libgl_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' libgl_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
EXTRA_LTLIBRARIES += libgles2_plugin.la libgles1_plugin.la libgl_plugin.la EXTRA_LTLIBRARIES += libgles2_plugin.la libgles1_plugin.la libgl_plugin.la
...@@ -47,14 +47,14 @@ libvlc_xcb_events_la_SOURCES = xcb/events.c xcb/events.h ...@@ -47,14 +47,14 @@ libvlc_xcb_events_la_SOURCES = xcb/events.c xcb/events.h
libvlc_xcb_events_la_CPPFLAGS = -DMODULE_STRING=\"xcb\" libvlc_xcb_events_la_CPPFLAGS = -DMODULE_STRING=\"xcb\"
libvlc_xcb_events_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS) libvlc_xcb_events_la_CFLAGS = $(AM_CFLAGS) $(XCB_CFLAGS)
libvlc_xcb_events_la_LDFLAGS = -static libvlc_xcb_events_la_LDFLAGS = -static
libvlc_xcb_events_la_LIBADD = $(AM_LIBADD) $(XCB_LIBS) libvlc_xcb_events_la_LIBADD = $(XCB_LIBS)
libxcb_x11_plugin_la_SOURCES = \ libxcb_x11_plugin_la_SOURCES = \
xcb/pictures.c xcb/pictures.h \ xcb/pictures.c xcb/pictures.h \
xcb/x11.c xcb/x11.c
libxcb_x11_plugin_la_CFLAGS = $(AM_CFLAGS) \ libxcb_x11_plugin_la_CFLAGS = $(AM_CFLAGS) \
$(XCB_CFLAGS) $(XCB_SHM_CFLAGS) $(XCB_CFLAGS) $(XCB_SHM_CFLAGS)
libxcb_x11_plugin_la_LIBADD = libvlc_xcb_events.la $(AM_LIBADD) \ libxcb_x11_plugin_la_LIBADD = libvlc_xcb_events.la \
$(XCB_LIBS) $(XCB_SHM_LIBS) $(XCB_LIBS) $(XCB_SHM_LIBS)
libxcb_xv_plugin_la_SOURCES = \ libxcb_xv_plugin_la_SOURCES = \
...@@ -62,7 +62,7 @@ libxcb_xv_plugin_la_SOURCES = \ ...@@ -62,7 +62,7 @@ libxcb_xv_plugin_la_SOURCES = \
xcb/xvideo.c xcb/xvideo.c
libxcb_xv_plugin_la_CFLAGS = $(AM_CFLAGS) \ 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 \
$(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_xv_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
...@@ -71,20 +71,15 @@ libxcb_glx_plugin_la_SOURCES = \ ...@@ -71,20 +71,15 @@ libxcb_glx_plugin_la_SOURCES = \
xcb/glx.c xcb/glx.c
libxcb_glx_plugin_la_CFLAGS = $(AM_CFLAGS) \ 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 \
$(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_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) \
$(CFLAGS_xcb_window) \ $(CFLAGS_xcb_window) \
$(XPROTO_CFLAGS) \ $(XPROTO_CFLAGS) $(XCB_CFLAGS) $(XCB_KEYSYMS_CFLAGS)
$(XCB_CFLAGS) \ libxcb_window_plugin_la_LIBADD = $(XPROTO_LIBS) $(XCB_LIBS) $(XCB_KEYSYMS_LIBS)
$(XCB_KEYSYMS_CFLAGS)
libxcb_window_plugin_la_LIBADD = $(AM_LIBADD) \
$(XPROTO_LIBS) \
$(XCB_LIBS) \
$(XCB_KEYSYMS_LIBS)
if HAVE_XCB if HAVE_XCB
noinst_LTLIBRARIES += libvlc_xcb_events.la noinst_LTLIBRARIES += libvlc_xcb_events.la
...@@ -100,7 +95,7 @@ libdirect2d_plugin_la_SOURCES = msw/direct2d.c \ ...@@ -100,7 +95,7 @@ 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_CPPFLAGS = $(AM_CPPFLAGS) \ libdirect2d_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
-DMODULE_NAME_IS_direct2d -DMODULE_NAME_IS_direct2d
libdirect2d_plugin_la_LIBADD = $(AM_LIBADD) -lgdi32 -lole32 -luuid libdirect2d_plugin_la_LIBADD = -lgdi32 -lole32 -luuid
libdirect2d_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' libdirect2d_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
vout_LTLIBRARIES += $(LTLIBdirect2d) vout_LTLIBRARIES += $(LTLIBdirect2d)
EXTRA_LTLIBRARIES += libdirect2d_plugin.la EXTRA_LTLIBRARIES += libdirect2d_plugin.la
...@@ -109,7 +104,7 @@ libdirect3d_plugin_la_SOURCES = msw/direct3d.c \ ...@@ -109,7 +104,7 @@ 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_CPPFLAGS = $(AM_CPPFLAGS) \ libdirect3d_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
-DMODULE_NAME_IS_direct3d -DMODULE_NAME_IS_direct3d
libdirect3d_plugin_la_LIBADD = $(AM_LIBADD) -lgdi32 -lole32 -luuid libdirect3d_plugin_la_LIBADD = -lgdi32 -lole32 -luuid
libdirect3d_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' libdirect3d_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
vout_LTLIBRARIES += $(LTLIBdirect3d) vout_LTLIBRARIES += $(LTLIBdirect3d)
EXTRA_LTLIBRARIES += libdirect3d_plugin.la EXTRA_LTLIBRARIES += libdirect3d_plugin.la
...@@ -118,7 +113,7 @@ libdirectdraw_plugin_la_SOURCES = msw/directx.c \ ...@@ -118,7 +113,7 @@ 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_CPPFLAGS = $(AM_CPPFLAGS) \ libdirectdraw_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
-DMODULE_NAME_IS_directdraw -DMODULE_NAME_IS_directdraw
libdirectdraw_plugin_la_LIBADD = $(AM_LIBADD) -luser32 -lgdi32 -lole32 -luuid libdirectdraw_plugin_la_LIBADD = -luser32 -lgdi32 -lole32 -luuid
if HAVE_DIRECTX if HAVE_DIRECTX
vout_LTLIBRARIES += libdirectdraw_plugin.la vout_LTLIBRARIES += libdirectdraw_plugin.la
endif endif
...@@ -127,7 +122,7 @@ libglwin32_plugin_la_SOURCES = msw/glwin32.c opengl.c opengl.h \ ...@@ -127,7 +122,7 @@ 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_CPPFLAGS = $(AM_CPPFLAGS) \ libglwin32_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
-DMODULE_NAME_IS_glwin32 -DMODULE_NAME_IS_glwin32
libglwin32_plugin_la_LIBADD = $(AM_LIBADD) -lopengl32 -lgdi32 -lole32 -luuid libglwin32_plugin_la_LIBADD = -lopengl32 -lgdi32 -lole32 -luuid
libglwin32_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)' libglwin32_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(voutdir)'
vout_LTLIBRARIES += $(LTLIBglwin32) vout_LTLIBRARIES += $(LTLIBglwin32)
EXTRA_LTLIBRARIES += libglwin32_plugin.la EXTRA_LTLIBRARIES += libglwin32_plugin.la
...@@ -136,14 +131,13 @@ libwingdi_plugin_la_SOURCES = msw/wingdi.c \ ...@@ -136,14 +131,13 @@ libwingdi_plugin_la_SOURCES = msw/wingdi.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
libwingdi_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \ libwingdi_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) \
-DMODULE_NAME_IS_wingdi -DMODULE_NAME_IS_wingdi
libwingdi_plugin_la_LIBADD = $(AM_LIBADD) -lgdi32 -lole32 -luuid libwingdi_plugin_la_LIBADD = -lgdi32 -lole32 -luuid
if HAVE_WIN32 if HAVE_WIN32
vout_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
libdrawable_plugin_la_SOURCES = drawable.c libdrawable_plugin_la_SOURCES = drawable.c
libdrawable_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32 if HAVE_WIN32
vout_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
...@@ -155,7 +149,7 @@ vout_LTLIBRARIES += libdrawable_plugin.la ...@@ -155,7 +149,7 @@ vout_LTLIBRARIES += libdrawable_plugin.la
endif endif
libkva_plugin_la_SOURCES = kva.c libkva_plugin_la_SOURCES = kva.c
libkva_plugin_la_LIBADD = $(AM_LIBADD) $(KVA_LIBS) libkva_plugin_la_LIBADD = $(KVA_LIBS)
if HAVE_KVA if HAVE_KVA
vout_LTLIBRARIES += libkva_plugin.la vout_LTLIBRARIES += libkva_plugin.la
endif endif
...@@ -163,7 +157,7 @@ endif ...@@ -163,7 +157,7 @@ endif
### EGL ### ### EGL ###
libegl_plugin_la_SOURCES = egl.c libegl_plugin_la_SOURCES = egl.c
libegl_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS) libegl_plugin_la_CFLAGS = $(AM_CFLAGS) $(EGL_CFLAGS)
libegl_plugin_la_LIBADD = $(AM_LIBADD) $(EGL_LIBS) libegl_plugin_la_LIBADD = $(EGL_LIBS)
if !HAVE_WIN32 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
...@@ -176,7 +170,7 @@ vout_LTLIBRARIES += $(LTLIBegl) ...@@ -176,7 +170,7 @@ vout_LTLIBRARIES += $(LTLIBegl)
### GLX ### ### GLX ###
libglx_plugin_la_SOURCES = glx.c libglx_plugin_la_SOURCES = glx.c
libglx_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS) libglx_plugin_la_CFLAGS = $(AM_CFLAGS) $(GL_CFLAGS)
libglx_plugin_la_LIBADD = $(AM_LIBADD) $(GL_LIBS) $(X_LIBS) $(X_PRE_LIBS) -lX11 libglx_plugin_la_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
...@@ -187,7 +181,7 @@ vout_LTLIBRARIES += $(LTLIBglx) ...@@ -187,7 +181,7 @@ vout_LTLIBRARIES += $(LTLIBglx)
### Coloured ASCII art ### ### Coloured ASCII art ###
libcaca_plugin_la_SOURCES = caca.c libcaca_plugin_la_SOURCES = caca.c
libcaca_plugin_la_CFLAGS = $(AM_CFLAGS) $(CACA_CFLAGS) libcaca_plugin_la_CFLAGS = $(AM_CFLAGS) $(CACA_CFLAGS)
libcaca_plugin_la_LIBADD = $(AM_LIBADD) $(CACA_LIBS) libcaca_plugin_la_LIBADD = $(CACA_LIBS)
if !HAVE_WIN32 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
...@@ -199,10 +193,6 @@ vout_LTLIBRARIES += $(LTLIBcaca) ...@@ -199,10 +193,6 @@ vout_LTLIBRARIES += $(LTLIBcaca)
### Common ### ### Common ###
libvdummy_plugin_la_SOURCES = vdummy.c libvdummy_plugin_la_SOURCES = vdummy.c
libvdummy_plugin_la_LIBADD = $(AM_LIBADD)
if HAVE_WIN32
libvdummy_plugin_la_DEPENDENCIES = libvdummy_plugin.rc.o
endif
vout_LTLIBRARIES += \ vout_LTLIBRARIES += \
libvdummy_plugin.la \ libvdummy_plugin.la \
......
...@@ -11,7 +11,7 @@ libwall_plugin_la_SOURCES = wall.c ...@@ -11,7 +11,7 @@ libwall_plugin_la_SOURCES = wall.c
libpanoramix_plugin_la_SOURCES = panoramix.c 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 = $(LIBM)
if HAVE_WIN32 if HAVE_WIN32
splitter_LTLIBRARIES += libpanoramix_plugin.la splitter_LTLIBRARIES += libpanoramix_plugin.la
else else
......
...@@ -5,7 +5,7 @@ libvisual_plugin_la_SOURCES = \ ...@@ -5,7 +5,7 @@ libvisual_plugin_la_SOURCES = \
visual/visual.c visual/visual.h \ visual/visual.c visual/visual.h \
visual/effects.c \ visual/effects.c \
visual/fft.c visual/fft.h visual/fft.c visual/fft.h
libvisual_plugin_la_LIBADD = $(AM_LIBADD) $(LIBM) libvisual_plugin_la_LIBADD = $(LIBM)
visualization_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