unixhead.mak 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # Copyright (C) 1990, 1993, 1996, 1997, 1999 Aladdin Enterprises. All rights reserved.
  2. #
  3. # This software is provided AS-IS with no warranty, either express or
  4. # implied.
  5. #
  6. # This software is distributed under license and may not be copied,
  7. # modified or distributed except as expressly authorized under the terms
  8. # of the license contained in the file LICENSE in this distribution.
  9. #
  10. # For more information about licensing, please refer to
  11. # http://www.ghostscript.com/licensing/. For information on
  12. # commercial licensing, go to http://www.artifex.com/licensing/ or
  13. # contact Artifex Software, Inc., 101 Lucas Valley Road #110,
  14. # San Rafael, CA 94903, U.S.A., +1(415)492-9861.
  15. # $Id: unixhead.mak,v 1.4 2002/02/21 22:24:54 giles Exp $
  16. # Partial makefile common to all Unix configurations.
  17. # This part of the makefile gets inserted after the compiler-specific part
  18. # (xxx-head.mak) and before gs.mak, devs.mak, and contrib.mak.
  19. # ----------------------------- Generic stuff ----------------------------- #
  20. # Define the platform name. For a "stock" System V platform,
  21. # use sysv_ instead of unix_.
  22. PLATFORM=unix_
  23. # Define the syntax for command, object, and executable files.
  24. # Work around the fact that some `make' programs drop trailing spaces
  25. # or interpret == as a special definition operator.
  26. NULL=
  27. CMD=
  28. C_=-c
  29. D_=-D
  30. _D_=$(NULL)=
  31. _D=
  32. I_=-I
  33. II=-I
  34. _I=
  35. NO_OP=@:
  36. O_=-o $(NULL)
  37. OBJ=o
  38. Q=
  39. XE=
  40. XEAUX=
  41. # Define the current directory prefix and command invocations.
  42. CAT=cat
  43. D=/
  44. EXP=
  45. SHELL=/bin/sh
  46. SH=$(SHELL)
  47. # Define generic commands.
  48. CP_=cp
  49. RM_=rm -f
  50. RMN_=rm -f
  51. # Define the arguments for genconf.
  52. CONFILES=-p "%s&s&&" -pl "&-l%s&s&&" -pL "&-L%s&s&&"
  53. CONFLDTR=-ol
  54. # Define the compilation rules and flags.
  55. CC_D=$(CC_)
  56. CC_INT=$(CC_)
  57. BEGINFILES=
  58. # Patch a couple of PC-specific things that aren't relevant to Unix builds,
  59. # but that cause `make' to produce warnings.
  60. PCFBASM=
  61. # Define the default build rule, so the object directories get created
  62. # automatically.
  63. std: STDDIRS default
  64. $(NO_OP)