home *** CD-ROM | disk | FTP | other *** search
/ APDL Public Domain 1 / APDL_PD1A.iso / printing / ghostscrip / source / specific / mak / unixtail < prev    next >
Encoding:
Text File  |  1991-10-26  |  3.0 KB  |  89 lines

  1. #    Copyright (C) 1990, 1991 Aladdin Enterprises.  All rights reserved.
  2. #    Distributed by Free Software Foundation, Inc.
  3. #
  4. # This file is part of Ghostscript.
  5. #
  6. # Ghostscript is distributed in the hope that it will be useful, but
  7. # WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  8. # to anyone for the consequences of using it or for whether it serves any
  9. # particular purpose or works at all, unless he says so in writing.  Refer
  10. # to the Ghostscript General Public License for full details.
  11. #
  12. # Everyone is granted permission to copy, modify and redistribute
  13. # Ghostscript, but only under the conditions described in the Ghostscript
  14. # General Public License.  A copy of this license is supposed to have been
  15. # given to you along with Ghostscript so you can know your rights and
  16. # responsibilities.  It should be in a file named COPYING.  Among other
  17. # things, the copyright notice and this notice must be preserved on all
  18. # copies.
  19.  
  20. # Partial makefile for Ghostscript, common to all Unix configurations.
  21.  
  22. # This is the last part of the makefile for Unix configurations.
  23. # Since Unix make doesn't have an 'include' facility, we concatenate
  24. # the various parts of the makefile together by brute force (in tar_gs).
  25.  
  26. # -------------------------------- Library -------------------------------- #
  27.  
  28. ## The Unix platform
  29.  
  30. PLATUNIX=gp_unix.$(OBJ)
  31.  
  32. gp_unix.$(OBJ): gp_unix.c gp.h
  33.  
  34. # -------------------------- Auxiliary programs --------------------------- #
  35.  
  36. ansi2knr$(XE):
  37.     $(CC) -o ansi2knr$(XE) $(CFLAGS) ansi2knr.c $(EXTRALIBS)
  38.  
  39. genarch$(XE): genarch.c
  40.     $(CC) -o genarch$(XE) $(CFLAGS) genarch.c $(EXTRALIBS)
  41.  
  42. # ----------------------------- Main program ------------------------------ #
  43.  
  44. # (Dummy) tracing package
  45.  
  46. utrace.$(OBJ): utrace.c cframe_.h
  47.  
  48. # Main program
  49.  
  50. ALLUNIX=gsmain.$(OBJ) utrace.$(OBJ) $(LIB) $(PLATUNIX) $(DEVICE_OBJS)
  51.  
  52. # Interpreter main program
  53.  
  54. GSUNIX=gs.$(OBJ) $(INT) $(ALLUNIX)
  55.  
  56. gs: $(GSUNIX)
  57.     $(CC) $(LDFLAGS) -o gs $(GSUNIX) $(EXTRALIBS) -lm
  58.  
  59. # Installation
  60.  
  61. sysps = gs_init.ps gs_fonts.ps gs_statd.ps symbol_e.ps gconfig.ps quit.ps
  62. sysfiles = $(sysps) Fontmap uglyr.gsf
  63. artps = chess.ps cheq.ps golfer.ps escher.ps
  64. utilps = decrypt.ps bdftops.ps pfbtops.ps pstoppm.ps fcutils.ps prfont.ps
  65.  
  66. install:
  67.     $(proginstall) gs $(bindir)
  68.     $(proginstall) gsnd $(bindir)
  69.     $(proginstall) bdftops $(bindir)
  70.     $(proginstall) pfbtops $(bindir)
  71.     $(fileinstall) gs_init.ps $(libdir)
  72.     $(fileinstall) gs_fonts.ps $(libdir)
  73.     $(fileinstall) gs_statd.ps $(libdir)
  74.     $(fileinstall) symbol_e.ps $(libdir)
  75.     $(fileinstall) gconfig.ps $(libdir)
  76.     $(fileinstall) quit.ps $(libdir)
  77.     $(fileinstall) Fontmap $(libdir)
  78.     $(fileinstall) uglyr.gsf $(libdir)
  79.     $(fileinstall) chess.ps $(libdir)
  80.     $(fileinstall) cheq.ps $(libdir)
  81.     $(fileinstall) golfer.ps $(libdir)
  82.     $(fileinstall) escher.ps $(libdir)
  83.     $(fileinstall) decrypt.ps $(libdir)
  84.     $(fileinstall) bdftops.ps $(libdir)
  85.     $(fileinstall) pfbtops.ps $(libdir)
  86.     $(fileinstall) pstoppm.ps $(libdir)
  87.     $(fileinstall) fcutils.ps $(libdir)
  88.     $(fileinstall) prfont.ps $(libdir)
  89.