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/kdeedu@1258263 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 13 years ago
parent b850ef000c
commit 032c070107

@ -8,7 +8,7 @@ bin_PROGRAMS = blinken
INCLUDES = $(all_includes)
blinken_LDFLAGS = $(all_libraries) $(KDE_RPATH)
blinken_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
blinken_LDADD = $(LIB_KDEUI) $(LIB_KIO) $(artslib)
blinken_SOURCES = main.cpp blinken.cpp artsplayer.cpp blinkengame.cpp number.cpp highscoredialog.cpp counter.cpp fontutils.cpp fontchecker.cpp button.cpp settings.kcfgc

@ -79,7 +79,7 @@ rcui_DATA = kalziumui.rc
KDE_ICON = AUTO
# the library search path.
kalzium_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kalzium_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
#this RegExp-monster grep for <name origin=foo">bar</name> and puts the i18n() around foo and bar
messages-old: rc.cpp

@ -28,7 +28,7 @@ bin_PROGRAMS = kanagram
# the application source, library search path, and link libraries
kanagram_SOURCES = main.cpp kanagram.cpp kanagramgame.cpp fontutils.cpp kanagramsettings.kcfgc mainsettingswidget.ui vocabsettingswidget.ui vocabeditwidget.ui mainsettings.cpp vocabsettings.cpp vocabedit.cpp keduvocdocument.cpp keduvocexpression.cpp keduvockvtmlreader.cpp keduvockvtmlwriter.cpp leitnerbox.cpp leitnersystem.cpp multiplechoice.cpp grammarmanager.cpp leitnersystemview.cpp newstuffwidget.ui newstuffdialog.cpp newstuff.cpp
kanagram_LDFLAGS = $(KDE_RPATH) $(all_libraries)
kanagram_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kanagram_LDADD = $(LIB_KDEUI) $(LIB_KNEWSTUFF) $(LIB_KIO) $(artslib)
kde_kcfg_DATA=kanagram.kcfg

@ -4,7 +4,7 @@ kbruch_COMPILE_FIRST = version.h
kbruch_SOURCES = exercisebase.cpp taskvieweroptionsbase.ui task.cpp ratio.cpp taskview.cpp statisticsview.cpp primenumber.cpp kbruch.cpp mainqtwidget.cpp taskwidget.cpp fractionbasewidget.cpp resultwidget.cpp exercisecompare.cpp ratiowidget.cpp rationalwidget.cpp exerciseconvert.cpp exercisefactorize.cpp factorizedwidget.cpp settingsclass.kcfgc
kbruch_LDADD = $(LIB_KDEUI)
# the library search path.
kbruch_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kbruch_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
EXTRA_DIST = kbruch.cpp kbruch.h kbruch.desktop hi32-app-kbruch.png hi16-app-kbruch.png lo32-app-kbruch.png lo16-app-kbruch.png mainqtwidget.cpp mainqtwidget.h primenumber.cpp primenumber.h statisticsview.cpp statisticsview.h exercisebase.cpp exercisebase.h taskview.cpp taskview.h ratio.cpp ratio.h task.cpp task.h taskwidget.cpp taskwidget.h fractionbasewidget.cpp fractionbasewidget.h resultwidget.cpp resultwidget.h exercisecompare.cpp exercisecompare.h ratiowidget.cpp ratiowidget.h rationalwidget.cpp rationalwidget.h exerciseconvert.cpp exerciseconvert.h exercisefactorize.cpp exercisefactorize.h factorizedwidget.cpp factorizedwidget.h kbruch.rc taskvieweroptionsbase.ui

@ -5,7 +5,7 @@ kbruch_test_SOURCES = task.cpp ratio.cpp ratio_test.cpp primenumber.cpp primenum
kbruch_test_LDADD = -lboost_unit_test_framework-gcc $(LIB_KDEUI)
# the library search path.
kbruch_test_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kbruch_test_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
EXTRA_DIST = primenumber.cpp primenumber.h ratio.cpp ratio.h task.cpp task.h primenumber_test.cpp ratio_test.cpp kbruch_test.cpp

@ -23,7 +23,7 @@ INCLUDES= -I../libkeduca $(all_includes)
METASOURCES = AUTO
# the library search path.
keducabuilder_LDFLAGS = $(all_libraries) $(KDE_RPATH)
keducabuilder_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
# Uncomment the following two lines if you add a ui.rc file for your application to make use of
# KDE´s XML GUI builing

@ -2,7 +2,7 @@ INCLUDES=$(all_includes)
noinst_LTLIBRARIES = libkeduca.la
libkeduca_la_SOURCES = kgallerydialogbase.ui fileread.cpp kgallerydialog.cpp
libkeduca_la_LDFLAGS = $(all_libraries) $(KDE_RPATH)
libkeduca_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
libkeduca_la_LIBADD = -lkdeprint
noinst_HEADERS = fileread.h kgallerydialog.h kgallerydialogbase.h

@ -8,7 +8,7 @@ bin_PROGRAMS = kgeography
INCLUDES = $(all_includes)
# the library search path.
kgeography_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kgeography_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
# the libraries to link against.
kgeography_LDADD = $(LIB_KDEUI)

@ -17,7 +17,7 @@ INCLUDES= -I$(top_srcdir)/libkdeedu/kdeeducore $(all_includes)
METASOURCES = AUTO
# the library search path.
khangman_LDFLAGS = $(all_libraries) $(KDE_RPATH)
khangman_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
rc_DATA = khangmanui.rc
rcdir = $(kde_datadir)/khangman

@ -23,7 +23,7 @@ bin_PROGRAMS = kig
# the application source, library search path, and link libraries
kig_SOURCES = main.cpp kig.cpp
kig_LDFLAGS = $(KDE_RPATH) $(all_libraries)
kig_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kig_LDADD = $(LIB_KPARTS)
# this is where the desktop file will go

@ -6,7 +6,7 @@ kiten_SOURCES = main.cpp kiten.cpp learn.cpp kloader.cpp ksaver.cpp \
configsearching.ui configlearn.ui configfont.ui configdictionariesbase.ui \
configdictionaries.cpp optiondialog.cpp kitenconfig.kcfgc
kiten_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kiten_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kiten_LDADD = libkiten.la $(LIB_KIO)
bin_PROGRAMS = kiten kitengen
@ -23,7 +23,7 @@ libkiteninclude_HEADERS = \
asyndeta.h dict.h widgets.h kromajiedit.h rad.h deinf.h
kitengen_SOURCES = xjdxgen.c
kitengen_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kitengen_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
METASOURCES = AUTO

@ -12,7 +12,7 @@ bin_PROGRAMS = klatin
INCLUDES = $(all_includes)
# the library search path.
klatin_LDFLAGS = $(KDE_RPATH) $(all_libraries)
klatin_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
# the libraries to link against.
klatin_LDADD = $(LIB_KFILE) $(top_builddir)/libkdeedu/kdeeducore/libkdeeducore.la

@ -24,7 +24,7 @@ METASOURCES = AUTO
KDE_ICON = AUTO
# the library search path.
klettres_LDFLAGS = $(all_libraries) $(KDE_RPATH)
klettres_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
messages: rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/klettres.pot;

@ -30,7 +30,7 @@ METASOURCES = AUTO
# the library search path.
kpercentage_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kpercentage_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
stringstocpp:

@ -54,7 +54,7 @@ INCLUDES= -I$(top_srcdir) -Itools -I$(srcdir)/tools $(all_includes)
METASOURCES = AUTO
# the library search path.
kstars_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kstars_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
# Uncomment the following two lines if you add a ui.rc file for your application to make use of
# KDE

@ -50,7 +50,7 @@ ktouch_SOURCES = ktouchchartwidget.cpp ktouchcoloreditor_dlg.ui \
ktouchutils.cpp main.cpp prefs.kcfgc ktouchcoloreditor.cpp
# the library search path.
ktouch_LDFLAGS = $(KDE_RPATH) $(all_libraries)
ktouch_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
# the libraries to link against. Be aware of the order. First the libraries,
# that depend on the following ones.

@ -4,9 +4,9 @@ INCLUDES = $(all_includes)
SUBDIRS = pics
# added from kjots
AM_LDFLAGS = $(all_libraries) $(KDE_RPATH)
AM_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kturtle_LDFLAGS = $(KDE_RPATH) $(all_libraries)
kturtle_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
kturtle_LDADD = $(LIB_KDEUI) $(LIB_KIO) $(LIB_KDEPRINT) $(LIB_KPARTS) -lkatepartinterfaces
KDE_ICON = kturtle

@ -19,7 +19,7 @@ INCLUDES= $(all_includes)
METASOURCES = AUTO
# the library search path.
kverbos_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kverbos_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
rcdir = $(kde_datadir)/kverbos
rc_DATA = kverbosui.rc

@ -40,8 +40,8 @@ INCLUDES = -I$(srcdir)/.. -I$(srcdir)/kvt-core -Icommon-dialogs \
bin_PROGRAMS = kvoctrain spotlight2kvtml
# the library search path.
kvoctrain_LDFLAGS = $(all_libraries) $(KDE_RPATH)
spotlight2kvtml_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kvoctrain_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
spotlight2kvtml_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
CLEANFILES = *.i.c

@ -50,7 +50,7 @@ SUBDIRS = . pics examples
METASOURCES = AUTO
# the library search path.
kwordquiz_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kwordquiz_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
rcdir = $(kde_datadir)/kwordquiz
rc_DATA = kwordquizui.rc eventsrc

@ -11,11 +11,11 @@ libextdate_la_LIBADD = $(LIB_KDEUI)
test_extdate_SOURCES = test_extdate.cc
test_extdate_LDADD = libextdate.la
test_extdate_LDFLAGS = $(all_libraries) $(KDE_RPATH)
test_extdate_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
test_extdatepicker_SOURCES = testwidget.cpp main.cpp
test_extdatepicker_LDADD = libextdate.la
test_extdatepicker_LDFLAGS = $(all_libraries) $(KDE_RPATH)
test_extdatepicker_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) -lkdefx $(LIB_KIO) -lktexteditor
METASOURCES = AUTO

Loading…
Cancel
Save