summaryrefslogtreecommitdiffstats
path: root/kfile-plugins/pdf/Makefile.am
blob: 65a7742bf2441e6995bc4bd33905c21b9fd070a2 (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
## Makefile.am for the pdf file meta info plugin

subdirs=poppler-qt

# set the include path for X, qt and KDE
INCLUDES         = $(all_includes) -I$(top_srcdir)/kfile-plugins/pdf/poppler-qt

# these are the headers for your project
noinst_HEADERS   = kfile_pdf.h

kde_module_LTLIBRARIES = kfile_pdf.la

kfile_pdf_la_COMPILE_FIRST = poppler-qt
kfile_pdf_la_SOURCES = kfile_pdf.cpp
kfile_pdf_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
kfile_pdf_la_LIBADD = $(LIB_KIO) -L$(top_builddir)/kfile-plugins/pdf/poppler-qt/ -lpoppler-qt

# let automoc handle all of the meta source files (moc)
METASOURCES = AUTO

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

services_DATA = kfile_pdf.desktop
servicesdir = $(kde_servicesdir)