xref: /plan9/sys/src/cmd/gs/src/dvx-head.mak (revision 593dc095aefb2a85c828727bbfa9da139a49bdf4)
1#    Copyright (C) 1994, 1996, 1997, 1998, 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: dvx-head.mak,v 1.4 2002/02/21 22:24:51 giles Exp $
17# Partial makefile, common to all Desqview/X 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.
25
26PLATFORM=dvx_
27
28# Define the syntax for command, object, and executable files.
29
30# Work around the fact that some `make' programs drop trailing spaces
31# or interpret == as a special definition operator.
32NULL=
33
34CMD=.bat
35D_=-D
36_D_=$(NULL)=
37_D=
38I_=-I
39II=-I
40_I=
41NO_OP=@:
42O_=-o $(NULL)
43OBJ=o
44Q=
45XE=.exe
46XEAUX=.exe
47
48# Define the current directory prefix and command invocations.
49
50CAT=type
51D=\\
52EXP=
53SHELL=
54SH=
55
56# Define generic commands.
57
58CP_=cp
59RM_=rm -f
60
61# Define the arguments for genconf.
62
63CONFILES=-p -pl &-l%%s
64CONFLDTR=-ol
65
66# Define the compilation rules and flags.
67
68CC_D=$(CC_)
69CC_INT=$(CC_)
70
71# Patch a couple of PC-specific things that aren't relevant to DV/X builds,
72# but that cause `make' to produce warnings.
73
74PCFBASM=
75