summaryrefslogtreecommitdiffstats
path: root/krita
diff options
context:
space:
mode:
Diffstat (limited to 'krita')
-rw-r--r--krita/Makefile.am4
-rw-r--r--krita/colorspaces/cmyk_u16/Makefile.am2
-rw-r--r--krita/colorspaces/cmyk_u8/Makefile.am2
-rw-r--r--krita/colorspaces/gray_u16/Makefile.am2
-rw-r--r--krita/colorspaces/gray_u8/Makefile.am2
-rw-r--r--krita/colorspaces/lms_f32/Makefile.am2
-rw-r--r--krita/colorspaces/rgb_f16half/Makefile.am2
-rw-r--r--krita/colorspaces/rgb_f32/Makefile.am2
-rw-r--r--krita/colorspaces/rgb_u16/Makefile.am2
-rw-r--r--krita/colorspaces/rgb_u8/Makefile.am4
-rw-r--r--krita/colorspaces/wet/Makefile.am3
-rw-r--r--krita/colorspaces/ycbcr_u16/Makefile.am2
-rw-r--r--krita/colorspaces/ycbcr_u8/Makefile.am2
-rw-r--r--krita/plugins/filters/blur/Makefile.am3
-rw-r--r--krita/plugins/filters/bumpmap/Makefile.am3
-rw-r--r--krita/plugins/filters/cimg/Makefile.am3
-rw-r--r--krita/plugins/filters/colorify/Makefile.am3
-rw-r--r--krita/plugins/filters/colors/Makefile.am3
-rw-r--r--krita/plugins/filters/colorsfilters/Makefile.am3
-rw-r--r--krita/plugins/filters/convolutionfilters/Makefile.am3
-rw-r--r--krita/plugins/filters/embossfilter/Makefile.am3
-rw-r--r--krita/plugins/filters/example/Makefile.am3
-rw-r--r--krita/plugins/filters/fastcolortransfer/Makefile.am3
-rw-r--r--krita/plugins/filters/imageenhancement/Makefile.am3
-rw-r--r--krita/plugins/filters/lenscorrectionfilter/Makefile.am3
-rw-r--r--krita/plugins/filters/levelfilter/Makefile.am3
-rw-r--r--krita/plugins/filters/noisefilter/Makefile.am3
-rw-r--r--krita/plugins/filters/oilpaintfilter/Makefile.am3
-rw-r--r--krita/plugins/filters/pixelizefilter/Makefile.am3
-rw-r--r--krita/plugins/filters/raindropsfilter/Makefile.am3
-rw-r--r--krita/plugins/filters/randompickfilter/Makefile.am3
-rw-r--r--krita/plugins/filters/roundcorners/Makefile.am3
-rw-r--r--krita/plugins/filters/smalltilesfilter/Makefile.am3
-rw-r--r--krita/plugins/filters/sobelfilter/Makefile.am3
-rw-r--r--krita/plugins/filters/unsharp/Makefile.am3
-rw-r--r--krita/plugins/filters/wavefilter/Makefile.am3
-rw-r--r--krita/plugins/paintops/defaultpaintops/Makefile.am3
-rw-r--r--krita/plugins/tools/defaulttools/Makefile.am3
-rw-r--r--krita/plugins/tools/selectiontools/Makefile.am3
-rw-r--r--krita/plugins/tools/tool_crop/Makefile.am3
-rw-r--r--krita/plugins/tools/tool_curves/Makefile.am3
-rw-r--r--krita/plugins/tools/tool_filter/Makefile.am3
-rw-r--r--krita/plugins/tools/tool_perspectivegrid/Makefile.am3
-rw-r--r--krita/plugins/tools/tool_perspectivetransform/Makefile.am3
-rw-r--r--krita/plugins/tools/tool_polygon/Makefile.am3
-rw-r--r--krita/plugins/tools/tool_polyline/Makefile.am3
-rw-r--r--krita/plugins/tools/tool_selectsimilar/Makefile.am3
-rw-r--r--krita/plugins/tools/tool_star/Makefile.am3
-rw-r--r--krita/plugins/tools/tool_transform/Makefile.am3
49 files changed, 88 insertions, 51 deletions
diff --git a/krita/Makefile.am b/krita/Makefile.am
index c7c74593..db9d7f0a 100644
--- a/krita/Makefile.am
+++ b/krita/Makefile.am
@@ -3,13 +3,13 @@ INCLUDES = $(KOFFICE_INCLUDES) $(KOPAINTER_INCLUDES) $(all_includes)
## The common lib, shared between the part, the plugins, and the filters
lib_LTLIBRARIES = libkritacommon.la
libkritacommon_la_SOURCES = dummy.cc
-libkritacommon_la_LDFLAGS = $(all_libraries) -version-info 1:0 -no-undefined
+libkritacommon_la_LDFLAGS = $(all_libraries) $(LIB_QT) -version-info 1:0 -no-undefined
libkritacommon_la_LIBADD = sdk/libkritasdk.la core/libkritaimage.la ui/libkritaui.la kritacolor/libkritacolor.la $(LCMS_LIBS) $(LIB_KOFFICEUI) $(LIB_KOPAINTER) $(LIB_KOPALETTE) $(LIB_XINPUTEXT)
## The part
kde_module_LTLIBRARIES = libkritapart.la
libkritapart_la_SOURCES = krita_part_init.cc
-libkritapart_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+libkritapart_la_LDFLAGS = $(all_libraries) $(LIB_QT) -L../lib/kofficecore/.libs/ -lkofficecore -L../lib/kofficeui/.libs/ -lkofficeui -L../lib/store/.libs/ -lkstore -L../krita/ui/.libs -lkritaui -module $(KDE_PLUGIN)
libkritapart_la_LIBADD = libkritacommon.la
METASOURCES = AUTO
diff --git a/krita/colorspaces/cmyk_u16/Makefile.am b/krita/colorspaces/cmyk_u16/Makefile.am
index 913ec6ab..c2ef5f8c 100644
--- a/krita/colorspaces/cmyk_u16/Makefile.am
+++ b/krita/colorspaces/cmyk_u16/Makefile.am
@@ -18,7 +18,7 @@ kde_module_LTLIBRARIES = krita_cmyk_u16_plugin.la
krita_cmyk_u16_plugin_la_SOURCES = cmyk_u16_plugin.cc
noinst_HEADERS = cmyk_u16_plugin.h kis_cmyk_u16_colorspace.h
-krita_cmyk_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+krita_cmyk_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
krita_cmyk_u16_plugin_la_LIBADD = libkrita_cmyk_u16.la ../../kritacolor/libkritacolor.la
krita_cmyk_u16_plugin_la_METASOURCES = AUTO
diff --git a/krita/colorspaces/cmyk_u8/Makefile.am b/krita/colorspaces/cmyk_u8/Makefile.am
index 2816451f..98e5ac52 100644
--- a/krita/colorspaces/cmyk_u8/Makefile.am
+++ b/krita/colorspaces/cmyk_u8/Makefile.am
@@ -11,7 +11,7 @@ kde_module_LTLIBRARIES = kritacmykplugin.la
kritacmykplugin_la_SOURCES = cmyk_plugin.cc kis_cmyk_colorspace.cc
noinst_HEADERS = cmyk_plugin.h kis_cmyk_colorspace.h
-kritacmykplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritacmykplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
kritacmykplugin_la_LIBADD = ../../kritacolor/libkritacolor.la
kritacmykplugin_la_METASOURCES = AUTO
diff --git a/krita/colorspaces/gray_u16/Makefile.am b/krita/colorspaces/gray_u16/Makefile.am
index d9ec51e1..87a94b92 100644
--- a/krita/colorspaces/gray_u16/Makefile.am
+++ b/krita/colorspaces/gray_u16/Makefile.am
@@ -19,7 +19,7 @@ kde_module_LTLIBRARIES = krita_gray_u16_plugin.la
krita_gray_u16_plugin_la_SOURCES = gray_u16_plugin.cc
noinst_HEADERS = gray_u16_plugin.h kis_gray_u16_colorspace.h
-krita_gray_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+krita_gray_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
krita_gray_u16_plugin_la_LIBADD = libkrita_gray_u16.la ../../kritacolor/libkritacolor.la
krita_gray_u16_plugin_la_METASOURCES = AUTO
diff --git a/krita/colorspaces/gray_u8/Makefile.am b/krita/colorspaces/gray_u8/Makefile.am
index 6c84b6b3..df24b514 100644
--- a/krita/colorspaces/gray_u8/Makefile.am
+++ b/krita/colorspaces/gray_u8/Makefile.am
@@ -18,7 +18,7 @@ kde_module_LTLIBRARIES = kritagrayplugin.la
kritagrayplugin_la_SOURCES = gray_plugin.cc
noinst_HEADERS = gray_plugin.h kis_gray_colorspace.h
-kritagrayplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritagrayplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
kritagrayplugin_la_LIBADD = libkritagrayscale.la ../../kritacolor/libkritacolor.la
kritagrayplugin_la_METASOURCES = AUTO
diff --git a/krita/colorspaces/lms_f32/Makefile.am b/krita/colorspaces/lms_f32/Makefile.am
index f34e9a20..4904f175 100644
--- a/krita/colorspaces/lms_f32/Makefile.am
+++ b/krita/colorspaces/lms_f32/Makefile.am
@@ -21,7 +21,7 @@ kde_module_LTLIBRARIES = krita_lms_f32_plugin.la
krita_lms_f32_plugin_la_SOURCES = lms_f32_plugin.cc
noinst_HEADERS = lms_f32_plugin.h kis_lms_f32_colorspace.h
-krita_lms_f32_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+krita_lms_f32_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
krita_lms_f32_plugin_la_LIBADD = libkrita_lms_f32.la ../../kritacolor/libkritacolor.la
krita_lms_f32_plugin_la_METASOURCES = AUTO
diff --git a/krita/colorspaces/rgb_f16half/Makefile.am b/krita/colorspaces/rgb_f16half/Makefile.am
index d49bd2ef..89ef5d89 100644
--- a/krita/colorspaces/rgb_f16half/Makefile.am
+++ b/krita/colorspaces/rgb_f16half/Makefile.am
@@ -22,7 +22,7 @@ kde_module_LTLIBRARIES = krita_rgb_f16half_plugin.la
krita_rgb_f16half_plugin_la_SOURCES = rgb_f16half_plugin.cc
noinst_HEADERS = rgb_f16half_plugin.h kis_rgb_f16half_colorspace.h
-krita_rgb_f16half_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+krita_rgb_f16half_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
krita_rgb_f16half_plugin_la_LIBADD = libkrita_rgb_f16half.la ../../kritacolor/libkritacolor.la
krita_rgb_f16half_plugin_la_METASOURCES = AUTO
diff --git a/krita/colorspaces/rgb_f32/Makefile.am b/krita/colorspaces/rgb_f32/Makefile.am
index 07c65b00..5f08e271 100644
--- a/krita/colorspaces/rgb_f32/Makefile.am
+++ b/krita/colorspaces/rgb_f32/Makefile.am
@@ -21,7 +21,7 @@ kde_module_LTLIBRARIES = krita_rgb_f32_plugin.la
krita_rgb_f32_plugin_la_SOURCES = rgb_f32_plugin.cc
noinst_HEADERS = rgb_f32_plugin.h kis_rgb_f32_colorspace.h
-krita_rgb_f32_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+krita_rgb_f32_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
krita_rgb_f32_plugin_la_LIBADD = libkrita_rgb_f32.la ../../kritacolor/libkritacolor.la
krita_rgb_f32_plugin_la_METASOURCES = AUTO
diff --git a/krita/colorspaces/rgb_u16/Makefile.am b/krita/colorspaces/rgb_u16/Makefile.am
index 927debfa..f087b8f1 100644
--- a/krita/colorspaces/rgb_u16/Makefile.am
+++ b/krita/colorspaces/rgb_u16/Makefile.am
@@ -19,7 +19,7 @@ kde_module_LTLIBRARIES = krita_rgb_u16_plugin.la
krita_rgb_u16_plugin_la_SOURCES = rgb_u16_plugin.cc
noinst_HEADERS = rgb_u16_plugin.h kis_rgb_u16_colorspace.h
-krita_rgb_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+krita_rgb_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
krita_rgb_u16_plugin_la_LIBADD = libkrita_rgb_u16.la ../../kritacolor/libkritacolor.la
krita_rgb_u16_plugin_la_METASOURCES = AUTO
diff --git a/krita/colorspaces/rgb_u8/Makefile.am b/krita/colorspaces/rgb_u8/Makefile.am
index 4d8ab87c..9589c6c5 100644
--- a/krita/colorspaces/rgb_u8/Makefile.am
+++ b/krita/colorspaces/rgb_u8/Makefile.am
@@ -9,7 +9,7 @@ INCLUDES = -I$(srcdir)/../../sdk \
lib_LTLIBRARIES = libkritargb.la
libkritargb_la_SOURCES = kis_rgb_colorspace.cc
-libkritargb_la_LDFLAGS = $(all_libraries)
+libkritargb_la_LDFLAGS = $(all_libraries) $(LIB_QT)
libkritargb_la_LIBADD = ../../kritacolor/libkritacolor.la
# Install this plugin in the KDE modules directory
@@ -19,7 +19,7 @@ kde_module_LTLIBRARIES = kritargbplugin.la
kritargbplugin_la_SOURCES = rgb_plugin.cc
noinst_HEADERS = rgb_plugin.h kis_rgb_colorspace.h
-kritargbplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritargbplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
kritargbplugin_la_LIBADD = libkritargb.la ../../kritacolor/libkritacolor.la
kritargbplugin_la_METASOURCES = AUTO
diff --git a/krita/colorspaces/wet/Makefile.am b/krita/colorspaces/wet/Makefile.am
index aaf561b0..fcbcafc9 100644
--- a/krita/colorspaces/wet/Makefile.am
+++ b/krita/colorspaces/wet/Makefile.am
@@ -20,7 +20,8 @@ kde_module_LTLIBRARIES = kritawetplugin.la
kritawetplugin_la_SOURCES = kis_wet_colorspace.cc wet_plugin.cc kis_wetop.cc kis_wet_palette_widget.cc kis_wetness_visualisation_filter.cc kis_texture_painter.cc kis_texture_filter.cc wetphysicsfilter.cc wdgpressure.ui
noinst_HEADERS = kis_wet_colorspace.h wet_plugin.h wetphysicsfilter.h kis_wetop.cc kis_wet_palette_widget.h kis_texture_painter.h kis_wetness_visualisation_filter.h kis_texture_filter.h wetphysicsfilter.h
-kritawetplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritawetplugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms -L../../../krita/kritacolor/.libs -lkritacolor -L../../../krita/core/.libs -lkritaimage \
+ -L../../../krita/ui/.libs -lkritaui
kritawetplugin_la_LIBADD = ../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
kritawetplugin_la_METASOURCES = AUTO
diff --git a/krita/colorspaces/ycbcr_u16/Makefile.am b/krita/colorspaces/ycbcr_u16/Makefile.am
index 5dbfac1b..d8759b34 100644
--- a/krita/colorspaces/ycbcr_u16/Makefile.am
+++ b/krita/colorspaces/ycbcr_u16/Makefile.am
@@ -19,7 +19,7 @@ kde_module_LTLIBRARIES = krita_ycbcr_u16_plugin.la
krita_ycbcr_u16_plugin_la_SOURCES = ycbcr_u16_plugin.cc
noinst_HEADERS = ycbcr_u16_plugin.h kis_ycbcr_u16_colorspace.h
-krita_ycbcr_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+krita_ycbcr_u16_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
krita_ycbcr_u16_plugin_la_LIBADD = libkrita_ycbcr_u16.la ../../kritacolor/libkritacolor.la
METASOURCES = AUTO
diff --git a/krita/colorspaces/ycbcr_u8/Makefile.am b/krita/colorspaces/ycbcr_u8/Makefile.am
index bb534bc1..4016824f 100644
--- a/krita/colorspaces/ycbcr_u8/Makefile.am
+++ b/krita/colorspaces/ycbcr_u8/Makefile.am
@@ -19,7 +19,7 @@ kde_module_LTLIBRARIES = krita_ycbcr_u8_plugin.la
krita_ycbcr_u8_plugin_la_SOURCES = ycbcr_u8_plugin.cc
noinst_HEADERS = ycbcr_u8_plugin.h kis_ycbcr_u8_colorspace.h
-krita_ycbcr_u8_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+krita_ycbcr_u8_plugin_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -llcms
krita_ycbcr_u8_plugin_la_LIBADD = libkrita_ycbcr_u8.la ../../kritacolor/libkritacolor.la
METASOURCES = AUTO
diff --git a/krita/plugins/filters/blur/Makefile.am b/krita/plugins/filters/blur/Makefile.am
index 5d89ac20..d6b31b0d 100644
--- a/krita/plugins/filters/blur/Makefile.am
+++ b/krita/plugins/filters/blur/Makefile.am
@@ -14,7 +14,8 @@ kritablurfilter_la_SOURCES = wdgblur.ui blur.cc kis_blur_filter.cc kis_wdg_blur.
kde_module_LTLIBRARIES = kritablurfilter.la
noinst_HEADERS = blur.h kis_blur_filter.h
-kritablurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritablurfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui -L../../../../lib/kofficeui/.libs -lkofficeui
kritablurfilter_la_LIBADD = ../../../libkritacommon.la
METASOURCES = AUTO
diff --git a/krita/plugins/filters/bumpmap/Makefile.am b/krita/plugins/filters/bumpmap/Makefile.am
index 5018a4e3..c71ddae8 100644
--- a/krita/plugins/filters/bumpmap/Makefile.am
+++ b/krita/plugins/filters/bumpmap/Makefile.am
@@ -12,7 +12,8 @@ kritabumpmap_la_SOURCES = bumpmap.cc wdgbumpmap.ui
kde_module_LTLIBRARIES = kritabumpmap.la
noinst_HEADERS = bumpmap.h
-kritabumpmap_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritabumpmap_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritabumpmap_la_LIBADD = ../../../libkritacommon.la
kritabumpmap_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/cimg/Makefile.am b/krita/plugins/filters/cimg/Makefile.am
index a359e5f2..980e8142 100644
--- a/krita/plugins/filters/cimg/Makefile.am
+++ b/krita/plugins/filters/cimg/Makefile.am
@@ -25,7 +25,8 @@ noinst_HEADERS = \
kis_cimg_plugin.h\
kis_cimgconfig_widget.h
-kritacimg_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritacimg_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritacimg_la_LIBADD = ../../../libkritacommon.la
kritacimg_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/colorify/Makefile.am b/krita/plugins/filters/colorify/Makefile.am
index 4fbd0479..533c141e 100644
--- a/krita/plugins/filters/colorify/Makefile.am
+++ b/krita/plugins/filters/colorify/Makefile.am
@@ -14,7 +14,8 @@ INCLUDES = -I$(srcdir)/../../../sdk \
kde_module_LTLIBRARIES = kritacolorify.la
-kritacolorify_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritacolorify_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritacolorify_la_LIBADD = ../../../libkritacommon.la
METASOURCES = AUTO
diff --git a/krita/plugins/filters/colors/Makefile.am b/krita/plugins/filters/colors/Makefile.am
index bbac0895..11b48a39 100644
--- a/krita/plugins/filters/colors/Makefile.am
+++ b/krita/plugins/filters/colors/Makefile.am
@@ -14,7 +14,8 @@ kritaextensioncolorsfilters_la_SOURCES = colors.cc kis_minmax_filters.cc kis_col
kde_module_LTLIBRARIES = kritaextensioncolorsfilters.la
noinst_HEADERS = colors.h
-kritaextensioncolorsfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritaextensioncolorsfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritaextensioncolorsfilters_la_LIBADD = ../../../libkritacommon.la
METASOURCES = AUTO
diff --git a/krita/plugins/filters/colorsfilters/Makefile.am b/krita/plugins/filters/colorsfilters/Makefile.am
index 28234235..ef4cc545 100644
--- a/krita/plugins/filters/colorsfilters/Makefile.am
+++ b/krita/plugins/filters/colorsfilters/Makefile.am
@@ -17,7 +17,8 @@ noinst_HEADERS = colorsfilters.h \
kis_perchannel_filter.h \
kis_brightness_contrast_filter.h
-kritacolorsfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritacolorsfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritacolorsfilters_la_LIBADD = ../../../libkritacommon.la
kde_module_LTLIBRARIES = kritacolorsfilters.la
diff --git a/krita/plugins/filters/convolutionfilters/Makefile.am b/krita/plugins/filters/convolutionfilters/Makefile.am
index 0e55cfb4..73b6452f 100644
--- a/krita/plugins/filters/convolutionfilters/Makefile.am
+++ b/krita/plugins/filters/convolutionfilters/Makefile.am
@@ -21,7 +21,8 @@ noinst_HEADERS = convolutionfilters.h \
kis_custom_convolution_filter_configuration_widget.h \
kis_convolution_filter.h
-kritaconvolutionfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritaconvolutionfilters_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritaconvolutionfilters_la_LIBADD = ../../../libkritacommon.la
kritaconvolutionfilters_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/embossfilter/Makefile.am b/krita/plugins/filters/embossfilter/Makefile.am
index 18a3fed7..248162a0 100644
--- a/krita/plugins/filters/embossfilter/Makefile.am
+++ b/krita/plugins/filters/embossfilter/Makefile.am
@@ -17,7 +17,8 @@ kritaembossfilter_la_SOURCES = kis_emboss_filter_plugin.cc \
noinst_HEADERS = kis_emboss_filter_plugin.h \
kis_emboss_filter.h
-kritaembossfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritaembossfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritaembossfilter_la_LIBADD = ../../../libkritacommon.la
kritaembossfilter_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/example/Makefile.am b/krita/plugins/filters/example/Makefile.am
index 17be46ce..2d53d3f1 100644
--- a/krita/plugins/filters/example/Makefile.am
+++ b/krita/plugins/filters/example/Makefile.am
@@ -15,7 +15,8 @@ kritaexample_la_SOURCES = example.cc
kde_module_LTLIBRARIES = kritaexample.la
noinst_HEADERS = example.h
-kritaexample_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritaexample_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritaexample_la_LIBADD = ../../../libkritacommon.la
kritaexample_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/fastcolortransfer/Makefile.am b/krita/plugins/filters/fastcolortransfer/Makefile.am
index 9c0d141c..acbd329a 100644
--- a/krita/plugins/filters/fastcolortransfer/Makefile.am
+++ b/krita/plugins/filters/fastcolortransfer/Makefile.am
@@ -16,7 +16,8 @@ kritafastcolortransfer_la_SOURCES = wdgfastcolortransfer.ui fastcolortransfer.cc
kde_module_LTLIBRARIES = kritafastcolortransfer.la
noinst_HEADERS = fastcolortransfer.h kis_wdg_fastcolortransfer.h
-kritafastcolortransfer_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritafastcolortransfer_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui -L../../../../lib/kofficecore/.libs -lkofficecore
kritafastcolortransfer_la_LIBADD = ../../../libkritacommon.la
METASOURCES = AUTO
diff --git a/krita/plugins/filters/imageenhancement/Makefile.am b/krita/plugins/filters/imageenhancement/Makefile.am
index ff08fa27..013decb4 100644
--- a/krita/plugins/filters/imageenhancement/Makefile.am
+++ b/krita/plugins/filters/imageenhancement/Makefile.am
@@ -15,7 +15,8 @@ kritaimageenhancement_la_SOURCES = imageenhancement.cpp \
kde_module_LTLIBRARIES = kritaimageenhancement.la
-kritaimageenhancement_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritaimageenhancement_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
noinst_HEADERS = imageenhancement.h kis_wavelet_noise_reduction.h
diff --git a/krita/plugins/filters/lenscorrectionfilter/Makefile.am b/krita/plugins/filters/lenscorrectionfilter/Makefile.am
index 77f47e89..0e5ee12e 100644
--- a/krita/plugins/filters/lenscorrectionfilter/Makefile.am
+++ b/krita/plugins/filters/lenscorrectionfilter/Makefile.am
@@ -16,7 +16,8 @@ kritalenscorrectionfilter_la_SOURCES = lenscorrectionfilter.cc \
kde_module_LTLIBRARIES = kritalenscorrectionfilter.la
noinst_HEADERS = lenscorrectionfilter.h
-kritalenscorrectionfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritalenscorrectionfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritalenscorrectionfilter_la_LIBADD = ../../../libkritacommon.la
METASOURCES = AUTO
diff --git a/krita/plugins/filters/levelfilter/Makefile.am b/krita/plugins/filters/levelfilter/Makefile.am
index b72bc055..d3ec2173 100644
--- a/krita/plugins/filters/levelfilter/Makefile.am
+++ b/krita/plugins/filters/levelfilter/Makefile.am
@@ -16,7 +16,8 @@ noinst_HEADERS = levelfilter.h \
kis_level_filter.h \
kgradientslider.h
-kritalevelfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritalevelfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritalevelfilter_la_LIBADD = ../../../libkritacommon.la
kde_module_LTLIBRARIES = kritalevelfilter.la
diff --git a/krita/plugins/filters/noisefilter/Makefile.am b/krita/plugins/filters/noisefilter/Makefile.am
index 761cc763..f09ef5c3 100644
--- a/krita/plugins/filters/noisefilter/Makefile.am
+++ b/krita/plugins/filters/noisefilter/Makefile.am
@@ -16,7 +16,8 @@ kritanoisefilter_la_SOURCES = noisefilter.cc wdgnoiseoptions.ui \
kde_module_LTLIBRARIES = kritanoisefilter.la
noinst_HEADERS = noisefilter.h kis_wdg_noise.h
-kritanoisefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritanoisefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritanoisefilter_la_LIBADD = ../../../libkritacommon.la
kritanoisefilter_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/oilpaintfilter/Makefile.am b/krita/plugins/filters/oilpaintfilter/Makefile.am
index 4f114841..98eabf99 100644
--- a/krita/plugins/filters/oilpaintfilter/Makefile.am
+++ b/krita/plugins/filters/oilpaintfilter/Makefile.am
@@ -17,7 +17,8 @@ kritaoilpaintfilter_la_SOURCES = kis_oilpaint_filter_plugin.cc \
noinst_HEADERS = kis_oilpaint_filter_plugin.h \
kis_oilpaint_filter.h
-kritaoilpaintfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritaoilpaintfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritaoilpaintfilter_la_LIBADD = ../../../libkritacommon.la
kritaoilpaintfilter_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/pixelizefilter/Makefile.am b/krita/plugins/filters/pixelizefilter/Makefile.am
index 61d3ddd8..736a24a4 100644
--- a/krita/plugins/filters/pixelizefilter/Makefile.am
+++ b/krita/plugins/filters/pixelizefilter/Makefile.am
@@ -17,7 +17,8 @@ kritapixelizefilter_la_SOURCES = kis_pixelize_filter_plugin.cc \
noinst_HEADERS = kis_pixelize_filter_plugin.h \
kis_pixelize_filter.h
-kritapixelizefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritapixelizefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritapixelizefilter_la_LIBADD = ../../../libkritacommon.la
kritapixelizefilter_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/raindropsfilter/Makefile.am b/krita/plugins/filters/raindropsfilter/Makefile.am
index 6cd42c40..36ce4856 100644
--- a/krita/plugins/filters/raindropsfilter/Makefile.am
+++ b/krita/plugins/filters/raindropsfilter/Makefile.am
@@ -17,7 +17,8 @@ kritaraindropsfilter_la_SOURCES = kis_raindrops_filter_plugin.cc \
noinst_HEADERS = kis_raindrops_filter_plugin.h \
kis_raindrops_filter.h
-kritaraindropsfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritaraindropsfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritaraindropsfilter_la_LIBADD = ../../../libkritacommon.la
kritaraindropsfilter_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/randompickfilter/Makefile.am b/krita/plugins/filters/randompickfilter/Makefile.am
index 9fb1bb90..894c7c48 100644
--- a/krita/plugins/filters/randompickfilter/Makefile.am
+++ b/krita/plugins/filters/randompickfilter/Makefile.am
@@ -16,7 +16,8 @@ kritarandompickfilter_la_SOURCES = randompickfilter.cc wdgrandompickoptions.ui \
kde_module_LTLIBRARIES = kritarandompickfilter.la
noinst_HEADERS = randompickfilter.h
-kritarandompickfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritarandompickfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritarandompickfilter_la_LIBADD = ../../../libkritacommon.la
kritarandompickfilter_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/roundcorners/Makefile.am b/krita/plugins/filters/roundcorners/Makefile.am
index 43e6163d..b1c251e4 100644
--- a/krita/plugins/filters/roundcorners/Makefile.am
+++ b/krita/plugins/filters/roundcorners/Makefile.am
@@ -16,7 +16,8 @@ kritaroundcornersfilter_la_SOURCES = kis_round_corners_filter_plugin.cc \
noinst_HEADERS = kis_round_corners_filter_plugin.h \
kis_round_corners_filter.h
-kritaroundcornersfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritaroundcornersfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritaroundcornersfilter_la_LIBADD = ../../../libkritacommon.la
kritaroundcornersfilter_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/smalltilesfilter/Makefile.am b/krita/plugins/filters/smalltilesfilter/Makefile.am
index 7c62bb1d..3a76684a 100644
--- a/krita/plugins/filters/smalltilesfilter/Makefile.am
+++ b/krita/plugins/filters/smalltilesfilter/Makefile.am
@@ -16,7 +16,8 @@ kritasmalltilesfilter_la_SOURCES = kis_small_tiles_filter_plugin.cc \
noinst_HEADERS = kis_small_tiles_filter_plugin.h \
kis_small_tiles_filter.h
-kritasmalltilesfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritasmalltilesfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritasmalltilesfilter_la_LIBADD = ../../../libkritacommon.la
kritasmalltilesfilter_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/sobelfilter/Makefile.am b/krita/plugins/filters/sobelfilter/Makefile.am
index c83e1c7d..82566051 100644
--- a/krita/plugins/filters/sobelfilter/Makefile.am
+++ b/krita/plugins/filters/sobelfilter/Makefile.am
@@ -16,7 +16,8 @@ kritasobelfilter_la_SOURCES = kis_sobel_filter_plugin.cc \
noinst_HEADERS = kis_sobel_filter_plugin.h \
kis_sobel_filter.h
-kritasobelfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritasobelfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritasobelfilter_la_LIBADD = ../../../libkritacommon.la
kritasobelfilter_la_METASOURCES = AUTO
diff --git a/krita/plugins/filters/unsharp/Makefile.am b/krita/plugins/filters/unsharp/Makefile.am
index 5eabc3e8..83839d22 100644
--- a/krita/plugins/filters/unsharp/Makefile.am
+++ b/krita/plugins/filters/unsharp/Makefile.am
@@ -13,7 +13,8 @@ kritaunsharpfilter_la_SOURCES = wdgunsharp.ui kis_wdg_unsharp.cc unsharp.cc kis_
kde_module_LTLIBRARIES = kritaunsharpfilter.la
-kritaunsharpfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritaunsharpfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritaunsharpfilter_la_LIBADD = ../../../libkritacommon.la
METASOURCES = AUTO
diff --git a/krita/plugins/filters/wavefilter/Makefile.am b/krita/plugins/filters/wavefilter/Makefile.am
index 66f6bf54..7cda6e5c 100644
--- a/krita/plugins/filters/wavefilter/Makefile.am
+++ b/krita/plugins/filters/wavefilter/Makefile.am
@@ -16,7 +16,8 @@ kritawavefilter_la_SOURCES = wavefilter.cc wdgwaveoptions.ui \
kde_module_LTLIBRARIES = kritawavefilter.la
noinst_HEADERS = wavefilter.h kis_wdg_wave.h
-kritawavefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritawavefilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritawavefilter_la_LIBADD = ../../../libkritacommon.la
METASOURCES = AUTO
diff --git a/krita/plugins/paintops/defaultpaintops/Makefile.am b/krita/plugins/paintops/defaultpaintops/Makefile.am
index 5a52d651..510c4846 100644
--- a/krita/plugins/paintops/defaultpaintops/Makefile.am
+++ b/krita/plugins/paintops/defaultpaintops/Makefile.am
@@ -32,7 +32,8 @@ noinst_HEADERS = defaultpaintops_plugin.h kis_airbrushop.h kis_brushop.h \
kde_module_LTLIBRARIES = kritadefaultpaintops.la
-kritadefaultpaintops_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritadefaultpaintops_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritadefaultpaintops_la_LIBADD = ../../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
kritadefaultpaintops_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/defaulttools/Makefile.am b/krita/plugins/tools/defaulttools/Makefile.am
index 6f28508a..f6bf3894 100644
--- a/krita/plugins/tools/defaulttools/Makefile.am
+++ b/krita/plugins/tools/defaulttools/Makefile.am
@@ -44,7 +44,8 @@ noinst_HEADERS = \
kis_tool_pan.h
-kritadefaulttools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritadefaulttools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritadefaulttools_la_LIBADD = ../../../libkritacommon.la $(LIB_KOPAINTER) $(LIB_KOFFICECORE)
kritadefaulttools_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/selectiontools/Makefile.am b/krita/plugins/tools/selectiontools/Makefile.am
index a3fc336f..fe451f69 100644
--- a/krita/plugins/tools/selectiontools/Makefile.am
+++ b/krita/plugins/tools/selectiontools/Makefile.am
@@ -28,7 +28,8 @@ noinst_HEADERS = \
kis_tool_select_elliptical.h
-kritaselectiontools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritaselectiontools_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritaselectiontools_la_LIBADD = ../../../libkritacommon.la
kritaselectiontools_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/tool_crop/Makefile.am b/krita/plugins/tools/tool_crop/Makefile.am
index b9c2fad4..ced0fd67 100644
--- a/krita/plugins/tools/tool_crop/Makefile.am
+++ b/krita/plugins/tools/tool_crop/Makefile.am
@@ -21,7 +21,8 @@ noinst_HEADERS = \
tool_crop.h \
kis_tool_crop.h
-kritatoolcrop_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritatoolcrop_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritatoolcrop_la_LIBADD = ../../../libkritacommon.la
kritatoolcrop_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/tool_curves/Makefile.am b/krita/plugins/tools/tool_curves/Makefile.am
index d809eaee..664b19b9 100644
--- a/krita/plugins/tools/tool_curves/Makefile.am
+++ b/krita/plugins/tools/tool_curves/Makefile.am
@@ -33,7 +33,8 @@ noinst_HEADERS = \
kis_tool_bezier_select.h \
kis_tool_moutline.h
-kritatoolcurves_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritatoolcurves_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritatoolcurves_la_LIBADD = ../../../libkritacommon.la
kritatoolcurves_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/tool_filter/Makefile.am b/krita/plugins/tools/tool_filter/Makefile.am
index d43f6b95..9b8c575e 100644
--- a/krita/plugins/tools/tool_filter/Makefile.am
+++ b/krita/plugins/tools/tool_filter/Makefile.am
@@ -22,7 +22,8 @@ noinst_HEADERS = \
kis_tool_filter.h \
tool_filter.h
-kritatoolfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritatoolfilter_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritatoolfilter_la_LIBADD = ../../../libkritacommon.la
kritatoolfilter_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/tool_perspectivegrid/Makefile.am b/krita/plugins/tools/tool_perspectivegrid/Makefile.am
index f6182410..3446a536 100644
--- a/krita/plugins/tools/tool_perspectivegrid/Makefile.am
+++ b/krita/plugins/tools/tool_perspectivegrid/Makefile.am
@@ -20,7 +20,8 @@ noinst_HEADERS = \
tool_perspectivegrid.h \
kis_tool_perspectivegrid.h
-kritatoolperspectivegrid_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritatoolperspectivegrid_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritatoolperspectivegrid_la_LIBADD = ../../../libkritacommon.la
METASOURCES = AUTO
diff --git a/krita/plugins/tools/tool_perspectivetransform/Makefile.am b/krita/plugins/tools/tool_perspectivetransform/Makefile.am
index 5a833521..6096af13 100644
--- a/krita/plugins/tools/tool_perspectivetransform/Makefile.am
+++ b/krita/plugins/tools/tool_perspectivetransform/Makefile.am
@@ -20,7 +20,8 @@ noinst_HEADERS = \
tool_perspectivetransform.h \
kis_tool_perspectivetransform.h
-kritatoolperspectivetransform_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritatoolperspectivetransform_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritatoolperspectivetransform_la_LIBADD = ../../../libkritacommon.la
kritatoolperspectivetransform_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/tool_polygon/Makefile.am b/krita/plugins/tools/tool_polygon/Makefile.am
index dec22b37..cb5b5e62 100644
--- a/krita/plugins/tools/tool_polygon/Makefile.am
+++ b/krita/plugins/tools/tool_polygon/Makefile.am
@@ -20,7 +20,8 @@ noinst_HEADERS = \
tool_polygon.h \
kis_tool_polygon.h
-kritatoolpolygon_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritatoolpolygon_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritatoolpolygon_la_LIBADD = ../../../libkritacommon.la
kritatoolpolygon_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/tool_polyline/Makefile.am b/krita/plugins/tools/tool_polyline/Makefile.am
index 298119b5..1df08602 100644
--- a/krita/plugins/tools/tool_polyline/Makefile.am
+++ b/krita/plugins/tools/tool_polyline/Makefile.am
@@ -20,7 +20,8 @@ noinst_HEADERS = \
tool_polyline.h \
kis_tool_polyline.h
-kritatoolpolyline_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritatoolpolyline_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritatoolpolyline_la_LIBADD = ../../../libkritacommon.la
kritatoolpolyline_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/tool_selectsimilar/Makefile.am b/krita/plugins/tools/tool_selectsimilar/Makefile.am
index d92642c1..6c077ac3 100644
--- a/krita/plugins/tools/tool_selectsimilar/Makefile.am
+++ b/krita/plugins/tools/tool_selectsimilar/Makefile.am
@@ -14,7 +14,8 @@ noinst_HEADERS = selectsimilar.h kis_tool_selectsimilar.h
kde_module_LTLIBRARIES = kritatoolselectsimilar.la
-kritatoolselectsimilar_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritatoolselectsimilar_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritatoolselectsimilar_la_LIBADD = ../../../libkritacommon.la
kritatoolselectsimilar_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/tool_star/Makefile.am b/krita/plugins/tools/tool_star/Makefile.am
index 8efa1e58..422834cc 100644
--- a/krita/plugins/tools/tool_star/Makefile.am
+++ b/krita/plugins/tools/tool_star/Makefile.am
@@ -21,7 +21,8 @@ noinst_HEADERS = \
tool_star.h \
kis_tool_star.h
-kritatoolstar_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritatoolstar_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritatoolstar_la_LIBADD = ../../../libkritacommon.la
kritatoolstar_la_METASOURCES = AUTO
diff --git a/krita/plugins/tools/tool_transform/Makefile.am b/krita/plugins/tools/tool_transform/Makefile.am
index 8f77620e..85336f6b 100644
--- a/krita/plugins/tools/tool_transform/Makefile.am
+++ b/krita/plugins/tools/tool_transform/Makefile.am
@@ -21,7 +21,8 @@ noinst_HEADERS = \
tool_transform.h \
kis_tool_transform.h
-kritatooltransform_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+kritatooltransform_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) -lkdecore -lkdeui -lkjs -lkdefx -lkio -lkparts -L../../../../krita/kritacolor/.libs -lkritacolor -L../../../../krita/core/.libs -lkritaimage \
+ -L../../../../krita/ui/.libs -lkritaui
kritatooltransform_la_LIBADD = ../../../libkritacommon.la
kritatooltransform_la_METASOURCES = AUTO