blob: 374c5524a751dd848a89511659bea80b84ef1480 (
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
|
# set the include path for X, qt and KDE
INCLUDES = $(all_includes) $(PYTHONINC)
# these are the headers for your project
noinst_HEADERS = karamba.h karambaapp.h karamba_python.h lineparser.h \
themefile.h themesdlg.h themewidget.h kwidgetlistbox.h themelocale.h input.h \
sklineedit.h input_python.h
KDE_OPTIONS = nofinal
# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO
messages: rc.cpp
$(EXTRACTRC) *.ui >> rc.cpp
$(XGETTEXT) *.cpp -o $(podir)/superkaramba.pot
#########################################################################
# APPLICATION SECTION
#########################################################################
# this is the program that gets installed. its name is used for all
# of the other Makefile.am variables
bin_PROGRAMS = superkaramba
# the application source, library search path, and link libraries
superkaramba_SOURCES = main.cpp karamba.cpp meter.cpp bar.cpp sensor.cpp \
datesensor.cpp textlabel.cpp memsensor.cpp uptimesensor.cpp cpusensor.cpp \
networksensor.cpp imagelabel.cpp graph.cpp xmmssensor.cpp programsensor.cpp \
disksensor.cpp sensorparams.cpp sensorsensor.cpp textfilesensor.cpp clickarea.cpp \
noatunsensor.cpp karambarootpixmap.cpp clickmap.cpp rsssensor.cpp textfield.cpp \
taskmanager.cpp showdesktop.cpp richtextlabel.cpp karambasessionmanaged.cpp \
systemtray.cpp bar_python.cpp meter_python.cpp textlabel_python.cpp \
richtextlabel_python.cpp imagelabel_python.cpp config_python.cpp misc_python.cpp \
systray_python.cpp task_python.cpp widget_python.cpp menu_python.cpp \
karambalistboxitem.cpp graph_python.cpp dcopinterface.skel dcopinterface.stub \
karambainterface.cpp karambaapp.cpp karamba_python.cpp lineparser.cpp themefile.cpp \
themesdlg.cpp themes_layout.ui themewidget_layout.ui themewidget.cpp \
kwidgetlistbox.cpp sknewstuff.h sknewstuff.cpp superkarambasettings.kcfgc themelocale.cpp \
input.cpp sklineedit.cpp input_python.cpp svcgrp_python.cpp
# kde_cfg_DATA = superkaramba.kcfg
superkaramba_LDFLAGS = -Wl,-export-dynamic $(KDE_RPATH) $(all_libraries) $(PYTHONLIB) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_KIO) -ltdetexteditor
#superkaramba_LDADD = -lkio $(LIB_TDEUI) $(LIBPYTHON) $(LIBKVM) $(MY_LIBKNEWSTUFF)
superkaramba_LDADD = -lkio $(LIB_TDEUI) $(LIBPYTHON) $(LIBKVM) $(MY_LIBKNEWSTUFF)
# this is where the desktop file will go
shelldesktopdir = $(kde_appsdir)/Utilities
shelldesktop_DATA = superkaramba.desktop
# this is where the shell's XML-GUI resource file goes
shellrcdir = $(kde_datadir)/superkaramba
shellrc_DATA = superkarambaui.rc
|