Update autotools for new DSO linkage style

Thanks to Francois Andriot for the patch
pull/1/head
Slávek Banko 12 years ago
parent 5ac0bbacaf
commit d388dc54bb

@ -72,7 +72,7 @@ libkpresenterprivate_la_LDFLAGS = $(all_libraries) -version-info 4:0 -no-undefin
if include_ARTS
ARTSKDE = -lartskde
endif
libkpresenterprivate_la_LIBADD = autoformEdit/libaf.la $(LIB_KOFFICEUI) $(LIB_KOTEXT) $(LIB_KOPAINTER) $(ARTSKDE)
libkpresenterprivate_la_LIBADD = autoformEdit/libaf.la $(LIB_KOFFICEUI) $(LIB_KOTEXT) $(LIB_KOPAINTER) $(ARTSKDE) -lsoundserver_idl -lmcop
## The part
kde_module_LTLIBRARIES = libkpresenterpart.la

@ -4,7 +4,7 @@ SUBDIRS = . tests
KDE_CXXFLAGS = $(USE_RTTI) $(WOVERLOADED_VIRTUAL)
INCLUDES= $(KSTORE_INCLUDES) $(KWMF_INCLUDES) $(all_includes)
libkofficecore_la_LIBADD = $(LIB_KSTORE) $(LIB_KOWMF) $(LIB_KPARTS) \
$(LIB_TDEPRINT) $(LIB_KABC) $(LIB_KWMF)
$(LIB_TDEPRINT) $(LIB_KABC) $(LIB_KWMF) -lDCOP
####### Files

@ -2,7 +2,7 @@ INCLUDES = -I$(srcdir)/editors -I$(top_srcdir)/lib/kofficecore $(all_includes)
lib_LTLIBRARIES = libkoproperty.la
libkoproperty_la_LIBADD = $(LIB_TDEUI) ./editors/libkopropertyeditors.la
libkoproperty_la_LIBADD = $(LIB_TDEUI) ./editors/libkopropertyeditors.la $(LIB_QT) $(LIB_TDECORE)
libkoproperty_la_LDFLAGS = -no-undefined $(all_libraries) -version-info 2:0:0
libkoproperty_la_SOURCES = property.cpp customproperty.cpp set.cpp editor.cpp \
editoritem.cpp factory.cpp widget.cpp

@ -3,7 +3,7 @@
INCLUDES= $(KOFFICECORE_INCLUDES) -I$(srcdir) $(all_includes)
libkwmf_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 -no-undefined
# We use tdecore for kdDebug :)
libkwmf_la_LIBADD = $(LIB_TDECORE)
libkwmf_la_LIBADD = $(LIB_TDECORE) $(LIB_QT)
####### Files
@ -16,4 +16,4 @@ noinst_HEADERS = kwmf.h qwmf.h metafuncs.h wmfstruct.h kowmfreadprivate.h kowmfs
libkowmf_la_SOURCES = kowmfreadprivate.cc kowmfstack.cc kowmfread.cc kowmfwrite.cc kowmfpaint.cc
libkowmf_la_LDFLAGS = $(all_libraries) -version-info 2:0:0 -no-undefined
libkowmf_la_LIBADD = $(LIB_TDECORE)
libkowmf_la_LIBADD = $(LIB_TDECORE) $(LIB_QT)

@ -7,7 +7,7 @@ INCLUDES = $(KOFFICECORE_INCLUDES) $(all_includes)
####### Files
libkstore_la_LIBADD = $(LIB_KIO)
libkstore_la_LIBADD = $(LIB_KIO) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI)
libkstore_la_SOURCES = KoStore.cpp KoTarStore.cpp KoDirectoryStore.cpp KoZipStore.cpp KoStoreDrag.cpp KoStoreBase.cpp KoXmlWriter.cpp
libkstore_la_LDFLAGS = $(all_libraries) -version-info 3:0:0 $(KDE_LDFLAGS) -no-undefined
include_HEADERS = KoStore.h KoStoreDevice.h KoXmlWriter.h

Loading…
Cancel
Save