summaryrefslogtreecommitdiffstats
path: root/ksim/Makefile.am
blob: d44081b49f4230be37ce2663e3e538ce7cd6f6f8 (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
noinst_LTLIBRARIES = libsysteminfo.la

libsysteminfo_la_SOURCES = systeminfo.cpp
libsysteminfo_la_LDFLAGS = -module -avoid-version

kde_module_LTLIBRARIES = ksim_panelextension.la
ksim_panelextension_la_SOURCES = ksim.cpp ksimview.cpp ksimview.skel \
                             ksimsysinfo.cpp ksimsysinfo.skel ksimframe.cpp \
                             ksimpref.cpp monitorprefs.cpp generalprefs.cpp \
                             themeprefs.cpp

ksim_panelextension_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
ksim_panelextension_la_LIBADD = ./library/libksimcore.la libsysteminfo.la $(LIB_KIO) $(LIB_TDEUI)

SUBDIRS = themes library monitors pics
EXTRA_DIST = ksim.desktop
METASOURCES = AUTO
CLEANFILES = dummy.cpp

extension_DATA = ksim.desktop
extensiondir = $(kde_datadir)/kicker/extensions

dummy.cpp:
	echo > dummy.cpp

INCLUDES= -I$(top_srcdir)/ksim/library \
	$(all_includes)

conf_DATA = ksim_panelextensionrc
confdir = $(kde_confdir)

messages: rc.cpp
	$(EXTRACTRC) */*.rc */*.ui *.ui *.rc >> rc.cpp
	$(XGETTEXT) `find . -name "*.cpp"` -o $(podir)/ksim.pot