summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/Makefile.am
blob: 3f980a6d16168b1149165708f83950a1efb6c246 (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 = -ltdeprint -ltdeparts $(top_builddir)/kviewshell/libtdemultipage.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