summaryrefslogtreecommitdiffstats
path: root/kmenuedit/Makefile.am
blob: d385186e73e5e0be76152a168bc3e651e43e2ac0 (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
INCLUDES = $(all_includes)

bin_PROGRAMS =
lib_LTLIBRARIES =
tdeinit_LTLIBRARIES = kmenuedit.la kcontroledit.la

noinst_LTLIBRARIES = libkmenueditcommon.la

CLEANFILES = dummy.cpp

libkmenueditcommon_la_SOURCES = basictab.cpp treeview.cpp kmenuedit.cpp \
	khotkeys.cpp menufile.cpp menuinfo.cpp

libkmenueditcommon_la_LIBADD = $(LIB_TDEUI) $(LIB_TDEIO)
libkmenueditcommon_la_LDFLAGS = $(all_libraries) -module -avoid-version

kmenuedit_la_SOURCES = main.cpp
kmenuedit_la_LIBADD = libkmenueditcommon.la
kmenuedit_la_LDFLAGS = $(all_libraries) -module -avoid-version

kcontroledit_la_SOURCES = kcontrol_main.cpp
kcontroledit_la_LIBADD = libkmenueditcommon.la
kcontroledit_la_LDFLAGS = $(all_libraries) -module -avoid-version

noinst_HEADERS = kmenuedit.h treeview.h basictab.h khotkeys.h \
	menufile.h menuinfo.h

METASOURCES = AUTO

xdg_apps_DATA = kmenuedit.desktop

install-data-local: uninstall.desktop
	$(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/System
	$(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/System/kmenuedit.desktop

KDE_ICON = kmenuedit

EXTRA_DIST = $(xdg_apps_DATA)

rcdir = $(kde_datadir)/kmenuedit
rc_DATA = kmenueditui.rc

rc2dir = $(kde_datadir)/kcontroledit
rc2_DATA = kcontroleditui.rc

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

dummy.cpp:
	echo > dummy.cpp

SUBDIRS = pixmaps