summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kcmodule/src-Makefile.am
blob: 9d745b425c5a71104aa689946f5d49fd0c74a0cf (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 KDE 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