summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/pdf/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins/pdf/Makefile.am')
-rw-r--r--tdefile-plugins/pdf/Makefile.am22
1 files changed, 22 insertions, 0 deletions
diff --git a/tdefile-plugins/pdf/Makefile.am b/tdefile-plugins/pdf/Makefile.am
new file mode 100644
index 00000000..a6f38115
--- /dev/null
+++ b/tdefile-plugins/pdf/Makefile.am
@@ -0,0 +1,22 @@
+## Makefile.am for the pdf file meta info plugin
+
+# set the include path for X, qt and KDE
+INCLUDES = $(all_includes) -I$(top_srcdir)/tdefile-plugins/dependencies/poppler-tqt
+
+# these are the headers for your project
+noinst_HEADERS = tdefile_pdf.h
+
+kde_module_LTLIBRARIES = tdefile_pdf.la
+
+tdefile_pdf_la_SOURCES = tdefile_pdf.cpp
+tdefile_pdf_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN)
+tdefile_pdf_la_LIBADD = $(LIB_KIO) -L$(top_builddir)/tdefile-plugins/dependencies/poppler-tqt/ -lpoppler-tqt
+
+# let automoc handle all of the meta source files (moc)
+METASOURCES = AUTO
+
+messages:
+ $(XGETTEXT) *.cpp -o $(podir)/tdefile_pdf.pot
+
+services_DATA = tdefile_pdf.desktop
+servicesdir = $(kde_servicesdir)