summaryrefslogtreecommitdiffstats
path: root/kicker/extensions/kasbar/Makefile.am
blob: f7e4ce14ce7166e828bb0259399ac22ad6d5d9f1 (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
INCLUDES = -I$(srcdir)/../../taskmanager $(all_includes)
METASOURCES = AUTO

#
# Library implementing the core functionality
#
lib_LTLIBRARIES = libkasbar.la

libkasbar_la_SOURCES =	kasbar.cpp kasitem.cpp \
			kastaskitem.cpp	kastasker.cpp kaspopup.cpp \
			kastaskpopup.cpp kasstartupitem.cpp \
			kasaboutdlg.cpp kasprefsdlg.cpp kasclockitem.cpp \
			kasgroupitem.cpp kasresources.cpp kasgrouper.cpp \
			kasloaditem.cpp

libkasbar_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -no-undefined
libkasbar_la_LIBADD = $(LIB_KDEUI) ../../taskmanager/libtaskmanager.la

#
# Panel Extension
#
kde_module_LTLIBRARIES = kasbar_panelextension.la

kasbar_panelextension_la_SOURCES =  kasbarextension.cpp
kasbar_panelextension_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
kasbar_panelextension_la_LIBADD =  libkasbar.la

noinst_HEADERS = kasbar.h kasitem.h kasbarextension.h \
		kastaskitem.h kastasker.h kaspopup.h kasstartupitem.h \
		kasaboutdlg.h kasprefsdlg.h version.h kasclockitem.cpp \
		kasgroupitem.h kasresources.h kasgrouper.h kasloaditem.cpp

lnkdir = $(kde_datadir)/kicker/extensions
lnk_DATA = kasbarextension.desktop

EXTRA_DIST = $(lnk_DATA)

bin_PROGRAMS = kasbar
kasbar_SOURCES = kasbarapp.cpp
kasbar_LDFLAGS = $(all_libraries) $(KDE_RPATH)
kasbar_LDADD = 	libkasbar.la \
		$(LIB_QT) $(LIB_KDECORE) $(LIB_KDEUI)


messages:
	$(XGETTEXT) *.cpp *.h -o $(podir)/kasbarextension.pot

srcdoc:
	$(kde_bindir)/kdoc -a -p -d classdocs -n 'Kasbar2' ../../taskmanager/*.h *.h -lqt -lkdecore -lkdeui

.PHONY:	changes
changes:
	cvs2cl.pl --window 3600 -w --hide-filenames -I '.desktop'

KDE_OPTIONS = nofinal