Link most Trinity DSOs against the most common kdelibs libraries to compensate for linking changes in modern distributions such as Ubuntu Oneiric

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1258263 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent f6ffe14cef
commit 9b81b30825

@ -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)

@ -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)

@ -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

@ -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)

@ -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

@ -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:

@ -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)

@ -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)

@ -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)

@ -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)

@ -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)

@ -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)

@ -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

@ -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)

@ -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)

@ -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)

@ -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)

@ -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)

@ -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

@ -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)

@ -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)

@ -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)

@ -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

@ -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)

@ -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

@ -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

@ -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

Loading…
Cancel
Save