home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d7xx / d795 / pstools.lha / PSTools / PSTools1.lha / source / dmakefile < prev    next >
Encoding:
Makefile  |  1992-12-15  |  1.5 KB  |  68 lines

  1. #
  2. #   Makefile for dvips
  3. # modified for DCC on AMIGADOS by Jonathan  Hudson
  4. # 4th November 1990
  5.  
  6.  
  7. # for SYSV (and friends which use <string.h> instead of <strings.h>
  8. # define the c-compiler flag -DSYSV
  9. SYS = -DSYSV 
  10.  
  11. # libraries to include
  12. FLIBS= -lm
  13.  
  14. #MSDOS sets all paths in config.ps
  15.  
  16. CFLAGS = $(SYS)
  17.  
  18. #all: dvips afm2tfm squeeze tex.pro texps.pro special.pro finclude.pro texc.pro
  19.  
  20. SRCS = dospecial.c dviinput.c fontdef.c loadfont.c dvips.c tfmload.c \
  21.     download.c prescan.c scanpage.c skippage.c output.c scalewidth.c \
  22.     dosection.c dopage.c resident.c search.c unpack.c drawPS.c \
  23.     header.c makefont.c repack.c virtualfont.c dpicheck.c finclude.c
  24.  
  25. OBJS = $(SRCS:"*.c":"*.o") 
  26.  
  27.  
  28. dvips : $(OBJS)
  29.     dcc  %(right) -o %(left) $(FLIBS)
  30.  
  31. $(OBJS) : $(SRCS)
  32.     dcc -c %(right) -o %(left) $(CFLAGS)
  33.  
  34. resident.o :: paths.h
  35.  
  36. $(OBJS) :: structures.h 
  37.  
  38. # files required to make a distribution
  39.  
  40. afm2tfm: afm2tfm.c
  41.     dcc %(right) -o %(left) -mD -lm
  42.  
  43. squeeze : squeeze.c
  44.     dcc %(right) -o %(left) -lm
  45.  
  46. tex.pro : tex.lpro squeeze
  47.     squeeze tex.lpro  tex.pro
  48.  
  49. texc.pro: texc.lpro squeeze
  50.     squeeze texc.lpro texc.pro
  51.  
  52. texc.lpro: tex.lpro
  53.     echo This does "texc.scr tex.lpr texc.lpr" on Unix
  54.     echo For MSDOS, copy tex.lpr to texc.lpr
  55.     echo then edit texc.lpr to remove the code
  56.         echo for uncompressed fonts, and uncomment the
  57.         echo code for unpacking compressed fonts
  58.  
  59. texps.pro : texps.lpro squeeze
  60.     squeeze texps.lpro texps.pro
  61.  
  62. special.pro : special.lpro squeeze
  63.     squeeze special.lpro special.pro
  64.  
  65. finclude.pro: finclude.lpro squeeze
  66.     squeeze finclude.lpro finclude.pro
  67.  
  68.