xref: /plan9/sys/src/cmd/gs/src/unixhead.mak (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
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
16# $Id: unixhead.mak,v 1.4 2002/02/21 22:24:54 giles Exp $
17# Partial makefile common to all Unix configurations.
18
19# This part of the makefile gets inserted after the compiler-specific part
20# (xxx-head.mak) and before gs.mak, devs.mak, and contrib.mak.
21
22# ----------------------------- Generic stuff ----------------------------- #
23
24# Define the platform name.  For a "stock" System V platform,
25# use sysv_ instead of unix_.
26
27PLATFORM=unix_
28
29# Define the syntax for command, object, and executable files.
30
31# Work around the fact that some `make' programs drop trailing spaces
32# or interpret == as a special definition operator.
33NULL=
34
35CMD=
36C_=-c
37D_=-D
38_D_=$(NULL)=
39_D=
40I_=-I
41II=-I
42_I=
43NO_OP=@:
44O_=-o $(NULL)
45OBJ=o
46Q=
47XE=
48XEAUX=
49
50# Define the current directory prefix and command invocations.
51
52CAT=cat
53D=/
54EXP=
55SHELL=/bin/sh
56SH=$(SHELL)
57
58# Define generic commands.
59
60CP_=cp
61RM_=rm -f
62RMN_=rm -f
63
64# Define the arguments for genconf.
65
66CONFILES=-p "%s&s&&" -pl "&-l%s&s&&" -pL "&-L%s&s&&"
67CONFLDTR=-ol
68
69# Define the compilation rules and flags.
70
71CC_D=$(CC_)
72CC_INT=$(CC_)
73
74BEGINFILES=
75
76# Patch a couple of PC-specific things that aren't relevant to Unix builds,
77# but that cause `make' to produce warnings.
78
79PCFBASM=
80
81# Define the default build rule, so the object directories get created
82# automatically.
83
84std: STDDIRS default
85	$(NO_OP)
86