home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / g / gs252src.zip / GS252 / ANSIHEAD.MAK < prev    next >
Makefile  |  1992-09-19  |  4KB  |  135 lines

  1. #    Copyright (C) 1989, 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. # makefile for Ghostscript, Unix/ANSI C/X11 configuration.
  21.  
  22. # ------------------------------- Options ------------------------------- #
  23.  
  24. ####### The following are the only parts of the file you should need to edit.
  25.  
  26. # ------ Generic options ------ #
  27.  
  28. # Define the installation commands and target directories for
  29. # executables and files.  Only relevant to `make install'.
  30.  
  31. INSTALL = install -c
  32. INSTALL_PROGRAM = $(INSTALL) -m 775
  33. INSTALL_DATA = $(INSTALL) -m 664
  34.  
  35. prefix = /usr/local
  36. exec_prefix = $(prefix)
  37. bindir = $(exec_prefix)/bin
  38. datadir = $(prefix)/lib
  39. gsdatadir = $(datadir)/ghostscript
  40.  
  41. # Define the default directory/ies for the runtime
  42. # initialization and font files.  Separate multiple directories with a :.
  43.  
  44. GS_LIB_DEFAULT=$(gsdatadir):$(gsdatadir)/fonts
  45.  
  46. # Define the name of the Ghostscript initialization file.
  47. # (There is no reason to change this.)
  48.  
  49. GS_INIT=gs_init.ps
  50.  
  51. # Choose generic configuration options.
  52.  
  53. # -DDEBUG
  54. #    includes debugging features (-Z switch) in the code.
  55. #      Code runs substantially slower even if no debugging switches
  56. #      are set.
  57. # -DNOPRIVATE
  58. #    makes private (static) procedures and variables public,
  59. #      so they are visible to the debugger and profiler.
  60. #      No execution time or space penalty.
  61.  
  62. GENOPT=
  63.  
  64. # ------ Platform-specific options ------ #
  65.  
  66. # Define the name of the C compiler.  If the standard compiler for your
  67. # platform is ANSI-compatible, leave this line commented out; if not,
  68. # uncomment the line and insert the proper definition.
  69.  
  70. #CC=some_C_compiler
  71.  
  72. # Define the other compilation flags.
  73. # Add -DBSD4_2 for 4.2bsd systems.
  74. # Add -DSYSV for System V or DG/UX.
  75. # Add -DSVR4 (not -DSYSV) for System V release 4.
  76. # The HP 400 seems to want -Aa -w -D_HPUX_SOURCE.
  77. # XCFLAGS can be set from the command line.
  78.  
  79. CFLAGS=-O $(XCFLAGS)
  80.  
  81. # Define platform flags for ld.
  82. # SunOS and some others want -X; Ultrix wants -x.
  83. # SunOS 4.n may need -Bstatic.
  84. # Apollos running DomainOS don't support -X (and -x has no effect).
  85. # XLDFLAGS can be set from the command line.
  86.  
  87. LDFLAGS=$(XLDFLAGS)
  88.  
  89. # Define any extra libraries to link into the executable.
  90. # (Libraries required by individual drivers are handled automatically.)
  91.  
  92. EXTRALIBS=
  93.  
  94. # Define the include switch(es) for the X11 header files.
  95. # This can be null if handled in some other way (e.g., the files are
  96. # in /usr/include, or the directory is supplied by an environment variable).
  97. # Note that x_.h expects to find the header files in $(XINCLUDE)/X11,
  98. # not in $(XINCLUDE).
  99.  
  100. XINCLUDE=-I/usr/local/X/include
  101.  
  102. # Define the directory/ies for the X11 library files.
  103. # This can be null if these files are in the default linker search path.
  104.  
  105. XLIBDIRS=-L/usr/local/X/lib
  106.  
  107. # ------ Devices and features ------ #
  108.  
  109. # Choose the language feature(s) to include.  See gs.mak for details.
  110.  
  111. FEATURE_DEVS=filter.dev
  112.  
  113. # Choose the device(s) to include.  See devs.mak for details.
  114.  
  115. DEVICE_DEVS=x11.dev
  116.  
  117. # ---------------------------- End of options --------------------------- #
  118.  
  119. # Define the name of the makefile -- used in dependencies.
  120.  
  121. MAKEFILE=unix-ansi.mak
  122.  
  123. # Define the ANSI-to-K&R dependency (none for ANSI compilers).
  124.  
  125. AK=
  126.  
  127. # Define the compilation rules and flags.
  128.  
  129. CCC=$(CC) $(CCFLAGS) -c
  130.  
  131. # --------------------------- Generic makefile ---------------------------- #
  132.  
  133. # The remainder of the makefile (unixhead.mak, gs.mak, devs.mak, unixtail.mak)
  134. # is generic.  tar_cat concatenates all these together.
  135.