From 5c69fcd39111465de16c933763d3c918703048d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 13 Jun 2012 08:37:52 +0200 Subject: Fix FTBFS due to missing libraries Clean up lib paths in LDFLAGS - moved to LIBADD For KWord and and KPresenter added linking kspell2 For KSpread added linking kutils This closes Bug 657 --- filters/chalk/tiff/Makefile.am | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'filters/chalk/tiff') diff --git a/filters/chalk/tiff/Makefile.am b/filters/chalk/tiff/Makefile.am index 32750558..c16e7f1e 100644 --- a/filters/chalk/tiff/Makefile.am +++ b/filters/chalk/tiff/Makefile.am @@ -2,17 +2,23 @@ kde_module_LTLIBRARIES = libchalktiffimport.la libchalktiffexport.la libchalktiffexport_la_LDFLAGS = -avoid-version -module -no-undefined \ $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts \ - -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ - -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor + -llcms libchalktiffexport_la_LIBADD = $(top_builddir)/chalk/libchalkcommon.la \ - libchalktiffconverter.la $(KOFFICE_LIBS) -ltiff + libchalktiffconverter.la $(KOFFICE_LIBS) \ + ../../../chalk/core/libchalkimage.la \ + ../../../chalk/ui/libchalkui.la \ + ../../../chalk/chalkcolor/libchalkcolor.la \ + -ltiff libchalktiffimport_la_LDFLAGS = -avoid-version -module -no-undefined \ $(KDE_PLUGIN) $(KDE_RPATH) $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts \ - -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ - -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor + -llcms libchalktiffimport_la_LIBADD = $(top_builddir)/chalk/libchalkcommon.la \ - libchalktiffconverter.la $(KOFFICE_LIBS) -ltiff + libchalktiffconverter.la $(KOFFICE_LIBS) \ + ../../../chalk/core/libchalkimage.la \ + ../../../chalk/ui/libchalkui.la \ + ../../../chalk/chalkcolor/libchalkcolor.la \ + -ltiff INCLUDES= \ -I$(srcdir) \ @@ -48,8 +54,11 @@ kdelnk_DATA = chalk_tiff.desktop noinst_HEADERS = kis_dlg_options_tiff.h kis_tiff_writer_visitor.h \ kis_tiff_ycbcr_reader.h libchalktiffconverter_la_LDFLAGS = -no-undefined $(all_libraries) -ltdecore -ltdeui $(LIB_QT) -lkjs -ltdefx -lkio -lkparts \ - -L../../../lib/kofficecore/.libs/ -lkofficecore -llcms \ - -L../../../lib/kofficeui/.libs/ -lkofficeui -L../../../lib/store/.libs/ -lkstore -L../../../chalk/core/.libs/ -lchalkimage -L../../../chalk/ui/.libs/ -lchalkui -L../../../chalk/chalkcolor/.libs/ -lchalkcolor + -llcms +libchalktiffconverter_la_LIBADD = $(KOFFICE_LIBS) \ + ../../../chalk/core/libchalkimage.la \ + ../../../chalk/ui/libchalkui.la \ + ../../../chalk/chalkcolor/libchalkcolor.la noinst_LTLIBRARIES = libchalktiffconverter.la libchalktiffconverter_la_SOURCES = kis_tiff_converter.cc kis_tiff_stream.cc \ kis_tiff_writer_visitor.cpp kis_tiff_reader.cc kis_tiff_ycbcr_reader.cc -- cgit v1.2.1