Adding missing Makefiles

preferencesAboutTextFull
Claudio Valerio 14 years ago
parent e8aff5a39e
commit 1dfce32e2e
  1. 69
      thirdparty/xpdf/xpdf-3.02/fofi/Makefile
  2. 0
      thirdparty/xpdf/xpdf-3.02/fofi/Makefile.dep
  3. 69
      thirdparty/xpdf/xpdf-3.02/fofi/Makefile.in
  4. 71
      thirdparty/xpdf/xpdf-3.02/goo/Makefile
  5. 0
      thirdparty/xpdf/xpdf-3.02/goo/Makefile.dep
  6. 71
      thirdparty/xpdf/xpdf-3.02/goo/Makefile.in
  7. 99
      thirdparty/xpdf/xpdf-3.02/splash/Makefile
  8. 0
      thirdparty/xpdf/xpdf-3.02/splash/Makefile.dep
  9. 99
      thirdparty/xpdf/xpdf-3.02/splash/Makefile.in
  10. 254
      thirdparty/xpdf/xpdf-3.02/xpdf/Makefile
  11. 0
      thirdparty/xpdf/xpdf-3.02/xpdf/Makefile.dep
  12. 254
      thirdparty/xpdf/xpdf-3.02/xpdf/Makefile.in

@ -0,0 +1,69 @@
#========================================================================
#
# FoFi library Makefile
#
# Copyright 2003 Glyph & Cog, LLC
#
#========================================================================
SHELL = /bin/sh
srcdir = .
GOOSRCDIR = $(srcdir)/../goo
GOOLIBDIR = ../goo
CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(srcdir)
CXX = g++
AR = ar rc
RANLIB = ranlib
LIBPREFIX = lib
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/FoFiBase.cc \
$(srcdir)/FoFiEncodings.cc \
$(srcdir)/FoFiTrueType.cc \
$(srcdir)/FoFiType1.cc \
$(srcdir)/FoFiType1C.cc
#------------------------------------------------------------------------
all: $(LIBPREFIX)fofi.a
#------------------------------------------------------------------------
FOFI_OBJS = \
FoFiBase.o \
FoFiEncodings.o \
FoFiTrueType.o \
FoFiType1.o \
FoFiType1C.o
$(LIBPREFIX)fofi.a: $(FOFI_OBJS)
rm -f $(LIBPREFIX)fofi.a
$(AR) $(LIBPREFIX)fofi.a $(FOFI_OBJS)
$(RANLIB) $(LIBPREFIX)fofi.a
#------------------------------------------------------------------------
clean:
rm -f $(FOFI_OBJS) $(LIBPREFIX)fofi.a
#------------------------------------------------------------------------
depend:
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
include Makefile.dep

@ -0,0 +1,69 @@
#========================================================================
#
# FoFi library Makefile
#
# Copyright 2003 Glyph & Cog, LLC
#
#========================================================================
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
GOOSRCDIR = $(srcdir)/../goo
GOOLIBDIR = ../goo
CXXFLAGS = @CXXFLAGS@ @DEFS@ -I.. -I$(GOOSRCDIR) -I$(srcdir)
CXX = @CXX@
AR = @AR@
RANLIB = @RANLIB@
LIBPREFIX = @LIBPREFIX@
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/FoFiBase.cc \
$(srcdir)/FoFiEncodings.cc \
$(srcdir)/FoFiTrueType.cc \
$(srcdir)/FoFiType1.cc \
$(srcdir)/FoFiType1C.cc
#------------------------------------------------------------------------
all: $(LIBPREFIX)fofi.a
#------------------------------------------------------------------------
FOFI_OBJS = \
FoFiBase.o \
FoFiEncodings.o \
FoFiTrueType.o \
FoFiType1.o \
FoFiType1C.o
$(LIBPREFIX)fofi.a: $(FOFI_OBJS)
rm -f $(LIBPREFIX)fofi.a
$(AR) $(LIBPREFIX)fofi.a $(FOFI_OBJS)
$(RANLIB) $(LIBPREFIX)fofi.a
#------------------------------------------------------------------------
clean:
rm -f $(FOFI_OBJS) $(LIBPREFIX)fofi.a
#------------------------------------------------------------------------
depend:
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
include Makefile.dep

@ -0,0 +1,71 @@
#========================================================================
#
# Goo library Makefile
#
# Copyright 1996-2003 Glyph & Cog, LLC
#
#========================================================================
SHELL = /bin/sh
srcdir = .
CFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(srcdir)
CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(srcdir)
CC = gcc
CXX = g++
AR = ar rc
RANLIB = ranlib
LIBPREFIX = lib
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/GHash.cc \
$(srcdir)/GList.cc \
$(srcdir)/GString.cc \
$(srcdir)/gmem.cc \
$(srcdir)/gmempp.cc \
$(srcdir)/gfile.cc \
$(srcdir)/FixedPoint.cc
C_SRC = \
$(srcdir)/parseargs.c
#------------------------------------------------------------------------
all: $(LIBPREFIX)Goo.a
#------------------------------------------------------------------------
GOO_CXX_OBJS = GHash.o GList.o GString.o gmem.o gmempp.o gfile.o FixedPoint.o
GOO_C_OBJS = parseargs.o
GOO_OBJS = $(GOO_CXX_OBJS) $(GOO_C_OBJS)
$(LIBPREFIX)Goo.a: $(GOO_OBJS)
rm -f $(LIBPREFIX)Goo.a
$(AR) $(LIBPREFIX)Goo.a $(GOO_OBJS)
$(RANLIB) $(LIBPREFIX)Goo.a
#------------------------------------------------------------------------
clean:
rm -f $(GOO_OBJS) $(LIBPREFIX)Goo.a
#------------------------------------------------------------------------
depend:
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
$(CC) $(CFLAGS) -MM $(C_SRC) >>Makefile.dep
include Makefile.dep

@ -0,0 +1,71 @@
#========================================================================
#
# Goo library Makefile
#
# Copyright 1996-2003 Glyph & Cog, LLC
#
#========================================================================
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
CFLAGS = @CFLAGS@ @DEFS@ -I.. -I$(srcdir)
CXXFLAGS = @CXXFLAGS@ @DEFS@ -I.. -I$(srcdir)
CC = @CC@
CXX = @CXX@
AR = @AR@
RANLIB = @RANLIB@
LIBPREFIX = @LIBPREFIX@
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/GHash.cc \
$(srcdir)/GList.cc \
$(srcdir)/GString.cc \
$(srcdir)/gmem.cc \
$(srcdir)/gmempp.cc \
$(srcdir)/gfile.cc \
$(srcdir)/FixedPoint.cc
C_SRC = \
$(srcdir)/parseargs.c
#------------------------------------------------------------------------
all: $(LIBPREFIX)Goo.a
#------------------------------------------------------------------------
GOO_CXX_OBJS = GHash.o GList.o GString.o gmem.o gmempp.o gfile.o FixedPoint.o
GOO_C_OBJS = parseargs.o
GOO_OBJS = $(GOO_CXX_OBJS) $(GOO_C_OBJS)
$(LIBPREFIX)Goo.a: $(GOO_OBJS)
rm -f $(LIBPREFIX)Goo.a
$(AR) $(LIBPREFIX)Goo.a $(GOO_OBJS)
$(RANLIB) $(LIBPREFIX)Goo.a
#------------------------------------------------------------------------
clean:
rm -f $(GOO_OBJS) $(LIBPREFIX)Goo.a
#------------------------------------------------------------------------
depend:
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
$(CC) $(CFLAGS) -MM $(C_SRC) >>Makefile.dep
include Makefile.dep

@ -0,0 +1,99 @@
#========================================================================
#
# Splash library Makefile
#
# Copyright 2003 Glyph & Cog, LLC
#
#========================================================================
SHELL = /bin/sh
srcdir = .
GOOSRCDIR = $(srcdir)/../goo
GOOLIBDIR = ../goo
FOFISRCDIR = $(srcdir)/../fofi
FOFILIBDIR = ../fofi
CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir)
CXX = g++
AR = ar rc
RANLIB = ranlib
LIBPREFIX = lib
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/Splash.cc \
$(srcdir)/SplashBitmap.cc \
$(srcdir)/SplashClip.cc \
$(srcdir)/SplashFTFont.cc \
$(srcdir)/SplashFTFontEngine.cc \
$(srcdir)/SplashFTFontFile.cc \
$(srcdir)/SplashFont.cc \
$(srcdir)/SplashFontEngine.cc \
$(srcdir)/SplashFontFile.cc \
$(srcdir)/SplashFontFileID.cc \
$(srcdir)/SplashPath.cc \
$(srcdir)/SplashPattern.cc \
$(srcdir)/SplashScreen.cc \
$(srcdir)/SplashState.cc \
$(srcdir)/SplashT1Font.cc \
$(srcdir)/SplashT1FontEngine.cc \
$(srcdir)/SplashT1FontFile.cc \
$(srcdir)/SplashXPath.cc \
$(srcdir)/SplashXPathScanner.cc
#------------------------------------------------------------------------
all: $(LIBPREFIX)splash.a
#------------------------------------------------------------------------
SPLASH_OBJS = \
Splash.o \
SplashBitmap.o \
SplashClip.o \
SplashFTFont.o \
SplashFTFontEngine.o \
SplashFTFontFile.o \
SplashFont.o \
SplashFontEngine.o \
SplashFontFile.o \
SplashFontFileID.o \
SplashPath.o \
SplashPattern.o \
SplashScreen.o \
SplashState.o \
SplashT1Font.o \
SplashT1FontEngine.o \
SplashT1FontFile.o \
SplashXPath.o \
SplashXPathScanner.o
$(LIBPREFIX)splash.a: $(SPLASH_OBJS)
rm -f $(LIBPREFIX)splash.a
$(AR) $(LIBPREFIX)splash.a $(SPLASH_OBJS)
$(RANLIB) $(LIBPREFIX)splash.a
#------------------------------------------------------------------------
clean:
rm -f $(SPLASH_OBJS) $(LIBPREFIX)splash.a
#------------------------------------------------------------------------
depend:
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
include Makefile.dep

@ -0,0 +1,99 @@
#========================================================================
#
# Splash library Makefile
#
# Copyright 2003 Glyph & Cog, LLC
#
#========================================================================
SHELL = /bin/sh
srcdir = @srcdir@
VPATH = @srcdir@
GOOSRCDIR = $(srcdir)/../goo
GOOLIBDIR = ../goo
FOFISRCDIR = $(srcdir)/../fofi
FOFILIBDIR = ../fofi
CXXFLAGS = @CXXFLAGS@ @DEFS@ -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(srcdir) @t1_CFLAGS@ @freetype2_CFLAGS@
CXX = @CXX@
AR = @AR@
RANLIB = @RANLIB@
LIBPREFIX = @LIBPREFIX@
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/Splash.cc \
$(srcdir)/SplashBitmap.cc \
$(srcdir)/SplashClip.cc \
$(srcdir)/SplashFTFont.cc \
$(srcdir)/SplashFTFontEngine.cc \
$(srcdir)/SplashFTFontFile.cc \
$(srcdir)/SplashFont.cc \
$(srcdir)/SplashFontEngine.cc \
$(srcdir)/SplashFontFile.cc \
$(srcdir)/SplashFontFileID.cc \
$(srcdir)/SplashPath.cc \
$(srcdir)/SplashPattern.cc \
$(srcdir)/SplashScreen.cc \
$(srcdir)/SplashState.cc \
$(srcdir)/SplashT1Font.cc \
$(srcdir)/SplashT1FontEngine.cc \
$(srcdir)/SplashT1FontFile.cc \
$(srcdir)/SplashXPath.cc \
$(srcdir)/SplashXPathScanner.cc
#------------------------------------------------------------------------
all: $(LIBPREFIX)splash.a
#------------------------------------------------------------------------
SPLASH_OBJS = \
Splash.o \
SplashBitmap.o \
SplashClip.o \
SplashFTFont.o \
SplashFTFontEngine.o \
SplashFTFontFile.o \
SplashFont.o \
SplashFontEngine.o \
SplashFontFile.o \
SplashFontFileID.o \
SplashPath.o \
SplashPattern.o \
SplashScreen.o \
SplashState.o \
SplashT1Font.o \
SplashT1FontEngine.o \
SplashT1FontFile.o \
SplashXPath.o \
SplashXPathScanner.o
$(LIBPREFIX)splash.a: $(SPLASH_OBJS)
rm -f $(LIBPREFIX)splash.a
$(AR) $(LIBPREFIX)splash.a $(SPLASH_OBJS)
$(RANLIB) $(LIBPREFIX)splash.a
#------------------------------------------------------------------------
clean:
rm -f $(SPLASH_OBJS) $(LIBPREFIX)splash.a
#------------------------------------------------------------------------
depend:
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
include Makefile.dep

@ -0,0 +1,254 @@
#========================================================================
#
# Xpdf Makefile
#
# Copyright 1996-2003 Glyph & Cog, LLC
#
#========================================================================
SHELL = /bin/sh
prefix = /usr/local
srcdir = .
GOOSRCDIR = $(srcdir)/../goo
GOOLIBDIR = ../goo
FOFISRCDIR = $(srcdir)/../fofi
FOFILIBDIR = ../fofi
SPLASHSRCDIR = $(srcdir)/../splash
SPLASHLIBDIR = ../splash
CXXFLAGS = -g -O2 -DHAVE_CONFIG_H -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir)
LDFLAGS =
T1LIBS =
FTLIBS =
XLIBS = -lXt -lXp -lXext -lXpm -lSM -lICE -lX11
SPLASHLIBS = -L$(SPLASHLIBDIR) -lsplash
OTHERLIBS = \
-L$(FOFILIBDIR) -lfofi \
-L$(GOOLIBDIR) -lGoo
CXX = g++
LIBPREFIX = lib
EXE =
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/Annot.cc \
$(srcdir)/Array.cc \
$(srcdir)/BuiltinFont.cc \
$(srcdir)/BuiltinFontTables.cc \
$(srcdir)/CMap.cc \
$(srcdir)/Catalog.cc \
$(srcdir)/CharCodeToUnicode.cc \
$(srcdir)/CoreOutputDev.cc \
$(srcdir)/Decrypt.cc \
$(srcdir)/Dict.cc \
$(srcdir)/Error.cc \
$(srcdir)/FontEncodingTables.cc \
$(srcdir)/Function.cc \
$(srcdir)/Gfx.cc \
$(srcdir)/GfxFont.cc \
$(srcdir)/GfxState.cc \
$(srcdir)/GlobalParams.cc \
$(srcdir)/ImageOutputDev.cc \
$(srcdir)/JArithmeticDecoder.cc \
$(srcdir)/JBIG2Stream.cc \
$(srcdir)/JPXStream.cc \
$(srcdir)/Lexer.cc \
$(srcdir)/Link.cc \
$(srcdir)/NameToCharCode.cc \
$(srcdir)/Object.cc \
$(srcdir)/Outline.cc \
$(srcdir)/OutputDev.cc \
$(srcdir)/PDFCore.cc \
$(srcdir)/PDFDoc.cc \
$(srcdir)/PDFDocEncoding.cc \
$(srcdir)/PSOutputDev.cc \
$(srcdir)/PSTokenizer.cc \
$(srcdir)/Page.cc \
$(srcdir)/Parser.cc \
$(srcdir)/PreScanOutputDev.cc \
$(srcdir)/SecurityHandler.cc \
$(srcdir)/SplashOutputDev.cc \
$(srcdir)/Stream.cc \
$(srcdir)/TextOutputDev.cc \
$(srcdir)/UnicodeMap.cc \
$(srcdir)/UnicodeTypeTable.cc \
$(srcdir)/XPDFApp.cc \
$(srcdir)/XPDFCore.cc \
$(srcdir)/XPDFTree.cc \
$(srcdir)/XPDFViewer.cc \
$(srcdir)/XpdfPluginAPI.cc \
$(srcdir)/XRef.cc \
$(srcdir)/pdftops.cc \
$(srcdir)/pdftotext.cc \
$(srcdir)/pdfinfo.cc \
$(srcdir)/pdffonts.cc \
$(srcdir)/pdftoppm.cc \
$(srcdir)/pdfimages.cc \
$(srcdir)/xpdf.cc
#------------------------------------------------------------------------
all: xpdf$(EXE) pdftops$(EXE) pdftotext$(EXE) pdfinfo$(EXE) \
pdffonts$(EXE) pdftoppm$(EXE) pdfimages$(EXE)
all-no-x: pdftops$(EXE) pdftotext$(EXE) pdfinfo$(EXE) pdffonts$(EXE) \
pdfimages$(EXE)
#------------------------------------------------------------------------
XPDF_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o \
CharCodeToUnicode.o CMap.o CoreOutputDev.o Decrypt.o Dict.o \
Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o \
GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o \
JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o \
OutputDev.o Page.o Parser.o PDFCore.o PDFDoc.o PDFDocEncoding.o \
PreScanOutputDev.o PSOutputDev.o PSTokenizer.o SecurityHandler.x.o \
SplashOutputDev.o Stream.o TextOutputDev.o UnicodeMap.o \
UnicodeTypeTable.o XPDFApp.o XPDFCore.o XPDFTree.o XPDFViewer.o \
XpdfPluginAPI.o XRef.o xpdf.o
XPDF_LIBS = -L$(GOOLIBDIR) -lGoo $(SPLASHLIBS) $(T1LIBS) $(FTLIBS) \
$(XLIBS) $(OTHERLIBS) -lm
xpdf$(EXE): $(XPDF_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o xpdf$(EXE) $(XPDF_OBJS) $(XPDF_LIBS)
#------------------------------------------------------------------------
PDFTOPS_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o \
GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o \
JPXStream.o Lexer.o Link.o NameToCharCode.o Outline.o Object.o \
OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o \
PreScanOutputDev.o PSOutputDev.o PSTokenizer.o SecurityHandler.o \
SplashOutputDev.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o \
pdftops.o
PDFTOPS_LIBS = -L$(GOOLIBDIR) -lGoo $(SPLASHLIBS) $(T1LIBS) $(FTLIBS) \
$(OTHERLIBS) -lm
pdftops$(EXE): $(PDFTOPS_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdftops$(EXE) $(PDFTOPS_OBJS) \
$(PDFTOPS_LIBS)
#------------------------------------------------------------------------
PDFTOTEXT_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o \
GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o \
JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o \
OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o \
SecurityHandler.o Stream.o TextOutputDev.o UnicodeMap.o \
UnicodeTypeTable.o XpdfPluginAPI.o XRef.o pdftotext.o
PDFTOTEXT_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdftotext$(EXE): $(PDFTOTEXT_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdftotext$(EXE) $(PDFTOTEXT_OBJS) \
$(PDFTOTEXT_LIBS)
#------------------------------------------------------------------------
PDFINFO_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o \
GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o \
JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o \
OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o \
SecurityHandler.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o \
pdfinfo.o
PDFINFO_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdfinfo$(EXE): $(PDFINFO_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdfinfo$(EXE) $(PDFINFO_OBJS) \
$(PDFINFO_LIBS)
#------------------------------------------------------------------------
PDFFONTS_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o \
GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o \
JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o \
OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o \
SecurityHandler.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o \
pdffonts.o
PDFFONTS_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdffonts$(EXE): $(PDFFONTS_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdffonts$(EXE) $(PDFFONTS_OBJS) \
$(PDFFONTS_LIBS)
#------------------------------------------------------------------------
PDFTOPPM_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o \
GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o \
Lexer.o Link.o NameToCharCode.o Object.o Outline.o OutputDev.o \
Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o \
SecurityHandler.o SplashOutputDev.o Stream.o TextOutputDev.o \
UnicodeMap.o UnicodeTypeTable.o XpdfPluginAPI.o XRef.o pdftoppm.o
PDFTOPPM_LIBS = -L$(GOOLIBDIR) -lGoo $(SPLASHLIBS) $(T1LIBS) $(FTLIBS) \
$(OTHERLIBS) -lm
pdftoppm$(EXE): $(PDFTOPPM_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdftoppm$(EXE) $(PDFTOPPM_OBJS) \
$(PDFTOPPM_LIBS)
#------------------------------------------------------------------------
PDFIMAGES_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o \
GlobalParams.o ImageOutputDev.o JArithmeticDecoder.o \
JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o \
Outline.o OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o \
PSTokenizer.o SecurityHandler.o Stream.o UnicodeMap.o \
XpdfPluginAPI.o XRef.o pdfimages.o
PDFIMAGES_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdfimages$(EXE): $(PDFIMAGES_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdfimages$(EXE) $(PDFIMAGES_OBJS) \
$(PDFIMAGES_LIBS)
#------------------------------------------------------------------------
SecurityHandler.x.o: SecurityHandler.cc
$(CXX) $(CXXFLAGS) -DHAVE_XPDFCORE -c -o SecurityHandler.x.o \
SecurityHandler.cc
#------------------------------------------------------------------------
clean:
rm -f $(XPDF_OBJS) xpdf$(EXE)
rm -f $(PDFTOPS_OBJS) pdftops$(EXE)
rm -f $(PDFTOTEXT_OBJS) pdftotext$(EXE)
rm -f $(PDFINFO_OBJS) pdfinfo$(EXE)
rm -f $(PDFFONTS_OBJS) pdffonts$(EXE)
rm -f $(PDFTOPPM_OBJS) pdftoppm$(EXE)
rm -f $(PDFIMAGES_OBJS) pdfimages$(EXE)
#------------------------------------------------------------------------
depend:
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
include Makefile.dep

@ -0,0 +1,254 @@
#========================================================================
#
# Xpdf Makefile
#
# Copyright 1996-2003 Glyph & Cog, LLC
#
#========================================================================
SHELL = /bin/sh
prefix = @prefix@
srcdir = @srcdir@
VPATH = @srcdir@
GOOSRCDIR = $(srcdir)/../goo
GOOLIBDIR = ../goo
FOFISRCDIR = $(srcdir)/../fofi
FOFILIBDIR = ../fofi
SPLASHSRCDIR = $(srcdir)/../splash
SPLASHLIBDIR = ../splash
CXXFLAGS = @CXXFLAGS@ @DEFS@ -I.. -I$(GOOSRCDIR) -I$(FOFISRCDIR) -I$(SPLASHSRCDIR) -I$(srcdir) @freetype2_CFLAGS@ @Sgm_CFLAGS@ @Xm_CFLAGS@ @Xt_CFLAGS@ @Xp_CFLAGS@ @Xext_CFLAGS@ @Xpm_CFLAGS@ @t1_CFLAGS@ @libpaper_CFLAGS@ @X_CFLAGS@
LDFLAGS = @LDFLAGS@
T1LIBS = @t1_LIBS@
FTLIBS = @freetype2_LIBS@
XLIBS = @Sgm_LIBS@ @Xm_LIBS@ @Xt_LIBS@ @Xp_LIBS@ @Xext_LIBS@ @Xpm_LIBS@ @X_PRE_LIBS@ @X_LIBS@ -lX11 @X_EXTRA_LIBS@
SPLASHLIBS = -L$(SPLASHLIBDIR) -lsplash
OTHERLIBS = @LIBS@ @libpaper_LIBS@ \
-L$(FOFILIBDIR) -lfofi \
-L$(GOOLIBDIR) -lGoo
CXX = @CXX@
LIBPREFIX = @LIBPREFIX@
EXE = @EXE@
#------------------------------------------------------------------------
.SUFFIXES: .cc
.cc.o:
$(CXX) $(CXXFLAGS) -c $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/Annot.cc \
$(srcdir)/Array.cc \
$(srcdir)/BuiltinFont.cc \
$(srcdir)/BuiltinFontTables.cc \
$(srcdir)/CMap.cc \
$(srcdir)/Catalog.cc \
$(srcdir)/CharCodeToUnicode.cc \
$(srcdir)/CoreOutputDev.cc \
$(srcdir)/Decrypt.cc \
$(srcdir)/Dict.cc \
$(srcdir)/Error.cc \
$(srcdir)/FontEncodingTables.cc \
$(srcdir)/Function.cc \
$(srcdir)/Gfx.cc \
$(srcdir)/GfxFont.cc \
$(srcdir)/GfxState.cc \
$(srcdir)/GlobalParams.cc \
$(srcdir)/ImageOutputDev.cc \
$(srcdir)/JArithmeticDecoder.cc \
$(srcdir)/JBIG2Stream.cc \
$(srcdir)/JPXStream.cc \
$(srcdir)/Lexer.cc \
$(srcdir)/Link.cc \
$(srcdir)/NameToCharCode.cc \
$(srcdir)/Object.cc \
$(srcdir)/Outline.cc \
$(srcdir)/OutputDev.cc \
$(srcdir)/PDFCore.cc \
$(srcdir)/PDFDoc.cc \
$(srcdir)/PDFDocEncoding.cc \
$(srcdir)/PSOutputDev.cc \
$(srcdir)/PSTokenizer.cc \
$(srcdir)/Page.cc \
$(srcdir)/Parser.cc \
$(srcdir)/PreScanOutputDev.cc \
$(srcdir)/SecurityHandler.cc \
$(srcdir)/SplashOutputDev.cc \
$(srcdir)/Stream.cc \
$(srcdir)/TextOutputDev.cc \
$(srcdir)/UnicodeMap.cc \
$(srcdir)/UnicodeTypeTable.cc \
$(srcdir)/XPDFApp.cc \
$(srcdir)/XPDFCore.cc \
$(srcdir)/XPDFTree.cc \
$(srcdir)/XPDFViewer.cc \
$(srcdir)/XpdfPluginAPI.cc \
$(srcdir)/XRef.cc \
$(srcdir)/pdftops.cc \
$(srcdir)/pdftotext.cc \
$(srcdir)/pdfinfo.cc \
$(srcdir)/pdffonts.cc \
$(srcdir)/pdftoppm.cc \
$(srcdir)/pdfimages.cc \
$(srcdir)/xpdf.cc
#------------------------------------------------------------------------
all: xpdf$(EXE) pdftops$(EXE) pdftotext$(EXE) pdfinfo$(EXE) \
pdffonts$(EXE) pdftoppm$(EXE) pdfimages$(EXE)
all-no-x: pdftops$(EXE) pdftotext$(EXE) pdfinfo$(EXE) pdffonts$(EXE) \
pdfimages$(EXE)
#------------------------------------------------------------------------
XPDF_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o Catalog.o \
CharCodeToUnicode.o CMap.o CoreOutputDev.o Decrypt.o Dict.o \
Error.o FontEncodingTables.o Function.o Gfx.o GfxFont.o \
GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o \
JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o \
OutputDev.o Page.o Parser.o PDFCore.o PDFDoc.o PDFDocEncoding.o \
PreScanOutputDev.o PSOutputDev.o PSTokenizer.o SecurityHandler.x.o \
SplashOutputDev.o Stream.o TextOutputDev.o UnicodeMap.o \
UnicodeTypeTable.o XPDFApp.o XPDFCore.o XPDFTree.o XPDFViewer.o \
XpdfPluginAPI.o XRef.o xpdf.o
XPDF_LIBS = -L$(GOOLIBDIR) -lGoo $(SPLASHLIBS) $(T1LIBS) $(FTLIBS) \
$(XLIBS) $(OTHERLIBS) -lm
xpdf$(EXE): $(XPDF_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o xpdf$(EXE) $(XPDF_OBJS) $(XPDF_LIBS)
#------------------------------------------------------------------------
PDFTOPS_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o \
GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o \
JPXStream.o Lexer.o Link.o NameToCharCode.o Outline.o Object.o \
OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o \
PreScanOutputDev.o PSOutputDev.o PSTokenizer.o SecurityHandler.o \
SplashOutputDev.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o \
pdftops.o
PDFTOPS_LIBS = -L$(GOOLIBDIR) -lGoo $(SPLASHLIBS) $(T1LIBS) $(FTLIBS) \
$(OTHERLIBS) -lm
pdftops$(EXE): $(PDFTOPS_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdftops$(EXE) $(PDFTOPS_OBJS) \
$(PDFTOPS_LIBS)
#------------------------------------------------------------------------
PDFTOTEXT_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o \
GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o \
JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o \
OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o \
SecurityHandler.o Stream.o TextOutputDev.o UnicodeMap.o \
UnicodeTypeTable.o XpdfPluginAPI.o XRef.o pdftotext.o
PDFTOTEXT_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdftotext$(EXE): $(PDFTOTEXT_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdftotext$(EXE) $(PDFTOTEXT_OBJS) \
$(PDFTOTEXT_LIBS)
#------------------------------------------------------------------------
PDFINFO_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o \
GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o \
JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o \
OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o \
SecurityHandler.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o \
pdfinfo.o
PDFINFO_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdfinfo$(EXE): $(PDFINFO_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdfinfo$(EXE) $(PDFINFO_OBJS) \
$(PDFINFO_LIBS)
#------------------------------------------------------------------------
PDFFONTS_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o \
GfxState.o GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o \
JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o Outline.o \
OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o \
SecurityHandler.o Stream.o UnicodeMap.o XpdfPluginAPI.o XRef.o \
pdffonts.o
PDFFONTS_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdffonts$(EXE): $(PDFFONTS_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdffonts$(EXE) $(PDFFONTS_OBJS) \
$(PDFFONTS_LIBS)
#------------------------------------------------------------------------
PDFTOPPM_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o \
GlobalParams.o JArithmeticDecoder.o JBIG2Stream.o JPXStream.o \
Lexer.o Link.o NameToCharCode.o Object.o Outline.o OutputDev.o \
Page.o Parser.o PDFDoc.o PDFDocEncoding.o PSTokenizer.o \
SecurityHandler.o SplashOutputDev.o Stream.o TextOutputDev.o \
UnicodeMap.o UnicodeTypeTable.o XpdfPluginAPI.o XRef.o pdftoppm.o
PDFTOPPM_LIBS = -L$(GOOLIBDIR) -lGoo $(SPLASHLIBS) $(T1LIBS) $(FTLIBS) \
$(OTHERLIBS) -lm
pdftoppm$(EXE): $(PDFTOPPM_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdftoppm$(EXE) $(PDFTOPPM_OBJS) \
$(PDFTOPPM_LIBS)
#------------------------------------------------------------------------
PDFIMAGES_OBJS = Annot.o Array.o BuiltinFont.o BuiltinFontTables.o \
Catalog.o CharCodeToUnicode.o CMap.o Decrypt.o Dict.o Error.o \
FontEncodingTables.o Function.o Gfx.o GfxFont.o GfxState.o \
GlobalParams.o ImageOutputDev.o JArithmeticDecoder.o \
JBIG2Stream.o JPXStream.o Lexer.o Link.o NameToCharCode.o Object.o \
Outline.o OutputDev.o Page.o Parser.o PDFDoc.o PDFDocEncoding.o \
PSTokenizer.o SecurityHandler.o Stream.o UnicodeMap.o \
XpdfPluginAPI.o XRef.o pdfimages.o
PDFIMAGES_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
pdfimages$(EXE): $(PDFIMAGES_OBJS) $(GOOLIBDIR)/$(LIBPREFIX)Goo.a
$(CXX) $(CXXFLAGS) $(LDFLAGS) -o pdfimages$(EXE) $(PDFIMAGES_OBJS) \
$(PDFIMAGES_LIBS)
#------------------------------------------------------------------------
SecurityHandler.x.o: SecurityHandler.cc
$(CXX) $(CXXFLAGS) -DHAVE_XPDFCORE -c -o SecurityHandler.x.o \
SecurityHandler.cc
#------------------------------------------------------------------------
clean:
rm -f $(XPDF_OBJS) xpdf$(EXE)
rm -f $(PDFTOPS_OBJS) pdftops$(EXE)
rm -f $(PDFTOTEXT_OBJS) pdftotext$(EXE)
rm -f $(PDFINFO_OBJS) pdfinfo$(EXE)
rm -f $(PDFFONTS_OBJS) pdffonts$(EXE)
rm -f $(PDFTOPPM_OBJS) pdftoppm$(EXE)
rm -f $(PDFIMAGES_OBJS) pdfimages$(EXE)
#------------------------------------------------------------------------
depend:
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >Makefile.dep
include Makefile.dep
Loading…
Cancel
Save