2 |
- |
1 |
# Copyright (C) 1995, 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: wctail.mak,v 1.7 2003/04/15 14:36:43 giles Exp $
|
|
|
17 |
# wctail.mak
|
|
|
18 |
# Last part of Watcom C/C++ makefile common to MS-DOS and MS Windows.
|
|
|
19 |
|
|
|
20 |
# Define the name of this makefile.
|
|
|
21 |
WCTAIL_MAK=$(GLSRCDIR)\wctail.mak
|
|
|
22 |
|
|
|
23 |
# Include the generic makefiles, except for devs.mak, contrib.mak,
|
|
|
24 |
# int.mak, and cfonts.mak.
|
|
|
25 |
#!include $(COMMONDIR)/watcdefs.mak
|
|
|
26 |
#!include $(COMMONDIR)/pcdefs.mak
|
|
|
27 |
#!include $(COMMONDIR)/generic.mak
|
|
|
28 |
!include $(GLSRCDIR)\version.mak
|
|
|
29 |
!include $(GLSRCDIR)\gs.mak
|
|
|
30 |
!include $(GLSRCDIR)\lib.mak
|
|
|
31 |
!include $(GLSRCDIR)\jpeg.mak
|
|
|
32 |
# zlib.mak must precede libpng.mak
|
|
|
33 |
!include $(GLSRCDIR)\zlib.mak
|
|
|
34 |
!include $(GLSRCDIR)\libpng.mak
|
|
|
35 |
!include $(GLSRCDIR)\jbig2.mak
|
|
|
36 |
!include $(GLSRCDIR)\icclib.mak
|
|
|
37 |
!include $(GLSRCDIR)\ijs.mak
|
|
|
38 |
|
|
|
39 |
# -------------------------- Auxiliary programs --------------------------- #
|
|
|
40 |
|
|
|
41 |
temp_tr=$(GLOBJ)_temp_.tr
|
|
|
42 |
|
|
|
43 |
$(ECHOGS_XE): $(AUXGEN)echogs.$(OBJ)
|
|
|
44 |
echo OPTION STUB=$(STUB) >$(temp_tr)
|
|
|
45 |
echo $(LIBPATHS) >>$(temp_tr)
|
|
|
46 |
$(LINK) @$(temp_tr) FILE $(AUXGEN)echogs
|
|
|
47 |
|
|
|
48 |
$(AUXGEN)echogs.$(OBJ): $(GLSRC)echogs.c
|
|
|
49 |
$(CCAUX) $(GLSRC)echogs.c $(O_)$(AUXGEN)echogs.$(OBJ)
|
|
|
50 |
|
|
|
51 |
$(GENARCH_XE): $(AUXGEN)genarch.$(OBJ)
|
|
|
52 |
echo $(LIBPATHS) >$(temp_tr)
|
|
|
53 |
$(LINK) @$(temp_tr) FILE $(AUXGEN)genarch
|
|
|
54 |
|
|
|
55 |
$(AUXGEN)genarch.$(OBJ): $(GLSRC)genarch.c $(stdpre_h)
|
|
|
56 |
$(CCAUX) $(GLSRC)genarch.c $(O_)$(AUXGEN)genarch.$(OBJ)
|
|
|
57 |
|
|
|
58 |
$(GENCONF_XE): $(AUXGEN)genconf.$(OBJ)
|
|
|
59 |
echo OPTION STUB=$(STUB) >$(temp_tr)
|
|
|
60 |
echo OPTION STACK=8k >>$(temp_tr)
|
|
|
61 |
echo $(LIBPATHS) >>$(temp_tr)
|
|
|
62 |
$(LINK) @$(temp_tr) FILE $(AUXGEN)genconf
|
|
|
63 |
|
|
|
64 |
$(AUXGEN)genconf.$(OBJ): $(GLSRC)genconf.c $(stdpre_h)
|
|
|
65 |
$(CCAUX) $(GLSRC)genconf.c $(O_)$(AUXGEN)genconf.$(OBJ)
|
|
|
66 |
|
|
|
67 |
$(GENDEV_XE): $(AUXGEN)gendev.$(OBJ)
|
|
|
68 |
echo OPTION STUB=$(STUB) >$(temp_tr)
|
|
|
69 |
echo OPTION STACK=8k >>$(temp_tr)
|
|
|
70 |
echo $(LIBPATHS) >>$(temp_tr)
|
|
|
71 |
$(LINK) @$(temp_tr) FILE $(AUXGEN)gendev
|
|
|
72 |
|
|
|
73 |
$(AUXGEN)gendev.$(OBJ): $(GLSRC)gendev.c $(stdpre_h)
|
|
|
74 |
$(CCAUX) $(GLSRC)gendev.c $(O_)$(AUXGEN)gendev.$(OBJ)
|
|
|
75 |
|
|
|
76 |
$(GENINIT_XE): $(AUXGEN)geninit.$(OBJ)
|
|
|
77 |
echo OPTION STUB=$(STUB) >$(temp_tr)
|
|
|
78 |
echo OPTION STACK=8k >>$(temp_tr)
|
|
|
79 |
echo $(LIBPATHS) >>$(temp_tr)
|
|
|
80 |
$(LINK) @$(temp_tr) FILE $(AUXGEN)geninit
|
|
|
81 |
|
|
|
82 |
$(AUXGEN)geninit.$(OBJ): $(GLSRC)geninit.c $(stdpre_h)
|
|
|
83 |
$(CCAUX) $(GLSRC)geninit.c $(O_)$(AUXGEN)geninit.$(OBJ)
|
|
|
84 |
|
|
|
85 |
# No special gconfig_.h is needed.
|
|
|
86 |
# Watcom `make' supports output redirection.
|
|
|
87 |
$(gconfig__h): $(WCTAIL_MAK)
|
|
|
88 |
echo /* This file deliberately left blank. */ >$(gconfig__h)
|
|
|
89 |
|
|
|
90 |
$(gconfigv_h): $(WCTAIL_MAK) $(TOP_MAKEFILES) $(ECHOGS_XE)
|
|
|
91 |
$(ECHOGS_XE) -w $(gconfigv_h) -x 23 define USE_ASM -x 2028 -q $(USE_ASM)-0 -x 29
|
|
|
92 |
$(ECHOGS_XE) -a $(gconfigv_h) -x 23 define USE_FPU -x 2028 -q $(FPU_TYPE)-0 -x 29
|
|
|
93 |
$(ECHOGS_XE) -a $(gconfigv_h) -x 23 define EXTEND_NAMES 0$(EXTEND_NAMES)
|
|
|
94 |
$(ECHOGS_XE) -a $(gconfigv_h) -x 23 define SYSTEM_CONSTANTS_ARE_WRITABLE 0$(SYSTEM_CONSTANTS_ARE_WRITABLE)
|