summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/Makefile.am
blob: c012482113766f2de9502329de9268e47d7a5e1f (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
25
26
27
28
29
30
31
32
33
INCLUDES = -I$(top_srcdir) $(all_includes) \
	-I$(top_srcdir)/kviewshell \
	-I$(top_builddir)/kviewshell \
	-I$(kde_includes)/kviewshell \
	-I$(srcdir)/libdjvu

SUBDIRS = libdjvu .

KDE_CXXFLAGS = -Wno-deprecated

METASOURCES = AUTO

# this is where the desktop file will go
kde_services_DATA = djvumultipage.desktop

# this is where the shell's XML-GUI resource file goes
shellrcdir = $(kde_datadir)/kviewshell/plugins/djvu

kde_module_LTLIBRARIES = djvuviewpart.la
djvuviewpart_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -module
djvuviewpart_la_LIBADD = -lkdeprint -lkparts $(top_builddir)/kviewshell/libkmultipage.la libdjvu/libdjvu.la
djvuviewpart_la_SOURCES = djvumultipage.cpp djvurenderer.cpp kprintDialogPage_DJVUpageoptions.cpp \
	kprintDialogPage_DJVUconversionoptions.cpp kprintDialogPage_DJVUconversionoptions_basewidget.ui \
	pageRangeWidget_base.ui pageRangeWidget.cpp \
	prefs.kcfgc

kde_kcfg_DATA = djvumultipage.kcfg

pluginsdir = $(kde_datadir)
plugins_DATA = djvumultipage.rc

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