summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--atlantik/client/Makefile.am2
-rw-r--r--kasteroids/Makefile.am2
-rw-r--r--katomic/Makefile.am2
-rw-r--r--kbackgammon/Makefile.am2
-rw-r--r--kbattleship/kbattleship/Makefile.am2
-rw-r--r--kbattleship/kbattleship/dialogs/Makefile.am2
-rw-r--r--kblackbox/Makefile.am2
-rw-r--r--kenolaba/Makefile.am2
-rw-r--r--kgoldrunner/src/Makefile.am2
-rw-r--r--kjumpingcube/Makefile.am2
-rw-r--r--klines/Makefile.am2
-rw-r--r--kmahjongg/Makefile.am2
-rw-r--r--knetwalk/src/Makefile.am2
-rw-r--r--konquest/Makefile.am2
-rw-r--r--kpat/Makefile.am2
-rw-r--r--kpoker/Makefile.am2
-rw-r--r--kreversi/Makefile.am2
-rw-r--r--ksame/Makefile.am2
-rw-r--r--kshisen/Makefile.am2
-rw-r--r--ksirtet/ksirtet/Makefile.am2
-rw-r--r--ksmiletris/Makefile.am2
-rw-r--r--ksnake/Makefile.am2
-rw-r--r--ksokoban/Makefile.am2
-rw-r--r--kspaceduel/Makefile.am2
-rw-r--r--kwin4/kwin4/Makefile.am4
-rw-r--r--lskat/lskat/Makefile.am2
-rw-r--r--lskat/lskatproc/Makefile.am2
27 files changed, 28 insertions, 28 deletions
diff --git a/atlantik/client/Makefile.am b/atlantik/client/Makefile.am
index 25eb24e1..46f71516 100644
--- a/atlantik/client/Makefile.am
+++ b/atlantik/client/Makefile.am
@@ -1,6 +1,6 @@
bin_PROGRAMS = atlantik
INCLUDES = -I$(top_srcdir)/libkdegames -I$(srcdir)/../libatlantic -I$(srcdir)/../libatlantikclient -I$(srcdir)/../libatlantikui $(all_includes)
-atlantik_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+atlantik_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
atlantik_LDADD = ../libatlantikui/libatlantikui.la ../libatlantikclient/libatlantikclient.la $(LIB_KDEGAMES) $(LIB_KIO)
atlantik_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/kasteroids/Makefile.am b/kasteroids/Makefile.am
index 3ac5f46a..c1eac9d9 100644
--- a/kasteroids/Makefile.am
+++ b/kasteroids/Makefile.am
@@ -5,7 +5,7 @@ METASOURCES = AUTO
bin_PROGRAMS = kasteroids
kasteroids_SOURCES = main.cpp view.cpp ledmeter.cpp toplevel.cpp settings.kcfgc
-kasteroids_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kasteroids_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kasteroids_LDADD = $(LIB_KDEGAMES) -lsoundserver_idl -lqtmcop
kasteroids_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/katomic/Makefile.am b/katomic/Makefile.am
index 4d554b33..3075bf71 100644
--- a/katomic/Makefile.am
+++ b/katomic/Makefile.am
@@ -1,6 +1,6 @@
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
-katomic_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+katomic_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
katomic_LDADD = $(LIB_KDEGAMES)
katomic_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
METASOURCES = AUTO
diff --git a/kbackgammon/Makefile.am b/kbackgammon/Makefile.am
index 6f21f2ca..eec1c9b3 100644
--- a/kbackgammon/Makefile.am
+++ b/kbackgammon/Makefile.am
@@ -6,7 +6,7 @@ METASOURCES = AUTO
bin_PROGRAMS = kbackgammon
kbackgammon_SOURCES = main.cpp kbg.cpp kbgboard.cpp kbgtextview.cpp \
kbgstatus.cpp
-kbackgammon_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kbackgammon_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kbackgammon_LDADD = $(LIB_KDEGAMES) $(LIB_KDEPRINT) ./engines/libkbgengines.la
kbackgammon_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/kbattleship/kbattleship/Makefile.am b/kbattleship/kbattleship/Makefile.am
index 6c59ddd5..df83b449 100644
--- a/kbattleship/kbattleship/Makefile.am
+++ b/kbattleship/kbattleship/Makefile.am
@@ -15,7 +15,7 @@ kbattleship_SOURCES = kbaiplayer.cpp kbstrategy.cpp kbverticalstepstrategy.cpp\
kbchooserstrategy.cpp kbattleship.cpp main.cpp
kbattleship_LDADD = $(LIB_KDEGAMES) ./dialogs/libkbattleshipdialogs.la $(LIB_KFILE) $(LIB_KDNSSD)
kbattleship_COMPILE_FIRST = dialogs/infoDlg.h dialogs/chatDlg.h dialogs/connectDlg.h dialogs/serverDlg.h dialogs/statDlg.h
-kbattleship_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kbattleship_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kbattleship_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
services_DATA = _kbattleship._tcp
diff --git a/kbattleship/kbattleship/dialogs/Makefile.am b/kbattleship/kbattleship/dialogs/Makefile.am
index 6f7fa1ab..cae41a55 100644
--- a/kbattleship/kbattleship/dialogs/Makefile.am
+++ b/kbattleship/kbattleship/dialogs/Makefile.am
@@ -4,7 +4,7 @@ METASOURCES = AUTO
noinst_LTLIBRARIES = libkbattleshipdialogs.la
libkbattleshipdialogs_la_SOURCES = dummy.cpp connectDlg.ui serverDlg.ui \
chatDlg.ui statDlg.ui infoDlg.ui
-libkbattleshipdialogs_la_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+libkbattleshipdialogs_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
libkbattleshipdialogs_la_LIBADD = $(LIB_KDEUI)
dummy.cpp:
diff --git a/kblackbox/Makefile.am b/kblackbox/Makefile.am
index 813aff83..0971069d 100644
--- a/kblackbox/Makefile.am
+++ b/kblackbox/Makefile.am
@@ -4,7 +4,7 @@ INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
bin_PROGRAMS = kblackbox
kblackbox_SOURCES = kbbgfx.cpp kbbgame.cpp util.cpp main.cpp
-kblackbox_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kblackbox_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kblackbox_LDADD = $(LIB_KDEGAMES)
kblackbox_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/kenolaba/Makefile.am b/kenolaba/Makefile.am
index b35b1061..c4f71029 100644
--- a/kenolaba/Makefile.am
+++ b/kenolaba/Makefile.am
@@ -8,7 +8,7 @@ bin_PROGRAMS = kenolaba
kenolaba_SOURCES = Board.cpp Move.cpp BoardWidget.cpp AbTop.cpp \
kenolaba.cpp Spy.cpp Ball.cpp Network.cpp EvalDlg.ui \
EvalDlgImpl.cpp EvalScheme.cpp
-kenolaba_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kenolaba_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kenolaba_LDADD = $(LIB_KDEGAMES)
kenolaba_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/kgoldrunner/src/Makefile.am b/kgoldrunner/src/Makefile.am
index b243765b..2318bbdd 100644
--- a/kgoldrunner/src/Makefile.am
+++ b/kgoldrunner/src/Makefile.am
@@ -8,7 +8,7 @@ bin_PROGRAMS = kgoldrunner
INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
# the library search path.
-kgoldrunner_LDFLAGS = $(KDE_RPATH) $(all_libraries)
+kgoldrunner_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
# the libraries to link against.
kgoldrunner_LDADD = $(LIB_KDEGAMES) $(LIB_KFILE) $(LIB_KDEPRINT)
diff --git a/kjumpingcube/Makefile.am b/kjumpingcube/Makefile.am
index fdb5a185..18df6dc6 100644
--- a/kjumpingcube/Makefile.am
+++ b/kjumpingcube/Makefile.am
@@ -8,7 +8,7 @@ kjumpingcube_SOURCES = kjumpingcube.cpp kcubeboxwidget.cpp main.cpp \
kcubewidget.cpp cube.cpp brain.cpp cubebox.cpp \
settings.ui prefs.kcfgc
-kjumpingcube_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kjumpingcube_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kjumpingcube_LDADD = $(LIB_KDEGAMES) $(LIB_KFILE)
kjumpingcube_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/klines/Makefile.am b/klines/Makefile.am
index 37c8a6ec..f662a0e4 100644
--- a/klines/Makefile.am
+++ b/klines/Makefile.am
@@ -5,7 +5,7 @@ METASOURCES = AUTO
bin_PROGRAMS = klines
klines_SOURCES = prompt.cpp mwidget.cpp linesboard.cpp field.cpp cell.cpp \
ballpainter.cpp klines.cpp main.cpp prefs.kcfgc
-klines_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+klines_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
klines_LDADD = $(LIB_KDEGAMES)
klines_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/kmahjongg/Makefile.am b/kmahjongg/Makefile.am
index 7eba27b1..93186bbb 100644
--- a/kmahjongg/Makefile.am
+++ b/kmahjongg/Makefile.am
@@ -8,7 +8,7 @@ kmahjongg_SOURCES = main.cpp kmahjongg.cpp boardwidget.cpp \
Tileset.cpp BoardLayout.cpp GameTimer.cpp \
Background.cpp Preview.cpp prefs.kcfgc \
Editor.cpp HighScore.cpp settings.ui
-kmahjongg_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kmahjongg_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kmahjongg_LDADD = $(LIB_KDEGAMES) $(LIB_KFILE)
kmahjongg_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/knetwalk/src/Makefile.am b/knetwalk/src/Makefile.am
index 630095f6..97e9b5c5 100644
--- a/knetwalk/src/Makefile.am
+++ b/knetwalk/src/Makefile.am
@@ -4,7 +4,7 @@ INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(a
bin_PROGRAMS = knetwalk
-knetwalk_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+knetwalk_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
knetwalk_LDADD = $(LIB_KDEGAMES) $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_QT)
knetwalk_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
knetwalk_SOURCES = cell.cpp highscores.cpp main.cpp mainwindow.cpp settings.kcfgc
diff --git a/konquest/Makefile.am b/konquest/Makefile.am
index e6b50150..2eb595e8 100644
--- a/konquest/Makefile.am
+++ b/konquest/Makefile.am
@@ -7,7 +7,7 @@ bin_PROGRAMS = konquest
konquest_SOURCES = Konquest.cc gameboard.cc gamecore.cc int_validator.cc \
mainwin.cc map_widget.cc minimap.cc newgamedlg.cc planet_info.cc \
gameenddlg.cc scoredlg.cc fleetdlg.cc newGameDlg_ui.ui
-konquest_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+konquest_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
konquest_LDADD = $(LIB_KDEGAMES)
konquest_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/kpat/Makefile.am b/kpat/Makefile.am
index 1243bf9f..0b193859 100644
--- a/kpat/Makefile.am
+++ b/kpat/Makefile.am
@@ -9,7 +9,7 @@ kpat_SOURCES = main.cpp cardmaps.cpp card.cpp dealer.cpp \
yukon.cpp clock.cpp golf.cpp spider.cpp \
gamestatsimpl.cpp \
gamestats.ui
-kpat_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kpat_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kpat_LDADD = $(LIB_KFILE) $(LIB_KDEGAMES) ./freecell-solver/libfcs.la
kpat_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/kpoker/Makefile.am b/kpoker/Makefile.am
index 8c72a34f..fd2041f9 100644
--- a/kpoker/Makefile.am
+++ b/kpoker/Makefile.am
@@ -7,7 +7,7 @@ KDE_ICON = kpoker
bin_PROGRAMS = kpoker
kpoker_SOURCES = kpoker.cpp kpaint.cpp top.cpp main.cpp betbox.cpp \
optionsdlg.cpp player.cpp playerbox.cpp newgamedlg.cpp poker.cpp
-kpoker_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kpoker_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kpoker_LDADD = $(LIB_KDEGAMES)
kpoker_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/kreversi/Makefile.am b/kreversi/Makefile.am
index ca13e36f..36066f88 100644
--- a/kreversi/Makefile.am
+++ b/kreversi/Makefile.am
@@ -18,7 +18,7 @@ kreversi_SOURCES = \
kreversi.cpp \
main.cpp \
prefs.kcfgc
-kreversi_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kreversi_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kreversi_LDADD = $(LIB_KDEGAMES) $(LIB_KIO)
kreversi_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/ksame/Makefile.am b/ksame/Makefile.am
index 593a88f4..6b81376d 100644
--- a/ksame/Makefile.am
+++ b/ksame/Makefile.am
@@ -3,7 +3,7 @@ bin_PROGRAMS = ksame
INCLUDES = -I$(top_srcdir)/libkdegames -I$(top_srcdir)/libkdegames/highscore $(all_includes)
ksame_SOURCES= main.cpp StoneField.cpp StoneWidget.cpp KSameWidget.cpp
-ksame_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+ksame_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
ksame_LDADD = $(LIB_KDEGAMES) $(LIB_KIO)
ksame_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/kshisen/Makefile.am b/kshisen/Makefile.am
index ae805477..0badeae5 100644
--- a/kshisen/Makefile.am
+++ b/kshisen/Makefile.am
@@ -13,7 +13,7 @@ noinst_HEADERS = app.h board.h tileset.h debug.h version.h
kshisen_SOURCES = main.cpp board.cpp app.cpp tileset.cpp settings.ui prefs.kcfgc
kshisen_LDADD = $(LIB_KDEGAMES) $(LIB_KDEUI)
kshisen_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
-kshisen_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kshisen_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
xdg_apps_DATA = kshisen.desktop
kde_kcfg_DATA = kshisen.kcfg
diff --git a/ksirtet/ksirtet/Makefile.am b/ksirtet/ksirtet/Makefile.am
index 2466e023..c0052134 100644
--- a/ksirtet/ksirtet/Makefile.am
+++ b/ksirtet/ksirtet/Makefile.am
@@ -26,7 +26,7 @@ messages: rc.cpp
check_PROGRAMS = check_score
check_score_SOURCES = check_score.cpp
check_score_LDADD = -lkdecore
-check_score_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+check_score_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
# for system-wide highscore file
DESTBIN = $(DESTDIR)$(bindir)/$(bin_PROGRAMS)
diff --git a/ksmiletris/Makefile.am b/ksmiletris/Makefile.am
index 2b0c0b3e..ebce1ee2 100644
--- a/ksmiletris/Makefile.am
+++ b/ksmiletris/Makefile.am
@@ -6,7 +6,7 @@ METASOURCES = AUTO
bin_PROGRAMS = ksmiletris
ksmiletris_SOURCES = main.cpp gamewindow.cpp gamewidget.cpp \
screenwidget.cpp mirrorwidget.cpp npiecewidget.cpp
-ksmiletris_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+ksmiletris_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
ksmiletris_LDADD = $(LIB_KDEGAMES)
ksmiletris_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/ksnake/Makefile.am b/ksnake/Makefile.am
index b46794a6..12e66678 100644
--- a/ksnake/Makefile.am
+++ b/ksnake/Makefile.am
@@ -10,7 +10,7 @@ ksnake_SOURCES = game.cpp rattler.cpp board.cpp level.cpp ball.cpp \
pixServer.cpp progress.cpp levels.cpp\
view.cpp main.cpp settings.kcfgc appearance.ui general.ui
-ksnake_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+ksnake_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
ksnake_LDADD = $(LIB_KDEUI) $(LIB_KDEGAMES) -lm
ksnake_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/ksokoban/Makefile.am b/ksokoban/Makefile.am
index 300d997e..fd56b831 100644
--- a/ksokoban/Makefile.am
+++ b/ksokoban/Makefile.am
@@ -4,7 +4,7 @@ SUBDIRS=levels data images
bin_PROGRAMS = ksokoban
ksokoban_SOURCES = Bookmark.cpp History.cpp HtmlPrinter.cpp ImageData.cpp InternalCollections.cpp LevelCollection.cpp LevelMap.cpp MainWindow.cpp Map.cpp MapDelta.cpp ModalLabel.cpp Move.cpp MoveSequence.cpp PathFinder.cpp PlayField.cpp StaticImage.cpp main.cpp
-ksokoban_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+ksokoban_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
ksokoban_LDADD = $(LIB_KIO)
noinst_HEADERS = Bookmark.h History.h HtmlPrinter.h ImageData.h InternalCollections.h LevelCollection.h LevelMap.h MainWindow.h Map.h MapDelta.h ModalLabel.h Move.h MoveSequence.h PathFinder.h PlayField.h Queue.h StaticImage.h
diff --git a/kspaceduel/Makefile.am b/kspaceduel/Makefile.am
index 00bdbe76..bdf8c44d 100644
--- a/kspaceduel/Makefile.am
+++ b/kspaceduel/Makefile.am
@@ -13,7 +13,7 @@ kspaceduel_SOURCES = general.ui mathroutines.cpp topwidget.cpp \
kspaceduel_METASOURCES = AUTO
EXTRA_DIST = kspaceduel.desktop kspaceduel.xpm mini-kspaceduel.xpm
-kspaceduel_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kspaceduel_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kspaceduel_LDADD = $(LIB_KDEGAMES)
kspaceduel_DEPENDENCIES = $(LIB_KDEGAMES_DEP)
diff --git a/kwin4/kwin4/Makefile.am b/kwin4/kwin4/Makefile.am
index c5392326..eea0d124 100644
--- a/kwin4/kwin4/Makefile.am
+++ b/kwin4/kwin4/Makefile.am
@@ -18,8 +18,8 @@ METASOURCES = AUTO
rcdir = $(kde_datadir)/kwin4
rc_DATA = kwin4ui.rc
-kwin4_LDFLAGS = $(all_libraries) $(KDE_RPATH)
-kwin4proc_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+kwin4_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
+kwin4proc_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kde_kcfg_DATA = kwin4.kcfg
diff --git a/lskat/lskat/Makefile.am b/lskat/lskat/Makefile.am
index ade32c96..39006147 100644
--- a/lskat/lskat/Makefile.am
+++ b/lskat/lskat/Makefile.am
@@ -10,7 +10,7 @@ INCLUDES = -I$(top_srcdir)/libkdegames $(all_includes)
METASOURCES = AUTO
-lskat_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+lskat_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
rcdir = $(kde_datadir)/lskat
rc_DATA = lskatui.rc
diff --git a/lskat/lskatproc/Makefile.am b/lskat/lskatproc/Makefile.am
index 4f99375b..23617dd8 100644
--- a/lskat/lskatproc/Makefile.am
+++ b/lskat/lskatproc/Makefile.am
@@ -10,4 +10,4 @@ INCLUDES= $(all_includes)
METASOURCES = AUTO
# the library search path.
-lskatproc_LDFLAGS = $(all_libraries) $(KDE_RPATH)
+lskatproc_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor