summaryrefslogtreecommitdiffstats
path: root/languages/cpp/app_templates/kfileplugin/src-Makefile.am
blob: 4bfee32a1609ee3eac6aaf7544ba794b1743282a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Makefile.am for folder file meta info plugin

INCLUDES         = $(all_includes)

# these are the headers for your project
noinst_HEADERS   = kfile_%{APPNAMELC}.h

kde_module_LTLIBRARIES = kfile_%{APPNAMELC}.la

kfile_%{APPNAMELC}_la_SOURCES = kfile_%{APPNAMELC}.cpp
kfile_%{APPNAMELC}_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kfile_%{APPNAMELC}_la_LIBADD = $(LIB_KIO)

# let autotqmoc handle all of the meta source files (tqmoc)
METASOURCES = AUTO

services_DATA = kfile_%{APPNAMELC}.desktop
servicesdir = $(kde_servicesdir)

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