summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdefileplugin/src-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/tdefileplugin/src-Makefile.am')
-rw-r--r--languages/cpp/app_templates/tdefileplugin/src-Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tdefileplugin/src-Makefile.am b/languages/cpp/app_templates/tdefileplugin/src-Makefile.am
new file mode 100644
index 00000000..c96817d5
--- /dev/null
+++ b/languages/cpp/app_templates/tdefileplugin/src-Makefile.am
@@ -0,0 +1,22 @@
+## Makefile.am for folder file meta info plugin
+
+INCLUDES = $(all_includes)
+
+# these are the headers for your project
+noinst_HEADERS = tdefile_%{APPNAMELC}.h
+
+kde_module_LTLIBRARIES = tdefile_%{APPNAMELC}.la
+
+tdefile_%{APPNAMELC}_la_SOURCES = tdefile_%{APPNAMELC}.cpp
+tdefile_%{APPNAMELC}_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(LIB_QT) $(LIB_TDECORE) $(LIB_TDEUI) $(LIB_KPARTS) $(LIB_KIO)
+tdefile_%{APPNAMELC}_la_LIBADD = $(LIB_KIO)
+
+# let automoc handle all of the meta source files ((moc))
+METASOURCES = AUTO
+
+services_DATA = tdefile_%{APPNAMELC}.desktop
+servicesdir = $(kde_servicesdir)
+
+messages: rc.cpp
+ $(EXTRACTRC) `find . -name \*.ui -o -name \*.rc` > rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/tdefile_%{APPNAMELC}.pot