summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdecmodule/src-Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/app_templates/tdecmodule/src-Makefile.am')
-rw-r--r--languages/cpp/app_templates/tdecmodule/src-Makefile.am17
1 files changed, 17 insertions, 0 deletions
diff --git a/languages/cpp/app_templates/tdecmodule/src-Makefile.am b/languages/cpp/app_templates/tdecmodule/src-Makefile.am
new file mode 100644
index 00000000..d40990c1
--- /dev/null
+++ b/languages/cpp/app_templates/tdecmodule/src-Makefile.am
@@ -0,0 +1,17 @@
+INCLUDES = $(all_includes)
+METASOURCES = AUTO
+
+# Install this plugin in the TDE modules directory
+kde_module_LTLIBRARIES = kcm_%{APPNAMELC}.la
+
+kcm_%{APPNAMELC}_la_SOURCES = %{APPNAMELC}.cpp
+kcm_%{APPNAMELC}_la_LIBADD = $(LIB_TDEUI)
+kcm_%{APPNAMELC}_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined
+
+
+xdg_apps_DATA = %{APPNAMELC}.desktop
+
+
+messages: rc.cpp
+ $(EXTRACTRC) `find -name \*.ui -o -name \*.rc` > rc.cpp
+ $(XGETTEXT) *.cpp -o $(podir)/kcm%{APPNAMELC}.pot