summaryrefslogtreecommitdiffstats
path: root/kcontrol/icons/Makefile.am
blob: 4e00a730c876175d78530b302be386e67980a55e (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
AM_CPPFLAGS  = $(all_includes)

kde_module_LTLIBRARIES = kcm_icons.la

kcm_icons_la_SOURCES = iconthemes.cpp icons.cpp main.cpp
kcm_icons_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
kcm_icons_la_LIBADD = $(LIB_KIO)

METASOURCES = AUTO 

noinst_HEADERS = icons.h iconthemes.h main.h

check_PROGRAMS = testicons
testicons_SOURCES = testicons.cpp 
testicons_LDFLAGS = $(all_libraries)
testicons_LDADD = $(LIB_KDEUI) icons.lo

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

xdg_apps_DATA = icons.desktop

install-data-local: uninstall.desktop
	$(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/Settings/LookNFeel/Themes
	$(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/Settings/LookNFeel/Themes/iconthemes.desktop