X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FMakefile.in;h=1cbe6f1c48b59eb8b2fdcdadd31e2f0bfceb20dc;hb=5e85f2318e021b29590ae201311350842122d1e8;hp=bd76b4966d88957e3b36fe4f5f9d8ecbb7de50c0;hpb=d9eea915525324137ded2a8ccf8153e5ab312a85;p=swftools.git diff --git a/lib/pdf/Makefile.in b/lib/pdf/Makefile.in index bd76b49..1cbe6f1 100644 --- a/lib/pdf/Makefile.in +++ b/lib/pdf/Makefile.in @@ -1,14 +1,16 @@ # Generated automatically from Makefile.in by configure. top_builddir = ../.. -srcdir = . -top_srcdir = ../.. +srcdir = @srcdir@ +top_srcdir = @top_srcdir@ include ../../Makefile.common -all: ../libpdf$(A) pdf2swf +all: ../libpdf$(A) pdf2swf$(E) libpdf: ../libpdf$(A) -libpdf_objects = GFXOutputDev.$(O) InfoOutputDev.$(O) pdf.$(O) fonts.$(O) +libpdf_objects = GFXOutputDev.$(O) InfoOutputDev.$(O) BitmapOutputDev.$(O) FullBitmapOutputDev.$(O) pdf.$(O) fonts.$(O) + +xpdf_in_source = @xpdf_in_source@ xpdf_objects = xpdf/GHash.$(O) xpdf/GList.$(O) xpdf/GString.$(O) xpdf/gmem.$(O) xpdf/gfile.$(O) \ xpdf/FoFiTrueType.$(O) xpdf/FoFiType1.$(O) xpdf/FoFiType1C.$(O) xpdf/FoFiBase.$(O) xpdf/FoFiEncodings.$(O) \ @@ -21,15 +23,28 @@ xpdf_objects = xpdf/GHash.$(O) xpdf/GList.$(O) xpdf/GString.$(O) xpdf/gmem.$(O) xpdf/GfxState.$(O) xpdf/Function.$(O) xpdf/Annot.$(O) xpdf/NameToCharCode.$(O) xpdf/UnicodeMap.$(O) \ xpdf/SecurityHandler.$(O) +splash_in_source = @splash_in_source@ +splash_objects = xpdf/SplashOutputDev.$(O) xpdf/SplashFont.$(O) xpdf/SplashState.$(O) xpdf/Splash.$(O) \ + xpdf/SplashBitmap.$(O) xpdf/SplashClip.$(O) xpdf/SplashPattern.$(O) \ + xpdf/SplashFontEngine.$(O) xpdf/SplashFontFile.$(O) xpdf/SplashFontFileID.$(O) \ + xpdf/SplashScreen.$(O) xpdf/SplashPath.$(O) xpdf/SplashXPath.$(O) xpdf/SplashXPathScanner.$(O) \ + xpdf/SplashFTFontEngine.$(O) xpdf/SplashFTFontFile.$(O) xpdf/SplashFTFont.$(O) + fonts.$(O): fonts.c - $(C) -I ./ -I xpdf fonts.c -o $@ + $(C) fonts.c -o $@ cmyk.$(O): cmyk.cc $(CC) -I ./ -I xpdf cmyk.cc -o $@ -GFXOutputDev.$(O): GFXOutputDev.cc GFXOutputDev.h +GFXOutputDev.$(O): GFXOutputDev.cc GFXOutputDev.h CommonOutputDev.h ../gfxpoly.h $(CC) -I ./ -I xpdf GFXOutputDev.cc -o $@ InfoOutputDev.$(O): InfoOutputDev.cc InfoOutputDev.h $(CC) -I ./ -I xpdf InfoOutputDev.cc -o $@ -pdf.$(O): pdf.cc GFXOutputDev.h InfoOutputDev.h +BitmapOutputDev.$(O): BitmapOutputDev.cc BitmapOutputDev.h CommonOutputDev.h + $(CC) -I ./ -I xpdf BitmapOutputDev.cc -o $@ +FullBitmapOutputDev.$(O): FullBitmapOutputDev.cc FullBitmapOutputDev.h CommonOutputDev.h + $(CC) -I ./ -I xpdf FullBitmapOutputDev.cc -o $@ +DummyOutputDev.$(O): DummyOutputDev.cc DummyOutputDev.h + $(CC) -I ./ -I xpdf DummyOutputDev.cc -o $@ +pdf.$(O): pdf.cc GFXOutputDev.h InfoOutputDev.h CommonOutputDev.h BitmapOutputDev.h FullBitmapOutputDev.h $(CC) -I ./ -I xpdf pdf.cc -o $@ xpdf/UnicodeMap.$(O): xpdf/UnicodeMap.cc @@ -121,20 +136,36 @@ xpdf/gfile.$(O): xpdf/gfile.cc xpdf/gmem.$(O): xpdf/gmem.cc $(C) -I ./ -I xpdf xpdf/gmem.cc -o $@ -../libpdf$(A): $(libpdf_objects) $(xpdf_objects) - $(AR) r ../libpdf$(A) $(libpdf_objects) $(xpdf_objects) +xpdf/%.$(O): xpdf/%.cc + $(CC) -I ./ -I xpdf $< -o $@ + + +../libpdf$(A): $(libpdf_objects) $(xpdf_in_source) $(splash_in_source) + $(AR) r ../libpdf$(A) $(libpdf_objects) $(xpdf_in_source) $(splash_in_source) $(RANLIB) ../libpdf$(A) +xpdfapp_objects=xpdf/XPDF*.cc xpdf/PDFCore.cc xpdf/TextOutputDev.cc xpdf/xpdf.cc xpdf/CoreOutputDev.cc xpdf/UnicodeTypeTable.cc xpdf/PSOutputDev.cc +xxpdf$(E): $(xpdf_objects) xpdf/Splash*.cc + $(LL) $(CPPFLAGS) -DXPDFEXE -g -I xpdf -I . $(xpdfapp_objects) $(xpdf_objects) xpdf/Splash*.cc xpdf/parseargs.c -o xxpdf$(E) $(LIBS) -lXm -lX11 + pdftoppm$(E): $(xpdf_objects) xpdf/Splash*.cc $(LL) $(CPPFLAGS) -DXPDFEXE -g -I xpdf -I . xpdf/pdftoppm.cc $(xpdf_objects) xpdf/Splash*.cc xpdf/parseargs.c -o pdftoppm$(E) $(LIBS) -pdftotext$(E): $(xpdf_objects) +pdftotext$(E): $(xpdf_objects) $(splash_objects) $(LL) $(CPPFLAGS) -DXPDFEXE -g -I xpdf -I . xpdf/pdftotext.cc $(xpdf_objects) xpdf/TextOutput*.cc xpdf/UnicodeType*.cc xpdf/parseargs.c -o pdftotext$(E) $(LIBS) -pdf2swf$(E): $(xpdf_objects) $(libpdf_objects) ../../src/pdf2swf.c ../devices/swf.$(O) ../devices/record.$(O) ../devices/arts.$(O) ../devices/ops.$(O) ../devices/render.$(O) ../libbase$(A) - $(LL) $(CPPFLAGS) -g ../../src/pdf2swf.c $(libpdf_objects) $(xpdf_objects) ../devices/swf.$(O) ../devices/arts.$(O) ../devices/record.$(O) ../devices/render.$(O) ../devices/ops.$(O) ../png.$(O) ../librfxswf$(A) ../art/libart.a ../gfxtools.$(O) ../gfxfont.$(O) ../libbase$(A) -o pdf2swf$(E) $(LIBS) + +gfx_objects = ../libgfxswf$(A) ../libgfx$(A) ../librfxswf$(A) ../libbase$(A) +gfx_objects2 = $(gfx_objects) ../devices/lrf.$(O) ../libocr$(A) + +pdf2swf$(E): ../../src/pdf2swf.c $(libpdf_objects) $(xpdf_in_source) $(splash_in_source) $(gfx_objects) + $(LL) $(CPPFLAGS) -g ../../src/pdf2swf.c $(libpdf_objects) $(xpdf_in_source) $(splash_in_source) $(gfx_objects) -o pdf2swf$(E) $(LIBS) +gfx2gfx$(E): ../../src/gfx2gfx.c $(libpdf_objects) $(xpdf_in_source) $(splash_in_source) $(gfx_objects2) + $(LL) $(CPPFLAGS) -g ../../src/gfx2gfx.c $(libpdf_objects) $(xpdf_in_source) $(splash_in_source) $(gfx_objects2) -o gfx2gfx$(E) $(LIBS) install: uninstall: + clean: rm -f xpdf/*.o xpdf/*.obj *.o pdf2swf pdftoppm pdftotext pdf2swf.exe pdftoppm.exe pdftotext.exe *.obj *.lo *.a *.lib *.la gmon.out +.PHONY: clean install uninstall check all