summaryrefslogtreecommitdiffstats
path: root/src/Makefile.am
blob: c19c2835d3f9c134b0c47f9c451d18e9e19f7c00 (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
INCLUDES= $(all_includes)
METASOURCES = AUTO

kde_module_LTLIBRARIES = tastymenu_panelapplet.la

tastymenu_panelapplet_la_SOURCES = tastymenu.cpp menu.ui menuhandler.cpp \
				dmctl.cpp dmctl.h tastylistview.cpp misc.cpp misc.h appearance.ui prefs.kcfgc \
			behaviour.ui tastytooltip.cpp tastytooltipwidget.ui tastybutton.cpp
tastymenu_panelapplet_la_LDFLAGS = -version-info 0:0:0 -module $(KDE_PLUGIN) $(all_libraries)
tastymenu_panelapplet_la_LIBADD = $(LIB_QT) -lDCOP $(LIB_KDECORE) $(LIB_KDEUI) $(LIB_KIO) -lkdefx -lXau

tastymenu_DATA = tastymenu.desktop
tastymenudir = $(kde_datadir)/kicker/applets
kde_kcfg_DATA = tastymenu.kcfg

EXTRA_DIST = pics

buttons.h: pics/attach.png pics/detach.png
	$(UIC) -o $@ -embed buttons $^

CLEAN_FILES = buttons.h

messages: rc.cpp
	$(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/tastymenu.pot
noinst_HEADERS = menuhandler.h tastylistview.h tastytooltip.h buttons.h \
	tastybutton.h