2 |
- |
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 |
|
|
|
26 |
PLATFORM=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.
|
|
|
32 |
NULL=
|
|
|
33 |
|
|
|
34 |
CMD=.bat
|
|
|
35 |
D_=-D
|
|
|
36 |
_D_=$(NULL)=
|
|
|
37 |
_D=
|
|
|
38 |
I_=-I
|
|
|
39 |
II=-I
|
|
|
40 |
_I=
|
|
|
41 |
NO_OP=@:
|
|
|
42 |
O_=-o $(NULL)
|
|
|
43 |
OBJ=o
|
|
|
44 |
Q=
|
|
|
45 |
XE=.exe
|
|
|
46 |
XEAUX=.exe
|
|
|
47 |
|
|
|
48 |
# Define the current directory prefix and command invocations.
|
|
|
49 |
|
|
|
50 |
CAT=type
|
|
|
51 |
D=\\
|
|
|
52 |
EXP=
|
|
|
53 |
SHELL=
|
|
|
54 |
SH=
|
|
|
55 |
|
|
|
56 |
# Define generic commands.
|
|
|
57 |
|
|
|
58 |
CP_=cp
|
|
|
59 |
RM_=rm -f
|
|
|
60 |
|
|
|
61 |
# Define the arguments for genconf.
|
|
|
62 |
|
|
|
63 |
CONFILES=-p -pl &-l%%s
|
|
|
64 |
CONFLDTR=-ol
|
|
|
65 |
|
|
|
66 |
# Define the compilation rules and flags.
|
|
|
67 |
|
|
|
68 |
CC_D=$(CC_)
|
|
|
69 |
CC_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 |
|
|
|
74 |
PCFBASM=
|