summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kioslave/src-Makefile.am
blob: 957ec3300804bd14a3ae617532e93a3b3c21abb9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
INCLUDES    = $(all_includes)

kde_module_LTLIBRARIES = kio_%{APPNAMELC}.la

kio_%{APPNAMELC}_la_SOURCES = %{APPNAMELC}.cpp
kio_%{APPNAMELC}_la_LIBADD = -lkio        
kio_%{APPNAMELC}_la_LDFLAGS = -module -avoid-version $(all_libraries) $(KDE_PLUGIN)

protocol_DATA = %{APPNAMELC}.protocol
protocoldir = $(kde_servicesdir)

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