home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 110 / EnigmaAmiga110CD.iso / indispensabili / utility / apdf / xpdf-0.80 / build040 / xpdf / makefile
Makefile  |  1999-07-08  |  10KB  |  233 lines

  1.  
  2. #========================================================================
  3. #
  4. # Apdf Makefile
  5. #
  6. # Copyright 1999 E. Lesueur
  7. #
  8. #========================================================================
  9.  
  10. srcdir = ../../xpdf
  11.  
  12. GOOSRCDIR = $(srcdir)/../goo
  13. GOOLIBDIR = ../goo
  14.  
  15. CXXFLAGS = -m68040 -m68881 -noixemul -O2 -fomit-frame-pointer -DNO_PRINT_COMMANDS -DHAVE_DIRENT_H=1 -DHAVE_REWINDDIR=1  -DA4_PAPER -DUSE_GZIP -I$(GOOSRCDIR) -I$(srcdir) -I/gg/include/g++
  16.  
  17. OTHERLIBS =
  18.  
  19. CXX = gcc
  20. STRIP = strip
  21.  
  22. LIBPREFIX = lib
  23. EXE = 
  24.  
  25. #------------------------------------------------------------------------
  26.  
  27. %.o: $(srcdir)/%.cc
  28.     $(CXX) $(CXXFLAGS) -c $<
  29.  
  30. %.o: $(srcdir)/%.c
  31.     $(CXX) $(CXXFLAGS) -c $<
  32.  
  33. #------------------------------------------------------------------------
  34.  
  35. CXX_SRC = \
  36.     $(srcdir)/mystdio.cc \
  37.     $(srcdir)/Array.cc \
  38.     $(srcdir)/Catalog.cc \
  39.     $(srcdir)/Dict.cc \
  40.     $(srcdir)/Error.cc \
  41.     $(srcdir)/Gfx.cc \
  42.     $(srcdir)/GfxFont.cc \
  43.     $(srcdir)/GfxState.cc \
  44.     $(srcdir)/ImageOutputDev.cc \
  45.     $(srcdir)/Lexer.cc \
  46.     $(srcdir)/Link.cc \
  47.     $(srcdir)/Object.cc \
  48.     $(srcdir)/OutputDev.cc \
  49.     $(srcdir)/Page.cc \
  50.     $(srcdir)/Parser.cc \
  51.     $(srcdir)/PBMOutputDev.cc \
  52.     $(srcdir)/PDFDoc.cc \
  53.     $(srcdir)/PSOutputDev.cc \
  54.     $(srcdir)/Stream.cc \
  55.     $(srcdir)/TextOutputDev.cc \
  56.     $(srcdir)/XRef.cc \
  57.     $(srcdir)/Apdf.c \
  58.     $(srcdir)/Apdfcommon.cc \
  59.     $(srcdir)/AOutputDev.cc \
  60.     $(srcdir)/FontOutputDev.cc \
  61.     $(srcdir)/AGfx.cc \
  62.     $(srcdir)/poly.cc
  63.  
  64. #------------------------------------------------------------------------
  65.  
  66. apdf040: Apdf
  67.  
  68. all: apdf040
  69.  
  70. #------------------------------------------------------------------------
  71.  
  72. APDF_OBJS = Array.o Catalog.o Dict.o Error.o Gfx.o GfxFont.o \
  73.     TextOutputDev.o AOutputDev.o XRef.o AGfx.o \
  74.     GfxState.o Lexer.o Link.o Object.o OutputDev.o mystdio.o \
  75.     Page.o Parser.o PDFDoc.o PSOutputDev.o Stream.o \
  76.     Apdfcommon.o Apdf.o ImageOutputDev.o poly.o FontOutputDev.o
  77. APDF_LIBS = -L$(GOOLIBDIR) -lGoo $(OTHERLIBS) -lm
  78.  
  79. Apdf: $(APDF_OBJS)
  80.     $(CXX) $(CXXFLAGS) -o Apdf /gg/lib/libnix/swapstack.o $(APDF_OBJS) $(APDF_LIBS)
  81.     $(STRIP) Apdf
  82.  
  83. clean:
  84.     rm -f $(APDF_OBJS) Apdf *.bak
  85.  
  86. #------------------------------------------------------------------------
  87.  
  88. depend:
  89.     cp Makefile Makefile.bak
  90.     sed '/^#----- dependences -----/q' Makefile.bak >Makefile
  91.     $(CXX) $(CXXFLAGS) -MM $(CXX_SRC) >>Makefile
  92.  
  93. #----- dependences -----
  94. mystdio.o: ../../xpdf/mystdio.cc ../../xpdf/mystdio.h \
  95.  ../../xpdf/../goo/gmem.h
  96. Array.o: ../../xpdf/Array.cc ../../xpdf/../goo/gmem.h \
  97.  ../../xpdf/Object.h ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  98.  ../../xpdf/../goo/GString.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  99.  ../../xpdf/Stream.h
  100. Catalog.o: ../../xpdf/Catalog.cc ../../xpdf/../goo/gmem.h \
  101.  ../../xpdf/Object.h ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  102.  ../../xpdf/../goo/GString.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  103.  ../../xpdf/Stream.h ../../xpdf/Page.h ../../xpdf/Error.h \
  104.  ../../xpdf/config.h ../../xpdf/Link.h ../../xpdf/Catalog.h
  105. Dict.o: ../../xpdf/Dict.cc ../../xpdf/../goo/gmem.h \
  106.  ../../xpdf/Object.h ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  107.  ../../xpdf/../goo/GString.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  108.  ../../xpdf/Stream.h ../../xpdf/XRef.h
  109. Error.o: ../../xpdf/Error.cc ../../xpdf/../goo/gtypes.h \
  110.  ../../xpdf/Params.h ../../xpdf/Error.h ../../xpdf/config.h
  111. Gfx.o: ../../xpdf/Gfx.cc ../../xpdf/../goo/gmem.h ../../xpdf/Object.h \
  112.  ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  113.  ../../xpdf/../goo/GString.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  114.  ../../xpdf/Stream.h ../../xpdf/Lexer.h ../../xpdf/Parser.h \
  115.  ../../xpdf/GfxFont.h ../../xpdf/GfxState.h ../../xpdf/OutputDev.h \
  116.  ../../xpdf/Params.h ../../xpdf/Error.h ../../xpdf/config.h \
  117.  ../../xpdf/Gfx.h
  118. GfxFont.o: ../../xpdf/GfxFont.cc ../../xpdf/../goo/GString.h \
  119.  ../../xpdf/../goo/gmem.h ../../xpdf/../goo/gfile.h \
  120.  ../../xpdf/../goo/gtypes.h ../../xpdf/config.h ../../xpdf/Object.h \
  121.  ../../xpdf/mystdio.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  122.  ../../xpdf/Stream.h ../../xpdf/Error.h ../../xpdf/Params.h \
  123.  ../../xpdf/GfxFont.h ../../xpdf/FontInfo.h
  124. GfxState.o: ../../xpdf/GfxState.cc ../../xpdf/../goo/gmem.h \
  125.  ../../xpdf/Error.h ../../xpdf/config.h ../../xpdf/Object.h \
  126.  ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  127.  ../../xpdf/../goo/GString.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  128.  ../../xpdf/Stream.h ../../xpdf/GfxState.h
  129. ImageOutputDev.o: ../../xpdf/ImageOutputDev.cc \
  130.  ../../xpdf/../goo/gmem.h ../../xpdf/config.h ../../xpdf/Error.h \
  131.  ../../xpdf/GfxState.h ../../xpdf/../goo/gtypes.h ../../xpdf/Object.h \
  132.  ../../xpdf/mystdio.h ../../xpdf/../goo/GString.h ../../xpdf/Array.h \
  133.  ../../xpdf/Dict.h ../../xpdf/Stream.h ../../xpdf/ImageOutputDev.h \
  134.  ../../xpdf/OutputDev.h
  135. Lexer.o: ../../xpdf/Lexer.cc ../../xpdf/Lexer.h ../../xpdf/Object.h \
  136.  ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  137.  ../../xpdf/../goo/gmem.h ../../xpdf/../goo/GString.h \
  138.  ../../xpdf/Array.h ../../xpdf/Dict.h ../../xpdf/Stream.h \
  139.  ../../xpdf/Error.h ../../xpdf/config.h
  140. Link.o: ../../xpdf/Link.cc ../../xpdf/../goo/gmem.h \
  141.  ../../xpdf/../goo/GString.h ../../xpdf/Error.h ../../xpdf/config.h \
  142.  ../../xpdf/Object.h ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  143.  ../../xpdf/Array.h ../../xpdf/Dict.h ../../xpdf/Stream.h \
  144.  ../../xpdf/Link.h
  145. Object.o: ../../xpdf/Object.cc ../../xpdf/Object.h \
  146.  ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  147.  ../../xpdf/../goo/gmem.h ../../xpdf/../goo/GString.h \
  148.  ../../xpdf/Array.h ../../xpdf/Dict.h ../../xpdf/Stream.h \
  149.  ../../xpdf/Error.h ../../xpdf/config.h ../../xpdf/XRef.h
  150. OutputDev.o: ../../xpdf/OutputDev.cc ../../xpdf/Object.h \
  151.  ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  152.  ../../xpdf/../goo/gmem.h ../../xpdf/../goo/GString.h \
  153.  ../../xpdf/Array.h ../../xpdf/Dict.h ../../xpdf/Stream.h \
  154.  ../../xpdf/GfxState.h ../../xpdf/OutputDev.h
  155. Page.o: ../../xpdf/Page.cc ../../xpdf/Object.h ../../xpdf/mystdio.h \
  156.  ../../xpdf/../goo/gtypes.h ../../xpdf/../goo/gmem.h \
  157.  ../../xpdf/../goo/GString.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  158.  ../../xpdf/Stream.h ../../xpdf/XRef.h ../../xpdf/OutputDev.h \
  159.  ../../xpdf/Gfx.h ../../xpdf/Error.h ../../xpdf/config.h \
  160.  ../../xpdf/Params.h ../../xpdf/Page.h
  161. Parser.o: ../../xpdf/Parser.cc ../../xpdf/Object.h \
  162.  ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  163.  ../../xpdf/../goo/gmem.h ../../xpdf/../goo/GString.h \
  164.  ../../xpdf/Array.h ../../xpdf/Dict.h ../../xpdf/Stream.h \
  165.  ../../xpdf/Parser.h ../../xpdf/Lexer.h ../../xpdf/Error.h \
  166.  ../../xpdf/config.h
  167. PBMOutputDev.o: ../../xpdf/PBMOutputDev.cc ../../xpdf/../goo/gmem.h \
  168.  ../../xpdf/../goo/GString.h ../../xpdf/Object.h ../../xpdf/mystdio.h \
  169.  ../../xpdf/../goo/gtypes.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  170.  ../../xpdf/Stream.h ../../xpdf/GfxState.h ../../xpdf/GfxFont.h \
  171.  ../../xpdf/Error.h ../../xpdf/config.h ../../xpdf/Params.h \
  172.  ../../xpdf/PBMOutputDev.h ../../xpdf/XOutputDev.h \
  173.  ../../xpdf/OutputDev.h
  174. PDFDoc.o: ../../xpdf/PDFDoc.cc ../../xpdf/../goo/GString.h \
  175.  ../../xpdf/config.h ../../xpdf/Page.h ../../xpdf/Object.h \
  176.  ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  177.  ../../xpdf/../goo/gmem.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  178.  ../../xpdf/Stream.h ../../xpdf/Catalog.h ../../xpdf/XRef.h \
  179.  ../../xpdf/Link.h ../../xpdf/OutputDev.h ../../xpdf/Params.h \
  180.  ../../xpdf/Error.h ../../xpdf/PDFDoc.h
  181. PSOutputDev.o: ../../xpdf/PSOutputDev.cc ../../xpdf/../goo/GString.h \
  182.  ../../xpdf/config.h ../../xpdf/Object.h ../../xpdf/mystdio.h \
  183.  ../../xpdf/../goo/gtypes.h ../../xpdf/../goo/gmem.h \
  184.  ../../xpdf/Array.h ../../xpdf/Dict.h ../../xpdf/Stream.h \
  185.  ../../xpdf/Error.h ../../xpdf/GfxState.h ../../xpdf/GfxFont.h \
  186.  ../../xpdf/Catalog.h ../../xpdf/Page.h ../../xpdf/PSOutputDev.h \
  187.  ../../xpdf/OutputDev.h
  188. Stream.o: ../../xpdf/Stream.cc ../../xpdf/../goo/gmem.h \
  189.  ../../xpdf/config.h ../../xpdf/Error.h ../../xpdf/Object.h \
  190.  ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  191.  ../../xpdf/../goo/GString.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  192.  ../../xpdf/Stream.h ../../xpdf/Stream-CCITT.h
  193. TextOutputDev.o: ../../xpdf/TextOutputDev.cc \
  194.  ../../xpdf/../goo/GString.h ../../xpdf/../goo/gmem.h \
  195.  ../../xpdf/config.h ../../xpdf/Error.h ../../xpdf/GfxState.h \
  196.  ../../xpdf/../goo/gtypes.h ../../xpdf/GfxFont.h ../../xpdf/Object.h \
  197.  ../../xpdf/mystdio.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  198.  ../../xpdf/Stream.h ../../xpdf/TextOutputDev.h ../../xpdf/OutputDev.h \
  199.  ../../xpdf/TextOutputFontInfo.h
  200. XRef.o: ../../xpdf/XRef.cc ../../xpdf/../goo/gmem.h \
  201.  ../../xpdf/Object.h ../../xpdf/mystdio.h ../../xpdf/../goo/gtypes.h \
  202.  ../../xpdf/../goo/GString.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  203.  ../../xpdf/Stream.h ../../xpdf/Lexer.h ../../xpdf/Parser.h \
  204.  ../../xpdf/Error.h ../../xpdf/config.h ../../xpdf/XRef.h
  205. Apdf.o: ../../xpdf/Apdf.c ../../xpdf/config.h ../../xpdf/AComm.h
  206. Apdfcommon.o: ../../xpdf/Apdfcommon.cc ../../xpdf/../goo/parseargs.h \
  207.  ../../xpdf/../goo/gtypes.h ../../xpdf/../goo/GString.h \
  208.  ../../xpdf/../goo/gmem.h ../../xpdf/Object.h ../../xpdf/mystdio.h \
  209.  ../../xpdf/Array.h ../../xpdf/Dict.h ../../xpdf/Stream.h \
  210.  ../../xpdf/XRef.h ../../xpdf/Catalog.h ../../xpdf/Page.h \
  211.  ../../xpdf/Link.h ../../xpdf/PDFDoc.h ../../xpdf/AOutputDev.h \
  212.  ../../xpdf/config.h ../../xpdf/OutputDev.h ../../xpdf/AGfx.h \
  213.  ../../xpdf/poly.h ../../xpdf/TextOutputDev.h ../../xpdf/PSOutputDev.h \
  214.  ../../xpdf/ImageOutputDev.h ../../xpdf/FontOutputDev.h \
  215.  ../../xpdf/GfxFont.h ../../xpdf/Error.h ../../xpdf/AComm.h
  216. AOutputDev.o: ../../xpdf/AOutputDev.cc ../../xpdf/../goo/gmem.h \
  217.  ../../xpdf/../goo/GString.h ../../xpdf/Object.h ../../xpdf/mystdio.h \
  218.  ../../xpdf/../goo/gtypes.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  219.  ../../xpdf/Stream.h ../../xpdf/GfxState.h ../../xpdf/GfxFont.h \
  220.  ../../xpdf/Error.h ../../xpdf/config.h ../../xpdf/TextOutputDev.h \
  221.  ../../xpdf/OutputDev.h ../../xpdf/AOutputDev.h ../../xpdf/AGfx.h \
  222.  ../../xpdf/poly.h ../../xpdf/FontOutputDev.h
  223. FontOutputDev.o: ../../xpdf/FontOutputDev.cc \
  224.  ../../xpdf/../goo/GString.h ../../xpdf/../goo/gmem.h \
  225.  ../../xpdf/config.h ../../xpdf/Error.h ../../xpdf/GfxState.h \
  226.  ../../xpdf/../goo/gtypes.h ../../xpdf/GfxFont.h ../../xpdf/Object.h \
  227.  ../../xpdf/mystdio.h ../../xpdf/Array.h ../../xpdf/Dict.h \
  228.  ../../xpdf/Stream.h ../../xpdf/FontOutputDev.h ../../xpdf/OutputDev.h \
  229.  ../../xpdf/XOutputFontInfo.h
  230. AGfx.o: ../../xpdf/AGfx.cc ../../xpdf/../goo/gmem.h ../../xpdf/AGfx.h \
  231.  ../../xpdf/poly.h
  232. poly.o: ../../xpdf/poly.cc ../../xpdf/poly.h
  233.