blob: 3a9484e4c174e958711c3e7d3ef59002a1d68097 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
kdemimedir = $(kde_mimedir)/application
kdemime_DATA = x-ksysguard.desktop
rcdir = $(kde_datadir)/ksysguard
rc_DATA = ksysguardui.rc
xdg_apps_DATA = ksysguard.desktop
lnkdir = $(kde_datadir)/kicker/applets
lnk_DATA = ksysguardapplet.desktop
# claim, which subdirectories you want to install
SUBDIRS = ksgrd SensorDisplayLib
# set the include path for X, qt and KDE
INCLUDES = -I$(srcdir)/ksgrd -I$(srcdir)/SensorDisplayLib -I$(top_builddir)/ksysguard/gui/SensorDisplayLib $(all_includes)
####### This part is very ksysguard specific
# you can add here more. This one gets installed
bin_PROGRAMS = ksysguard kpm
# Which sources should be compiled for ksysguard.
ksysguard_SOURCES = \
SensorBrowser.cpp \
WorkSheet.cpp \
WorkSheetSettings.cpp \
Workspace.cpp \
ksysguard.cpp ksysguard.skel
ksysguard_LDADD = \
ksgrd/libksgrd.la \
SensorDisplayLib/libsensordisplays.la \
$(LIB_TDEUI) $(LIB_TDEIO) $(LIB_TDEDNSSD)
ksysguard_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
kpm_SOURCES = kpm.c
appdatadir = $(kde_datadir)/ksysguard
appdata_DATA = ProcessTable.sgrd SystemLoad.sgrd KSysGuardApplet.xml
# This stuff is now for the kicker applet
kde_module_LTLIBRARIES = sysguard_panelapplet.la
sysguard_panelapplet_la_SOURCES = \
KSysGuardApplet.cpp \
KSGAppletSettings.cpp
sysguard_panelapplet_la_LIBADD = \
ksgrd/libksgrd.la \
SensorDisplayLib/libsensordisplays.la \
$(LIB_TDEUI) $(LIB_TDEIO)
sysguard_panelapplet_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
EXTRA_DIST = $(lnk_DATA)
# just to make sure, automake makes them
METASOURCES = AUTO
messages: rc.cpp
$(EXTRACTRC) `find . -name "*.ui"` >> rc.cpp
extractattr --attr=display,title SystemLoad.sgrd KSysGuardApplet.xml >> rc.cpp
$(XGETTEXT) `find . -name "*.cpp"` -o $(podir)/ksysguard.pot
|