summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kcmodule/src-Makefile.am
blob: e5d30776d9fae51ce2d9164cff6573b9c0674156 (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) `find -name \*.ui -o -name \*.rc` > rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kcm%{APPNAMELC}.pot