Update autotools for new DSO linkage style

Thanks to Francois Andriot for the patch
pull/1/head
Slávek Banko 12 years ago
parent 93c725b2ba
commit 730967a47c

@ -16,7 +16,7 @@ libk3b_la_LIBADD = core/libk3bcore.la \
plugin/libk3bplugin.la \ plugin/libk3bplugin.la \
tools/libk3btools.la \ tools/libk3btools.la \
jobs/libjobs.la \ jobs/libjobs.la \
$(VIDEODVDLIB) \ $(VIDEODVDLIB) $(LIB_TDEUI) $(LIB_QT) $(LIB_TDECORE) $(LIBDL) -ltdefx -lDCOP \
../libk3bdevice/libk3bdevice.la ../libk3bdevice/libk3bdevice.la
libk3b_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 -no-undefined libk3b_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 -no-undefined

@ -6,7 +6,7 @@ METASOURCES = AUTO
lib_LTLIBRARIES = libk3bdevice.la lib_LTLIBRARIES = libk3bdevice.la
libk3bdevice_la_LIBADD = $(LIB_KIO) $(RESMGR_LIB) $(CAM_LIB) $(HAL_DBUS_LIBS) libk3bdevice_la_LIBADD = $(LIB_KIO) $(RESMGR_LIB) $(CAM_LIB) $(HAL_DBUS_LIBS) $(LIB_QT) $(LIB_TDECORE)
# lib version 5 for K3b 1.0 # lib version 5 for K3b 1.0
libk3bdevice_la_LDFLAGS = $(all_libraries) -version-info 5:0:0 -no-undefined libk3bdevice_la_LDFLAGS = $(all_libraries) -version-info 5:0:0 -no-undefined

@ -5,7 +5,7 @@ kde_module_LTLIBRARIES = libk3balsaoutputplugin.la
libk3balsaoutputplugin_la_SOURCES = k3balsaoutputplugin.cpp libk3balsaoutputplugin_la_SOURCES = k3balsaoutputplugin.cpp
libk3balsaoutputplugin_la_CFLAGS = $(ALSA_CFLAGS) libk3balsaoutputplugin_la_CFLAGS = $(ALSA_CFLAGS)
libk3balsaoutputplugin_la_LIBADD = ../../../libk3b/libk3b.la $(ALSA_LIBS) libk3balsaoutputplugin_la_LIBADD = ../../../libk3b/libk3b.la $(ALSA_LIBS) $(LIB_TDECORE) $(LIB_QT) $(LIB_TDEUI)
libk3balsaoutputplugin_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) libk3balsaoutputplugin_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
pluginsdir = $(kde_datadir)/k3b/plugins pluginsdir = $(kde_datadir)/k3b/plugins

@ -4,7 +4,7 @@ kde_module_LTLIBRARIES = libk3bartsoutputplugin.la
libk3bartsoutputplugin_la_SOURCES = k3bartsoutputplugin.cpp libk3bartsoutputplugin_la_SOURCES = k3bartsoutputplugin.cpp
libk3bartsoutputplugin_la_LIBADD = ../../../libk3b/libk3b.la -lartsc libk3bartsoutputplugin_la_LIBADD = ../../../libk3b/libk3b.la -lartsc $(LIB_TDECORE) $(LIB_QT)
libk3bartsoutputplugin_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) libk3bartsoutputplugin_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
pluginsdir = $(kde_datadir)/k3b/plugins pluginsdir = $(kde_datadir)/k3b/plugins

@ -4,7 +4,7 @@ kde_module_LTLIBRARIES = libk3bflacdecoder.la
libk3bflacdecoder_la_SOURCES = k3bflacdecoder.cpp libk3bflacdecoder_la_SOURCES = k3bflacdecoder.cpp
libk3bflacdecoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_TDEUI) -lFLAC++ -lFLAC $(taglib_libs) libk3bflacdecoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la $(LIB_TDEUI) $(LIB_TDECORE) $(LIB_QT) -lFLAC++ -lFLAC $(taglib_libs)
libk3bflacdecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) libk3bflacdecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
pluginsdir = $(kde_datadir)/k3b/plugins pluginsdir = $(kde_datadir)/k3b/plugins

@ -4,7 +4,7 @@ kde_module_LTLIBRARIES = libk3blibsndfiledecoder.la
libk3blibsndfiledecoder_la_SOURCES = k3blibsndfiledecoder.cpp libk3blibsndfiledecoder_la_SOURCES = k3blibsndfiledecoder.cpp
libk3blibsndfiledecoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_TDEUI) -lsndfile libk3blibsndfiledecoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la ../../../libk3b/plugin/libk3bplugin.la $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KIO) -lsndfile
libk3blibsndfiledecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) libk3blibsndfiledecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
pluginsdir = $(kde_datadir)/k3b/plugins pluginsdir = $(kde_datadir)/k3b/plugins

@ -7,7 +7,7 @@ kde_module_LTLIBRARIES = libk3bmpcdecoder.la
libk3bmpcdecoder_la_SOURCES = k3bmpcdecoder.cpp k3bmpcwrapper.cpp libk3bmpcdecoder_la_SOURCES = k3bmpcdecoder.cpp k3bmpcwrapper.cpp
libk3bmpcdecoder_la_LIBADD = ../../../libk3b/libk3b.la $(MPC_LIBS) libk3bmpcdecoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la ../../../libk3b/plugin/libk3bplugin.la $(MPC_LIBS) $(LIB_QT) $(LIB_TDECORE) $(LIB_KIO) $(LIB_TDEUI)
libk3bmpcdecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) libk3bmpcdecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
pluginsdir = $(kde_datadir)/k3b/plugins pluginsdir = $(kde_datadir)/k3b/plugins

@ -5,6 +5,8 @@ kde_module_LTLIBRARIES = libk3boggvorbisdecoder.la
libk3boggvorbisdecoder_la_SOURCES = k3boggvorbisdecoder.cpp libk3boggvorbisdecoder_la_SOURCES = k3boggvorbisdecoder.cpp
libk3boggvorbisdecoder_la_LIBADD = ../../../libk3b/libk3b.la -logg -lvorbis -lvorbisfile libk3boggvorbisdecoder_la_LIBADD = ../../../libk3b/libk3b.la -logg -lvorbis -lvorbisfile
libk3boggvorbisdecoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3b/plugin/libk3bplugin.la ../../../libk3bdevice/libk3bdevice.la -logg -lvorbis -lvorbisfile $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KIO)
libk3boggvorbisdecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) libk3boggvorbisdecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
pluginsdir = $(kde_datadir)/k3b/plugins pluginsdir = $(kde_datadir)/k3b/plugins

@ -4,7 +4,7 @@ kde_module_LTLIBRARIES = libk3bwavedecoder.la
libk3bwavedecoder_la_SOURCES = k3bwavedecoder.cpp libk3bwavedecoder_la_SOURCES = k3bwavedecoder.cpp
libk3bwavedecoder_la_LIBADD = $(LIB_TDECORE) ../../../libk3b/libk3b.la libk3bwavedecoder_la_LIBADD = $(LIB_TDECORE) $(LIB_QT) ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la
libk3bwavedecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) libk3bwavedecoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
pluginsdir = $(kde_datadir)/k3b/plugins pluginsdir = $(kde_datadir)/k3b/plugins

@ -6,7 +6,7 @@ libk3bexternalencoder_la_SOURCES = base_k3bexternalencoderconfigwidget.ui \
base_k3bexternalencodereditwidget.ui k3bexternalencoder.cpp \ base_k3bexternalencodereditwidget.ui k3bexternalencoder.cpp \
k3bexternalencoderconfigwidget.cpp k3bexternalencodercommand.cpp k3bexternalencoderconfigwidget.cpp k3bexternalencodercommand.cpp
libk3bexternalencoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_TDECORE) libk3bexternalencoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la $(LIB_TDECORE) $(LIB_QT) $(LIB_TDEUI)
libk3bexternalencoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) libk3bexternalencoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
pluginsdir = $(kde_datadir)/k3b/plugins pluginsdir = $(kde_datadir)/k3b/plugins

@ -4,7 +4,7 @@ kde_module_LTLIBRARIES = libk3boggvorbisencoder.la
libk3boggvorbisencoder_la_SOURCES = base_k3boggvorbisencodersettingswidget.ui k3boggvorbisencoder.cpp libk3boggvorbisencoder_la_SOURCES = base_k3boggvorbisencodersettingswidget.ui k3boggvorbisencoder.cpp
libk3boggvorbisencoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_TDECORE) -logg -lvorbis -lvorbisenc libk3boggvorbisencoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_TDECORE) -logg -lvorbis -lvorbisenc $(LIB_QT) $(LIB_TDEUI)
libk3boggvorbisencoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) libk3boggvorbisencoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
pluginsdir = $(kde_datadir)/k3b/plugins pluginsdir = $(kde_datadir)/k3b/plugins

@ -4,7 +4,7 @@ kde_module_LTLIBRARIES = libk3bsoxencoder.la
libk3bsoxencoder_la_SOURCES = base_k3bsoxencoderconfigwidget.ui k3bsoxencoder.cpp libk3bsoxencoder_la_SOURCES = base_k3bsoxencoderconfigwidget.ui k3bsoxencoder.cpp
libk3bsoxencoder_la_LIBADD = ../../../libk3b/libk3b.la $(LIB_TDECORE) libk3bsoxencoder_la_LIBADD = ../../../libk3b/libk3b.la ../../../libk3bdevice/libk3bdevice.la $(LIB_TDECORE) $(LIB_QT)
libk3bsoxencoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries) libk3bsoxencoder_la_LDFLAGS = -avoid-version -module -no-undefined $(all_libraries)
pluginsdir = $(kde_datadir)/k3b/plugins pluginsdir = $(kde_datadir)/k3b/plugins

Loading…
Cancel
Save