summaryrefslogtreecommitdiffstats
path: root/plugins/scan/Makefile.am
blob: f3e4693844c2350b58f579cc52364e544bacd0a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
kwordrcdir = $(kde_datadir)/kword/kpartplugins
kwordrc_DATA = scan-kword.rc

kritarcdir = $(kde_datadir)/krita/kpartplugins
kritarc_DATA = scan-krita.rc

kpresenterrcdir = $(kde_datadir)/kpresenter/kpartplugins
kpresenterrc_DATA = scan-kpresenter.rc

EXTRA_DIST = $(kwordrc_DATA) $(kritarc_DATA) $(kpresenterrc_DATA)

INCLUDES = $(KOFFICE_INCLUDES) $(all_includes)
kde_module_LTLIBRARIES = kofficescan.la

kofficescan_la_SOURCES = scan.cpp
noinst_HEADERS = scan.h

kofficescan_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) -lkdecore -lkdeui $(LIB_QT) -lkjs -lkdefx -lkio -lkparts
kofficescan_la_LIBADD = $(LIB_KPARTS) $(LIB_KIO) $(LIB_KOFFICECORE)

kofficescan_la_METASOURCES = AUTO

messages: rc.cpp
	$(XGETTEXT) *.cpp -o $(podir)/kscan_plugin.pot