summaryrefslogtreecommitdiffstats
path: root/kpdf/Makefile.am
blob: 73506b4f5ebc310f8b0befaaf42eae0342f5bc45 (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
SUBDIRS = xpdf conf core ui shell

INCLUDES = -I$(srcdir)/xpdf -I$(srcdir)/xpdf/goo -I$(top_builddir)/kpdf $(all_includes) $(FREETYPE_CFLAGS)

METASOURCES = AUTO

messages: rc.cpp
	$(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui"` >> rc.cpp
	$(XGETTEXT) `find . -name "*.cpp" -o -name "*.cc" -o -name "*.h"` -o $(podir)/kpdf.pot

KDE_ICON = kpdf

#########################################################################
# KPART SECTION
#########################################################################
kde_module_LTLIBRARIES = libkpdfpart.la

libkpdfpart_la_SOURCES = dcop.skel error.cpp part.cpp
libkpdfpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries)
libkpdfpart_la_LIBADD  = xpdf/xpdf/libxpdf.la conf/libkpdfconf.la \
                         core/libkpdfcore.la ui/libkpdfui.la $(LIB_KPARTS) \
                         $(LIB_TDEFILE) $(LIB_TDEPRINT) $(LIB_KUTILS) -lm

partdesktopdir   = $(kde_servicesdir)
partdesktop_DATA = kpdf_part.desktop

partrcdir   = $(kde_datadir)/kpdfpart
partrc_DATA = part.rc

part.lo: conf/settings.h