summaryrefslogtreecommitdiffstats
path: root/kappfinder/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'kappfinder/Makefile.am')
-rw-r--r--kappfinder/Makefile.am34
1 files changed, 34 insertions, 0 deletions
diff --git a/kappfinder/Makefile.am b/kappfinder/Makefile.am
new file mode 100644
index 000000000..07a6a7423
--- /dev/null
+++ b/kappfinder/Makefile.am
@@ -0,0 +1,34 @@
+SUBDIRS = apps
+
+bin_PROGRAMS = kappfinder
+kappfinder_SOURCES = main.cpp toplevel.cpp common.cpp
+kappfinder_LDADD = $(LIB_TDEUI) $(LIB_TDEIO)
+kappfinder_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
+
+noinst_PROGRAMS = kappfinder_install
+kappfinder_install_SOURCES = main_install.cpp common.cpp
+kappfinder_install_LDADD = $(LIB_TDEUI)
+kappfinder_install_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_QT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor
+
+INCLUDES = $(all_includes)
+METASOURCES = AUTO
+
+install-data-local: runkappfinder_$(RUN_KAPPFINDER)
+
+runkappfinder_yes:
+ echo "Installing non-TDE applications"
+ pwd=`pwd`; \
+ (cd $(srcdir) && $$pwd/kappfinder_install "$(DESTDIR)$(kde_appsdir)")
+
+runkappfinder_no:
+
+KDE_ICON = kappfinder
+
+xdg_apps_DATA = kappfinder.desktop
+
+messages:
+ $(XGETTEXT) $(kappfinder_SOURCES) -o $(podir)/kappfinder.pot
+
+install-data-local: uninstall.desktop
+ $(mkinstalldirs) $(DESTDIR)$(kde_appsdir)/System
+ $(INSTALL_DATA) $(srcdir)/uninstall.desktop $(DESTDIR)$(kde_appsdir)/System/kappfinder.desktop