summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kcmodule/src-Makefile.am
blob: d40990c1d44c4baf63910115f9126c2cd97c56cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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