Commit 24d00b34 authored by Wilco Greven's avatar Wilco Greven

Better solution to include config.h in the xpdf sources without modifying

them.

svn path=/trunk/kdegraphics/kpdf/; revision=174660
parent 788d6e3f
......@@ -2,3 +2,5 @@ SUBDIRS = . goo xpdf kpdf
COMPILE_BEFORE_xpdf = goo
COMPILE_BEFORE_kpdf = goo xpdf
noinst_HEADERS = aconf.h
INCLUDES = $(all_includes)
INCLUDES = $(all_includes) -I$(top_srcdir)/kpdf
libgoo_la_LDFLAGS = $(all_libraries) -version-info 5:0:1 -no-undefined
libgoo_la_LDFLAGS = $(all_libraries) -no-undefined
libgoo_la_SOURCES = GHash.cc GList.cc GString.cc gfile.cc gmem.c gmempp.cc \
parseargs.c
libgoo_la_DEPENDENCIES = aconf.h
noinst_LTLIBRARIES = libgoo.la
noinst_HEADERS = GHash.h GList.h GString.h gfile.h gmem.h gtypes.h \
parseargs.h vms_dirent.h vms_sys_dirent.h vms_unix_time.h
METASOURCES = AUTO
aconf.h:
ln -s $(top_builddir)/config.h aconf.h
INCLUDES = $(all_includes) -I$(top_srcdir)/kpdf/goo -I/usr/include/freetype2 -I..
INCLUDES = $(all_includes) -I$(top_srcdir)/kpdf/goo -I/usr/include/freetype2 -I$(top_srcdir)/kpdf
libxpdf_la_LDFLAGS = $(all_libraries) -no-undefined
libxpdf_la_LIBADD = $(LIB_X11) -lfreetype ../goo/libgoo.la
......@@ -10,7 +10,6 @@ libxpdf_la_SOURCES = Annot.cc Array.cc BuiltinFont.cc BuiltinFontTables.cc \
PDFDoc.cc PSOutputDev.cc PSTokenizer.cc Page.cc \
Parser.cc SFont.cc Stream.cc T1Font.cc TTFont.cc TextOutputDev.cc \
UnicodeMap.cc XOutputDev.cc XRef.cc
libxpdf_la_DEPENDENCIES = aconf.h
noinst_LTLIBRARIES = libxpdf.la
noinst_HEADERS = Annot.h Array.h BuiltinFont.h BuiltinFontTables.h \
......@@ -24,6 +23,3 @@ noinst_HEADERS = Annot.h Array.h BuiltinFont.h BuiltinFontTables.h \
UnicodeMap.h UnicodeMapTables.h XOutputDev.h XRef.h config.h xpdf-ltk.h
METASOURCES = AUTO
aconf.h:
ln -s $(top_builddir)/config.h aconf.h
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment