summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/tdecmodule/src-Makefile.am
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-25 16:30:48 -0600
committerTimothy Pearson <[email protected]>2013-01-25 16:30:48 -0600
commitfd1d1e1064eb09ddbbd67d3597c39856f5c0bc76 (patch)
tree83156b01a05093010c254bc4172dc975cc88512d /languages/cpp/app_templates/tdecmodule/src-Makefile.am
parentda1522385e5367bae56b90fac55c4355e475905b (diff)
downloadtdevelop-fd1d1e1064eb09ddbbd67d3597c39856f5c0bc76.tar.gz
tdevelop-fd1d1e1064eb09ddbbd67d3597c39856f5c0bc76.zip
Fix FTBFS resulting from KCModule rename
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