summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kcmodule/src-Makefile.am
blob: 6efe685ac567715075e6e13c0d60d73ba0b8ffb6 (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_KDEUI)
kcm_%{APPNAMELC}_la_LDFLAGS = -module -avoid-version $(all_libraries) -no-undefined


xdg_apps_DATA = %{APPNAMELC}.desktop


messages: rc.cpp
	$(EXTRACTRC) `tqfind -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kcm%{APPNAMELC}.pot