home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Enigma Amiga Life 110
/
EnigmaAmiga110CD.iso
/
indispensabili
/
utility
/
apdf
/
xpdf-0.80
/
buildsas
/
xpdf
/
smakefile
< prev
Wrap
Makefile
|
1999-06-24
|
9KB
|
249 lines
#========================================================================
#
# Apdf Makefile
#
# Copyright 1999 Emmanuel Lesueur
#
#========================================================================
srcdir = //xpdf
GOOSRCDIR = //goo
GOOLIBDIR = /goo
OTHERLIBS =
# note: do not add symbols to the executable, because the C++
# compiler creates symbols with more than 100 characters, and
# AmigaOS refuses to load an executable with such symbols.
# If you really want symbols, you can use a tool that removes
# those long symbols, but cpr seems to get confused by
# executables with missing symbols...
# Here, big symbols seem to come only from poly.cc.
CFLAGS =
CXXFLAGS =
CXX = sc
EXE =
#------------------------------------------------------------------------
.cc.o:
$(CXX) $(CXXFLAGS) $<
.c.o:
$(CC) $(CFLAGS) $<
#------------------------------------------------------------------------
CXX_SRC = \
$(srcdir)/stub.cc \
$(srcdir)/mystdio.cc \
$(srcdir)/Array.cc \
$(srcdir)/Catalog.cc \
$(srcdir)/Dict.cc \
$(srcdir)/Error.cc \
$(srcdir)/Gfx.cc \
$(srcdir)/GfxFont.cc \
$(srcdir)/GfxState.cc \
$(srcdir)/ImageOutputDev.cc \
$(srcdir)/Lexer.cc \
$(srcdir)/Link.cc \
$(srcdir)/Object.cc \
$(srcdir)/OutputDev.cc \
$(srcdir)/Page.cc \
$(srcdir)/Parser.cc \
$(srcdir)/PBMOutputDev.cc \
$(srcdir)/PDFDoc.cc \
$(srcdir)/PSOutputDev.cc \
$(srcdir)/Stream.cc \
$(srcdir)/TextOutputDev.cc \
$(srcdir)/XRef.cc \
$(srcdir)/Apdf.c \
$(srcdir)/Apdfppc.cc \
$(srcdir)/Apdfcommon.cc \
$(srcdir)/AOutputDev.cc \
$(srcdir)/FontOutputDev.cc \
$(srcdir)/AGfx.cc \
$(srcdir)/poly.cc
#------------------------------------------------------------------------
apdf68k: Apdf
all: Apdf
#------------------------------------------------------------------------
APDF_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
TextOutputDev.o AOutputDev.o XRef.o AGfx.o \
GfxState.o Lexer.o Link.o Object.o OutputDev.o mystdio.o \
Page.o Parser.o PDFDoc.o PSOutputDev.o Stream.o \
Apdfcommon.o Apdf.o ImageOutputDev.o poly.o stub.o \
FontOutputDev.o
APDF_LIBS = lib /goo/goo.lib $(OTHERLIBS)
Apdf: $(APDF_OBJS)
$(CXX) $(CXXFLAGS) link to apdf $(APDF_OBJS) $(APDF_LIBS)
stub.o: //xpdf/stub.cc //goo/gmem.h
sc code=near $<
#------------------------------------------------------------------------
clean:
delete $(APDF_OBJS) apdf *.lnk *.tmp *.bak
#------------------------------------------------------------------------
# won't work with SAS/C...
# make dependencies with gcc and then replace "../../" by "//" and
# "xpdf/../goo" by "goo"
depend:
copy Makefile Makefile.bak
sed '/^#----- dependences -----/q' Makefile.bak >Makefile
$(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >>Makefile
#----- dependences -----
mystdio.o: //xpdf/mystdio.cc //xpdf/mystdio.h \
//goo/gmem.h
Array.o: //xpdf/Array.cc //goo/gmem.h \
//xpdf/Object.h //xpdf/mystdio.h //goo/gtypes.h \
//goo/GString.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h
Catalog.o: //xpdf/Catalog.cc //goo/gmem.h \
//xpdf/Object.h //xpdf/mystdio.h //goo/gtypes.h \
//goo/GString.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/Page.h //xpdf/Error.h \
//xpdf/config.h //xpdf/Link.h //xpdf/Catalog.h
Dict.o: //xpdf/Dict.cc //goo/gmem.h \
//xpdf/Object.h //xpdf/mystdio.h //goo/gtypes.h \
//goo/GString.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/XRef.h
Error.o: //xpdf/Error.cc //goo/gtypes.h \
//xpdf/Params.h //xpdf/Error.h //xpdf/config.h
Gfx.o: //xpdf/Gfx.cc //goo/gmem.h //xpdf/Object.h \
//xpdf/mystdio.h //goo/gtypes.h \
//goo/GString.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/Lexer.h //xpdf/Parser.h \
//xpdf/GfxFont.h //xpdf/GfxState.h //xpdf/OutputDev.h \
//xpdf/Params.h //xpdf/Error.h //xpdf/config.h \
//xpdf/Gfx.h
GfxFont.o: //xpdf/GfxFont.cc //goo/GString.h \
//goo/gmem.h //goo/gfile.h \
//goo/gtypes.h //xpdf/config.h //xpdf/Object.h \
//xpdf/mystdio.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/Error.h //xpdf/Params.h \
//xpdf/GfxFont.h //xpdf/FontInfo.h
GfxState.o: //xpdf/GfxState.cc //goo/gmem.h \
//xpdf/Error.h //xpdf/config.h //xpdf/Object.h \
//xpdf/mystdio.h //goo/gtypes.h \
//goo/GString.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/GfxState.h
ImageOutputDev.o: //xpdf/ImageOutputDev.cc \
//goo/gmem.h //xpdf/config.h //xpdf/Error.h \
//xpdf/GfxState.h //goo/gtypes.h //xpdf/Object.h \
//xpdf/mystdio.h //goo/GString.h //xpdf/Array.h \
//xpdf/Dict.h //xpdf/Stream.h //xpdf/ImageOutputDev.h \
//xpdf/OutputDev.h
Lexer.o: //xpdf/Lexer.cc //xpdf/Lexer.h //xpdf/Object.h \
//xpdf/mystdio.h //goo/gtypes.h \
//goo/gmem.h //goo/GString.h \
//xpdf/Array.h //xpdf/Dict.h //xpdf/Stream.h \
//xpdf/Error.h //xpdf/config.h
Link.o: //xpdf/Link.cc //goo/gmem.h \
//goo/GString.h //xpdf/Error.h //xpdf/config.h \
//xpdf/Object.h //xpdf/mystdio.h //goo/gtypes.h \
//xpdf/Array.h //xpdf/Dict.h //xpdf/Stream.h \
//xpdf/Link.h
Object.o: //xpdf/Object.cc //xpdf/Object.h \
//xpdf/mystdio.h //goo/gtypes.h \
//goo/gmem.h //goo/GString.h \
//xpdf/Array.h //xpdf/Dict.h //xpdf/Stream.h \
//xpdf/Error.h //xpdf/config.h //xpdf/XRef.h
OutputDev.o: //xpdf/OutputDev.cc //xpdf/Object.h \
//xpdf/mystdio.h //goo/gtypes.h \
//goo/gmem.h //goo/GString.h \
//xpdf/Array.h //xpdf/Dict.h //xpdf/Stream.h \
//xpdf/GfxState.h //xpdf/OutputDev.h
Page.o: //xpdf/Page.cc //xpdf/Object.h //xpdf/mystdio.h \
//goo/gtypes.h //goo/gmem.h \
//goo/GString.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/XRef.h //xpdf/OutputDev.h \
//xpdf/Gfx.h //xpdf/Error.h //xpdf/config.h \
//xpdf/Params.h //xpdf/Page.h
Parser.o: //xpdf/Parser.cc //xpdf/Object.h \
//xpdf/mystdio.h //goo/gtypes.h \
//goo/gmem.h //goo/GString.h \
//xpdf/Array.h //xpdf/Dict.h //xpdf/Stream.h \
//xpdf/Parser.h //xpdf/Lexer.h //xpdf/Error.h \
//xpdf/config.h
PBMOutputDev.o: //xpdf/PBMOutputDev.cc //goo/gmem.h \
//goo/GString.h //xpdf/Object.h //xpdf/mystdio.h \
//goo/gtypes.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/GfxState.h //xpdf/GfxFont.h \
//xpdf/Error.h //xpdf/config.h //xpdf/Params.h \
//xpdf/PBMOutputDev.h //xpdf/XOutputDev.h \
//xpdf/OutputDev.h
PDFDoc.o: //xpdf/PDFDoc.cc //goo/GString.h \
//xpdf/config.h //xpdf/Page.h //xpdf/Object.h \
//xpdf/mystdio.h //goo/gtypes.h \
//goo/gmem.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/Catalog.h //xpdf/XRef.h \
//xpdf/Link.h //xpdf/OutputDev.h //xpdf/Params.h \
//xpdf/Error.h //xpdf/PDFDoc.h
PSOutputDev.o: //xpdf/PSOutputDev.cc //goo/GString.h \
//xpdf/config.h //xpdf/Object.h //xpdf/mystdio.h \
//goo/gtypes.h //goo/gmem.h \
//xpdf/Array.h //xpdf/Dict.h //xpdf/Stream.h \
//xpdf/Error.h //xpdf/GfxState.h //xpdf/GfxFont.h \
//xpdf/Catalog.h //xpdf/Page.h //xpdf/PSOutputDev.h \
//xpdf/OutputDev.h
Stream.o: //xpdf/Stream.cc //goo/gmem.h \
//xpdf/config.h //xpdf/Error.h //xpdf/Object.h \
//xpdf/mystdio.h //goo/gtypes.h \
//goo/GString.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/Stream-CCITT.h
TextOutputDev.o: //xpdf/TextOutputDev.cc \
//goo/GString.h //goo/gmem.h \
//xpdf/config.h //xpdf/Error.h //xpdf/GfxState.h \
//goo/gtypes.h //xpdf/GfxFont.h //xpdf/Object.h \
//xpdf/mystdio.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/TextOutputDev.h //xpdf/OutputDev.h \
//xpdf/TextOutputFontInfo.h
XRef.o: //xpdf/XRef.cc //goo/gmem.h \
//xpdf/Object.h //xpdf/mystdio.h //goo/gtypes.h \
//goo/GString.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/Lexer.h //xpdf/Parser.h \
//xpdf/Error.h //xpdf/config.h //xpdf/XRef.h
Apdf.o: //xpdf/Apdf.c //xpdf/config.h //xpdf/AComm.h
Apdfcommon.o: //xpdf/Apdfcommon.cc //goo/parseargs.h \
//goo/gtypes.h //goo/GString.h \
//goo/gmem.h //xpdf/Object.h //xpdf/mystdio.h \
//xpdf/Array.h //xpdf/Dict.h //xpdf/Stream.h \
//xpdf/XRef.h //xpdf/Catalog.h //xpdf/Page.h \
//xpdf/Link.h //xpdf/PDFDoc.h //xpdf/AOutputDev.h \
//xpdf/config.h //xpdf/OutputDev.h //xpdf/AGfx.h \
//xpdf/poly.h //xpdf/TextOutputDev.h //xpdf/PSOutputDev.h \
//xpdf/ImageOutputDev.h //xpdf/FontOutputDev.h \
//xpdf/GfxFont.h //xpdf/Error.h //xpdf/AComm.h
AOutputDev.o: //xpdf/AOutputDev.cc //goo/gmem.h \
//goo/GString.h //xpdf/Object.h //xpdf/mystdio.h \
//goo/gtypes.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/GfxState.h //xpdf/GfxFont.h \
//xpdf/Error.h //xpdf/config.h //xpdf/TextOutputDev.h \
//xpdf/OutputDev.h //xpdf/AOutputDev.h //xpdf/AGfx.h \
//xpdf/poly.h //xpdf/FontOutputDev.h
FontOutputDev.o: //xpdf/FontOutputDev.cc \
//goo/GString.h //goo/gmem.h \
//xpdf/config.h //xpdf/Error.h //xpdf/GfxState.h \
//goo/gtypes.h //xpdf/GfxFont.h //xpdf/Object.h \
//xpdf/mystdio.h //xpdf/Array.h //xpdf/Dict.h \
//xpdf/Stream.h //xpdf/FontOutputDev.h //xpdf/OutputDev.h \
//xpdf/XOutputFontInfo.h
AGfx.o: //xpdf/AGfx.cc //goo/gmem.h //xpdf/AGfx.h \
//xpdf/poly.h
poly.o: //xpdf/poly.cc //xpdf/poly.h