summaryrefslogtreecommitdiffstats
path: root/kmenuedit/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kmenuedit/Makefile.am')
-rw-r--r--kmenuedit/Makefile.am52
1 files changed, 52 insertions, 0 deletions
diff --git a/kmenuedit/Makefile.am b/kmenuedit/Makefile.am
new file mode 100644
index 000000000..7e4b2c66c
--- /dev/null
+++ b/kmenuedit/Makefile.am
@@ -0,0 +1,52 @@
+INCLUDES = $(all_includes)
+
+bin_PROGRAMS =
+lib_LTLIBRARIES =
+kdeinit_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_KDEUI) $(LIB_KIO)
+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