1# Makefile generated by imake - do not edit!
2# $XConsortium: imake.c,v 1.91 95/01/12 16:15:47 kaleb Exp $
3
4# ----------------------------------------------------------------------
5# Makefile generated from "Imake.tmpl" and <Imakefile>
6# $XConsortium: Imake.tmpl,v 1.224.1.1 95/06/19 17:51:01 gildea Exp $
7#
8
9.SUFFIXES: .i
10
11# $XConsortium: Imake.cf,v 1.19 95/01/05 19:24:32 kaleb Exp $
12
13# -----------------------------------------------------------------------
14# site-specific configuration parameters that need to come before
15# the platform-specific parameters - edit site.def to change
16
17# site:  $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $
18
19# -----------------------------------------------------------------------
20# platform-specific configuration parameters - edit sun.cf to change
21
22# platform:  $XConsortium: sun.cf,v 1.139 95/01/12 15:30:26 kaleb Exp $
23
24# operating system:  SunOS 5.4
25
26# $XConsortium: svr4.cf,v 1.14 95/06/30 18:21:43 kaleb Exp $
27
28# $XConsortium: sv4Lib.rules,v 1.14 94/04/09 12:00:10 rws Exp $
29
30# -----------------------------------------------------------------------
31# site-specific configuration parameters that go after
32# the platform-specific parameters - edit site.def to change
33
34# site:  $XConsortium: site.sample,v 1.9 94/04/08 17:02:06 rws Exp $
35
36# -----------------------------------------------------------------------
37# Imake rules for building libraries, programs, scripts, and data files
38# rules:  $XConsortium: Imake.rules,v 1.197.1.1 95/06/19 18:01:48 gildea Exp $
39
40          PATHSEP = /
41            SHELL = /bin/sh
42
43              TOP = .
44      CURRENT_DIR = .
45
46            IMAKE = imake
47           DEPEND = makedepend
48        MKDIRHIER = mkdirhier
49        CONFIGSRC = $(TOP)/config
50         IMAKESRC = $(CONFIGSRC)/imake
51        DEPENDSRC = $(CONFIGSRC)/makedepend
52           IXXSRC = $(UNSUPPORTEDSRC)/programs/ixx
53              IXX = ixx
54         IXXFLAGS = -s BaseObject -m TypeObj -r RequestObj -p Xf
55      IXXINCLUDES = -i '<X11/Fresco/enter-scope.h>'
56
57          INCROOT = /inmos/X11R6/include
58        USRLIBDIR = /inmos/X11R6/lib
59         SHLIBDIR = /inmos/X11R6/lib
60       LINTLIBDIR = $(USRLIBDIR)/lint
61          MANPATH = /inmos/X11R6/man
62    MANSOURCEPATH = $(MANPATH)/man
63           MANDIR = $(MANSOURCEPATH)1
64        LIBMANDIR = $(MANSOURCEPATH)3
65       FILEMANDIR = $(MANSOURCEPATH)$(FILEMANSUFFIX)
66
67               AR = /usr/ccs/bin/ar cq
68  BOOTSTRAPCFLAGS = -DSVR4
69               CC = TMPDIR=/tmp /inmos/gnu/sparc-sun-solaris2.4/bin/gcc -fpcc-struct-return
70               AS = /usr/ccs/bin/as
71
72         COMPRESS = compress
73              CPP = /usr/ccs/lib/cpp $(STD_CPP_DEFINES)
74    PREPROCESSCMD = TMPDIR=/tmp /inmos/gnu/sparc-sun-solaris2.4/bin/gcc -fpcc-struct-return -E $(STD_CPP_DEFINES)
75          INSTALL = bsdinst
76     INSTALLFLAGS = -c
77               LD = /usr/ccs/bin/ld
78              LEX = /usr/ccs/bin/lex
79           LEXLIB = -ll
80             YACC = /usr/ccs/bin/yacc
81           CCYACC = /usr/ccs/bin/yacc
82             LINT = lint
83      LINTLIBFLAG = -o
84         LINTOPTS = -bh
85               LN = ln -s
86             MAKE = /usr/ccs/bin/make
87               MV = mv
88               CP = cp
89
90               RM = rm -f
91        MANSUFFIX = 1x
92     LIBMANSUFFIX = 3x
93    FILEMANSUFFIX = 4
94            TROFF = psroff
95         MSMACROS = -ms
96              TBL = tbl
97              EQN = eqn
98
99            DVIPS = dvips
100            LATEX = latex
101
102     STD_INCLUDES =
103  STD_CPP_DEFINES = -Dsun -DSVR4
104      STD_DEFINES = -Dsun -DSVR4
105 EXTRA_LOAD_FLAGS =
106  EXTRA_LDOPTIONS = -L$(USRLIBDIR) -R$(USRLIBDIR)$${LD_RUN_PATH+\:$$LD_RUN_PATH}
107  EXTRA_LIBRARIES = -lsocket -lnsl
108             TAGS = ctags
109
110    SHAREDCODEDEF =
111         SHLIBDEF =
112
113     SHLIBLDFLAGS = -G -z text
114
115         PICFLAGS = -fpic
116
117      CXXPICFLAGS = -K PIC
118
119    PROTO_DEFINES =
120
121     INSTPGMFLAGS =
122
123     INSTBINFLAGS = -m 0755
124     INSTUIDFLAGS = -m 4755
125     INSTLIBFLAGS = -m 0644
126     INSTINCFLAGS = -m 0444
127     INSTMANFLAGS = -m 0444
128     INSTDATFLAGS = -m 0444
129    INSTKMEMFLAGS = -g sys -m 2755
130
131      PROJECTROOT = /inmos/X11R6
132
133     TOP_INCLUDES = -I$(INCROOT)
134
135      CDEBUGFLAGS = -O2 -mv8
136        CCOPTIONS =
137
138      ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
139       ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES)
140           CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(THREADS_CFLAGS) $(ALLDEFINES)
141        LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES) $(DEPEND_DEFINES)
142         LDPRELIB = -L$(USRLIBDIR)
143        LDPOSTLIB =
144        LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)  $(EXTRA_LDOPTIONS) $(THREADS_LDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
145     CXXLDOPTIONS = $(CXXDEBUGFLAGS) $(CXXOPTIONS) $(EXTRA_LDOPTIONS) $(THREADS_CXXLDFLAGS) $(LOCAL_LDFLAGS) $(LDPRELIB)
146
147           LDLIBS = $(LDPOSTLIB) $(THREADS_LIBS) $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
148
149       CCENVSETUP = LD_RUN_PATH=$(USRLIBDIR)
150           CCLINK = $(CCENVSETUP) $(CC)
151
152      CXXENVSETUP = LD_RUN_PATH=$(USRLIBDIR)
153          CXXLINK = $(CXXENVSETUP) $(CXX)
154
155     LDSTRIPFLAGS = -x
156   LDCOMBINEFLAGS = -r
157      DEPENDFLAGS =
158
159        MACROFILE = sun.cf
160           RM_CMD = $(RM)
161
162    IMAKE_DEFINES =
163
164         IRULESRC = $(CONFIGDIR)
165        IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
166
167     ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Project.tmpl \
168			$(IRULESRC)/site.def $(IRULESRC)/$(MACROFILE) \
169			 $(EXTRA_ICONFIGFILES)
170
171# ----------------------------------------------------------------------
172# X Window System Build Parameters and Rules
173# $XConsortium: Project.tmpl,v 1.249 95/05/23 21:36:40 matt Exp $
174
175# -----------------------------------------------------------------------
176# X Window System make variables; these need to be coordinated with rules
177
178           BINDIR = /inmos/X11R6/bin
179     BUILDINCROOT = $(TOP)
180      BUILDINCDIR = $(BUILDINCROOT)/X11
181      BUILDINCTOP = ..
182      BUILDLIBDIR = $(TOP)/usrlib
183      BUILDLIBTOP = ..
184           INCDIR = $(INCROOT)/X11
185           ADMDIR = /usr/adm
186           LIBDIR = $(USRLIBDIR)/X11
187
188          FONTDIR = $(LIBDIR)/fonts
189         XINITDIR = $(LIBDIR)/xinit
190           XDMDIR = $(LIBDIR)/xdm
191           TWMDIR = $(LIBDIR)/twm
192           XSMDIR = $(LIBDIR)/xsm
193           NLSDIR = $(LIBDIR)/nls
194       XLOCALEDIR = $(LIBDIR)/locale
195        PEXAPIDIR = $(LIBDIR)/PEX
196      XAPPLOADDIR = $(LIBDIR)/app-defaults
197       FONTCFLAGS = -t
198
199     INSTAPPFLAGS = $(INSTDATFLAGS)
200
201              RGB = rgb
202            FONTC = bdftopcf
203        MKFONTDIR = mkfontdir
204
205       DOCUTILSRC = $(TOP)/doc/util
206       XDOCMACROS = $(DOCUTILSRC)/macros.t
207       XIDXMACROS = $(DOCUTILSRC)/indexmacros.t
208       PROGRAMSRC = $(TOP)/programs
209           LIBSRC = $(TOP)/lib
210          FONTSRC = $(TOP)/fonts
211       INCLUDESRC = $(TOP)/X11
212        SERVERSRC = $(TOP)/programs/Xserver
213       CONTRIBSRC = $(TOP)/../contrib
214   UNSUPPORTEDSRC = $(TOP)/unsupported
215           DOCSRC = $(TOP)/doc
216           RGBSRC = $(TOP)/programs/rgb
217      BDFTOPCFSRC = $(PROGRAMSRC)/bdftopcf
218     MKFONTDIRSRC = $(PROGRAMSRC)/mkfontdir
219    FONTSERVERSRC = $(PROGRAMSRC)/xfs
220       FONTINCSRC = $(TOP)/include/fonts
221        EXTINCSRC = $(TOP)/include/extensions
222     TRANSCOMMSRC = $(LIBSRC)/xtrans
223   TRANS_INCLUDES = -I$(TRANSCOMMSRC)
224
225# $XConsortium: sunLib.tmpl,v 1.38 95/07/06 14:06:11 kaleb Exp $
226
227# $XConsortium: sv4Lib.tmpl,v 1.20 95/07/06 14:06:11 kaleb Exp $
228
229XMULIBONLY = -lXmu
230
231          XLIBSRC = $(LIBSRC)/X11
232
233SOXLIBREV = 6.0
234DEPXONLYLIB =
235XONLYLIB =  -lX11
236
237LINTXONLY = $(LINTLIBDIR)/llib-lX11.ln
238
239         XLIBONLY = $(XONLYLIB)
240
241      XEXTLIBSRC = $(LIBSRC)/Xext
242
243SOXEXTREV = 6.0
244DEPEXTENSIONLIB =
245EXTENSIONLIB =  -lXext
246
247LINTEXTENSION = $(LINTLIBDIR)/llib-lXext.ln
248
249LINTEXTENSIONLIB = $(LINTEXTENSION)
250          DEPXLIB = $(DEPEXTENSIONLIB) $(DEPXONLYLIB)
251             XLIB = $(EXTENSIONLIB) $(XONLYLIB)
252         LINTXLIB = $(LINTXONLYLIB)
253
254         XAUTHSRC = $(LIBSRC)/Xau
255
256DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
257XAUTHLIB =  -lXau
258
259LINTXAUTH = $(LINTLIBDIR)/llib-lXau.ln
260
261      XDMCPLIBSRC = $(LIBSRC)/Xdmcp
262
263DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
264XDMCPLIB =  -lXdmcp
265
266LINTXDMCP = $(LINTLIBDIR)/llib-lXdmcp.ln
267
268           XMUSRC = $(LIBSRC)/Xmu
269
270SOXMUREV = 6.0
271DEPXMULIB =
272XMULIB =  -lXmu
273
274LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
275
276       OLDXLIBSRC = $(LIBSRC)/oldX
277
278SOOLDXREV = 6.0
279DEPOLDXLIB =
280OLDXLIB =  -loldX
281
282LINTOLDX = $(LINTLIBDIR)/llib-loldX.ln
283
284       TOOLKITSRC = $(LIBSRC)/Xt
285
286SOXTREV = 6.0
287DEPXTOOLONLYLIB =
288XTOOLONLYLIB =  -lXt
289
290LINTXTOOLONLY = $(LINTLIBDIR)/llib-lXt.ln
291
292      DEPXTOOLLIB = $(DEPXTOOLONLYLIB) $(DEPSMLIB) $(DEPICELIB)
293         XTOOLLIB = $(XTOOLONLYLIB) $(SMLIB) $(ICELIB)
294     LINTXTOOLLIB = $(LINTXTOOLONLYLIB)
295
296       AWIDGETSRC = $(LIBSRC)/Xaw
297
298SOXAWREV = 6.0
299DEPXAWLIB =
300XAWLIB =  -lXaw
301
302LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
303
304       XTFSRC = $(TOP)/workInProgress/Xtf
305
306SOXTFREV = 0.7
307DEPXTFLIB =
308XTFLIB =  -lXtf
309
310LINTXTF = $(LINTLIBDIR)/llib-lXtf.ln
311
312       FRESCOSRC = $(TOP)/workInProgress/Fresco
313
314SOFRESCOREV = 0.7
315DEPFRESCOLIB =
316FRESCOLIB =  -lFresco
317
318LINTFRESCO = $(LINTLIBDIR)/llib-lFresco.ln
319
320         XILIBSRC = $(LIBSRC)/Xi
321
322SOXINPUTREV = 6.0
323DEPXILIB =
324XILIB =  -lXi
325
326LINTXI = $(LINTLIBDIR)/llib-lXi.ln
327
328      XTESTLIBSRC = $(LIBSRC)/Xtst
329
330SOXTESTREV = 6.0
331DEPXTESTLIB =
332XTESTLIB =  -lXtst
333
334LINTXTEST = $(LINTLIBDIR)/llib-lXtst.ln
335
336        PEXLIBSRC = $(LIBSRC)/PEX5
337
338SOPEXREV = 6.0
339DEPPEXLIB =
340PEXLIB =  -lPEX5
341
342LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
343
344        XIELIBSRC = $(LIBSRC)/XIE
345
346SOXIEREV = 6.0
347DEPXIELIB =
348XIELIB =  -lXIE
349
350LINTXIE = $(LINTLIBDIR)/llib-lXIE.ln
351
352      PHIGSLIBSRC = $(LIBSRC)/PHIGS
353
354DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
355PHIGSLIB =  -lphigs
356
357LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
358
359DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
360XBSDLIB =  -lXbsd
361
362LINTXBSD = $(LINTLIBDIR)/llib-lXbsd.ln
363
364           ICESRC = $(LIBSRC)/ICE
365
366SOICEREV = 6.0
367DEPICELIB =
368ICELIB =  -lICE
369
370LINTICE = $(LINTLIBDIR)/llib-lICE.ln
371
372            SMSRC = $(LIBSRC)/SM
373
374SOSMREV = 6.0
375DEPSMLIB =
376SMLIB =  -lSM
377
378LINTSM = $(LINTLIBDIR)/llib-lSM.ln
379
380         FSLIBSRC = $(LIBSRC)/FS
381
382DEPFSLIB = $(USRLIBDIR)/libFS.a
383FSLIB =  -lFS
384
385LINTFS = $(LINTLIBDIR)/llib-lFS.ln
386
387         FONTLIBSRC = $(LIBSRC)/font
388
389DEPFONTLIB = $(USRLIBDIR)/libfont.a
390FONTLIB =  -lfont
391
392LINTFONT = $(LINTLIBDIR)/llib-lfont.ln
393
394          DEPLIBS = $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
395
396         DEPLIBS1 = $(DEPLIBS)
397         DEPLIBS2 = $(DEPLIBS)
398         DEPLIBS3 = $(DEPLIBS)
399
400        CONFIGDIR = $(LIBDIR)/config
401
402# -----------------------------------------------------------------------
403# start of Imakefile
404
405# Copyright (C) 1993 Nathan Sidwell
406# RCS $Id: Imakefile,v 4.57 1995/12/22 11:32:07 nathan Exp $
407
408# specify if this is a transputer target
409# #define transputerbuild 1
410
411# For full details of the switches herein, read the README file
412# Imake file for xmris V4.04 23 July 1995
413VERSION = 4.04
414APP = xmris
415
416# compiler options
417#
418
419EXTRACCOPTIONS = -Wall -Wpointer-arith -Wwrite-strings -Wtraditional
420
421# Is it a knr compiler which _doesn't_ have void?
422KNR =
423# KNR = -DSTRICTKNR
424# do you trust the code?
425# NDEBUG =
426# NDEBUG = -DNDEBUG
427# Allow debugging?
428# CDEBUGFLAGS = -g
429# debug event loop?
430# CDEBUGFLAGS += -DDEBUGEVENTLOOP
431
432# system environment
433#
434# don't you have gettimeofday?
435TIME =
436# TIME = -DUSETIME
437# don't you have lockf or flock?
438LOCK =
439LOCK = -DUSELOCKFILE
440
441# game defaults, you probably only want to alter the SCORE
442#
443
444# where is the high score file?
445# SCORE = $(LOCAL)/lib/$(APP)
446SCORE = $(LIBDIR)/$(APP)
447
448# The following defines are needed for some implementations and/or sites.
449# It is xmkmf's job to get these right in the first place.
450# If you have to declare any of these, X may not be installed correctly.
451#
452# DEC station 5000 appears to require these includes
453# STD_INCLUDES = -I/usr/include/mit
454# and they require these two libraries changed
455# XLIB = -lXext-mit -lX11-mit
456# required for setuid, try one or the other, (the first is better)
457# EXTRA_LOAD_FLAGS = -R$(USRLIBDIR)$${LD_RUN_PATH+\:$$LD_RUN_PATH}
458# EXTRA_LOAD_FLAGS = -static
459# some X implementations and openwindows require the maths library
460# MATHSLIB = -lm
461
462# install parameters
463#
464
465# owner and access rights for executable & score directory
466# these are set for a setuid xmris
467OWNER = -o games
468INSTSCOREFLAGS = $(OWNER) -m 755
469INSTMRISFLAGS = $(OWNER) $(INSTUIDFLAGS)
470# normal install locations
471THEBINDIR = $(BINDIR)
472THEMANDIR = $(MANDIR)
473# for open access you want 777 and $(INSTPGMFLAGS),
474# (the personal score files go in users' home dirs.)
475# INSTSCOREFLAGS = -m 777
476# INSTMRISFLAGS = $(INSTPGMFLAGS)
477# If you're not installing in the default locations
478# DESTDIR =
479# THEBINDIR = $(LOCAL)/bin
480# THEMANDIR = $(LOCAL)/man/man6
481
482FONT = "-*-courier-*-r-*-*-18-*-*-*-m-*-*-*"
483
484# default args for RCS ci and co
485# override from the command line to do other things
486CIFLAGS = -u
487COFLAGS = -l
488RCSFLAGS =
489
490DEFINES = $(EXTRACCOPTIONS) -DFONT_NAME='$(FONT)' $(NDEBUG) \
491	-DSCORE_DIR='"$(SCORE)"' $(LOCK) $(TIME) $(KNR) -DSCROLLBARBUGFIX
492LOCAL_LIBRARIES = $(XAWLIB) $(XTOOLLIB) $(XMULIB) $(XLIB) $(MATHSLIB)
493DEPLIBS = $(DEPXLIB)
494
495# filenames or stems
496COMMONHDRS = patchlevel.h ansiknr.h defcom.h common.h
497MRISHDRS = xmris.h defmris.h
498MREDHDRS = xmred.h defmred.h
499COMMONSRCS = defcom.c makecom.c
500GARDENS = alphabet.gdn digits.gdn puzzle.gdn xmred.gdn
501FILES = CHANGES CHANGES.4.01 CHANGES.4.02 CHANGES.4.03 CHANGES.4.04 \
502	README COPYRIGHT Imakefile \
503	xmris.man xmred.man Xmris-ad.src
504MRISSRCS = apple.c defmris.c demo.c draw.c makemris.c \
505	monster.c move.c player.c scoring.c timer.c xmris.c
506MRISOBJS = $(MRISSRCS:.c=.o)
507SCRAMSRCS = scram.c
508SCRAMOBJS = $(SCRAMSRCS:.c=.o)
509WIDGETSRCS = Drag.c Icon.c PixmapList.c
510WIDGETOBJS = $(WIDGETSRCS:.c=.o)
511WIDGETHDRS = $(WIDGETSRCS:.c=.h)
512MREDSRCS = all.c control.c defmred.c dialogs.c garden.c makemred.c \
513	menubar.c xmred.c
514MREDOBJS = $(MREDSRCS:.c=.o)
515# name all the sprites -- these are root names
516APPLE = bitmaps/apple/apldcy.r bitmaps/apple/aplnorm.r \
517	bitmaps/apple/aplrock.r bitmaps/apple/aplrot.r \
518	bitmaps/apple/aplspl.r bitmaps/apple/gstnorm.r \
519	bitmaps/apple/gstrock.r bitmaps/apple/aplsmall.r \
520	bitmaps/apple/bigedge.r bitmaps/apple/smledge.r
521BOARD = bitmaps/board/cherry.r bitmaps/board/digits.r \
522	bitmaps/board/seat.r bitmaps/board/ball.r
523CHOMP = bitmaps/chomp/hchmpc.r bitmaps/chomp/hchmpo.r \
524	bitmaps/chomp/schmpc.r bitmaps/chomp/schmpo.r
525DRONE = bitmaps/drone/hdronw1.r bitmaps/drone/hdronw2.r \
526	bitmaps/drone/hdronf.r \
527	bitmaps/drone/sdronw1.r bitmaps/drone/sdronw2.r \
528	bitmaps/drone/sdronf.r
529ICON = bitmaps/icon/solidi.r bitmaps/icon/shelli.r \
530	bitmaps/icon/solidm.r bitmaps/icon/shellm.r \
531	bitmaps/icon/solidr.r bitmaps/icon/shellr.r \
532	bitmaps/icon/solids.r bitmaps/icon/shells.r \
533	bitmaps/icon/solidt.r bitmaps/icon/shellt.r
534MUNCH = bitmaps/munch/hmnchw1.r bitmaps/munch/hmnchw2.r \
535	bitmaps/munch/hmnchf.r \
536	bitmaps/munch/smnchw1.r bitmaps/munch/smnchw2.r \
537	bitmaps/munch/smnchf.r
538NORMAL = bitmaps/normal/hnormw1.r bitmaps/normal/hnormw2.r \
539	bitmaps/normal/hnormf.r bitmaps/normal/hden.r \
540	bitmaps/normal/snormw1.r bitmaps/normal/snormw2.r \
541	bitmaps/normal/snormf.r bitmaps/normal/sden.r
542PLAYER = bitmaps/player/hplyrf.r \
543	bitmaps/player/hplyrh1.r bitmaps/player/hplyrh2.r \
544	bitmaps/player/hplyrp1.r bitmaps/player/hplyrp2.r \
545	bitmaps/player/hplyrs1.r bitmaps/player/hplyrs2.r \
546	bitmaps/player/hplyrw1.r bitmaps/player/hplyrw2.r \
547	bitmaps/player/splyrf.r \
548	bitmaps/player/splyrp1.r bitmaps/player/splyrp2.r \
549	bitmaps/player/splyrs1.r bitmaps/player/splyrs2.r \
550	bitmaps/player/splyrw1.r bitmaps/player/splyrw2.r \
551	bitmaps/player/splyrd1.r bitmaps/player/splyrd2.r \
552	bitmaps/player/splyrh1.r bitmaps/player/splyrh2.r
553PRIZE = bitmaps/prize/cake.r bitmaps/prize/spanner.r \
554	bitmaps/prize/brolly.r bitmaps/prize/mushrm.r bitmaps/prize/clock.r \
555	bitmaps/prize/gem1.r bitmaps/prize/gem2.r bitmaps/prize/gem3.r
556XTRA = bitmaps/xtra/hxtraf.r bitmaps/xtra/hxtraw1.r bitmaps/xtra/hxtraw2.r \
557	bitmaps/xtra/sxtraf.r bitmaps/xtra/sxtraw1.r bitmaps/xtra/sxtraw2.r \
558	bitmaps/xtra/xtrbold.r bitmaps/xtra/xtrfaint.r
559EDIT = bitmaps/edit/bigearw.r bitmaps/edit/bigsarw.r \
560	bitmaps/edit/smlearw.r bitmaps/edit/smlsarw.r bitmaps/edit/path.r \
561	bitmaps/edit/red.r bitmaps/edit/green.r bitmaps/edit/blue.r \
562	bitmaps/edit/include.r bitmaps/edit/iconi.r bitmaps/edit/boardi.r \
563	bitmaps/edit/warnon.r bitmaps/edit/warnoff.r
564BITMAPS = bitmaps/bitmaps/edge.r bitmaps/bitmaps/fill0.r \
565	bitmaps/bitmaps/fill1.r bitmaps/bitmaps/fill2.r \
566	bitmaps/bitmaps/fill3.r bitmaps/bitmaps/rect.r \
567	bitmaps/bitmaps/oblong.r bitmaps/bitmaps/mris.r \
568	bitmaps/bitmaps/msit.r bitmaps/bitmaps/mred.r \
569	bitmaps/bitmaps/ghosting.r
570ALLFILES = $(FILES) $(GARDENS) $(COMMONHDRS) $(MRISHDRS) $(MREDHDRS) \
571	$(COMMONSRCS) $(MRISSRCS) $(SCRAMSRCS) $(MREDSRCS) \
572	$(WIDGETSRCS) $(WIDGETHDRS) \
573	$(APPLE:.r=.bw) $(APPLE:.r=.rgb) $(BOARD:.r=.bw) $(BOARD:.r=.rgb) \
574	$(CHOMP:.r=.bw) $(CHOMP:.r=.rgb) $(DRONE:.r=.bw) $(DRONE:.r=.rgb) \
575	$(ICON:.r=.bw) $(ICON:.r=.rgb) $(MUNCH:.r=.bw) $(MUNCH:.r=.rgb) \
576	$(NORMAL:.r=.bw) $(NORMAL:.r=.rgb) $(PLAYER:.r=.bw) $(PLAYER:.r=.rgb) \
577	$(PRIZE:.r=.bw) $(PRIZE:.r=.rgb) $(XTRA:.r=.bw) $(XTRA:.r=.rgb) \
578	$(EDIT:.r=.bw) $(EDIT:.r=.rgb) $(BITMAPS:.r=.h)
579
580# using alltarget can cause gnumake to try and make a target called all.
581# the reason is the All Target macro has no rules, so gnumake tries
582# to find an implicit one. Other makes just give up.
583all :: initialize
584	@echo "NOTE:You might get lots of warnings about discarding const from"
585	@echo "NOTE:pointer target type. Ignore these. It's because the X header"
586	@echo "NOTE:files aren't const correct. Fiddle with XrmOptionDescRec in"
587	@echo "NOTE:Xresource.h and String in Intrinsic.h by adding an _Xconst."
588	@#keep gnumake happy
589
590all :: xmris xmred
591	@#keep gnumake happy
592
593all :: README.xmris README.xmred Xmris.ad
594	@#keep gnumake happy
595
596# rules to make sure the initialize thing is done
597clean :: initialize
598	@#keep gnumake happy
599
600install :: initialize
601	@#keep gnumake happy
602
603# xmris build
604
605xmris: $(MRISOBJS) $(DEPLIBS)
606	$(RM) $@
607	$(CCLINK) -o $@ $(LDOPTIONS) $(MRISOBJS) $(LOCAL_LIBRARIES) $(LDLIBS)  $(EXTRA_LOAD_FLAGS)
608
609clean::
610	$(RM) xmris
611
612install:: xmris
613	@if [ -d $(DESTDIR)$(THEBINDIR) ]; then set +x; \
614	else (set -x; $(MKDIRHIER) $(DESTDIR)$(THEBINDIR)); fi
615	$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(INSTMRISFLAGS) xmris $(DESTDIR)$(THEBINDIR)/xmris
616
617install :: $(THEBINDIR)/xmris
618	$(RM) $(THEBINDIR)/xmsit
619	$(LN) ./xmris $(THEBINDIR)/xmsit
620
621# xmred build
622
623xmred: $(MREDOBJS) $(WIDGETOBJS) $(DEPLIBS)
624	$(RM) $@
625	$(CCLINK) -o $@ $(LDOPTIONS) $(MREDOBJS) $(WIDGETOBJS) $(LOCAL_LIBRARIES) -lm $(LDLIBS)  $(EXTRA_LOAD_FLAGS)
626
627clean::
628	$(RM) xmred
629
630install:: xmred
631	@if [ -d $(DESTDIR)$(THEBINDIR) ]; then set +x; \
632	else (set -x; $(MKDIRHIER) $(DESTDIR)$(THEBINDIR)); fi
633	$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS)  xmred $(DESTDIR)$(THEBINDIR)/xmred
634
635# manual pages
636README.xmris : xmris.man
637	$(RM) README.xmris
638	nroff -man xmris.man > README.xmris
639
640README.xmred : xmred.man
641	$(RM) README.xmred
642	nroff -man xmred.man > README.xmred
643
644install.man:: xmris.man
645	@if [ -d $(DESTDIR)$(THEMANDIR) ]; then set +x; \
646	else (set -x; $(MKDIRHIER) $(DESTDIR)$(THEMANDIR)); fi
647	$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) xmris.man $(DESTDIR)$(THEMANDIR)/xmris.$(MANSUFFIX)
648
649install.man::
650	@(TMP=/tmp/tmp.$$$$; \
651	$(RM) $${TMP}; \
652	echo .so `basename $(THEMANDIR)`/xmris.$(MANSUFFIX) > $${TMP}; \
653	for i in xmsit; do (set -x; \
654	$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) $${TMP} $(DESTDIR)$(THEMANDIR)/$$i.$(MANSUFFIX)); \
655	done; \
656	$(RM) $${TMP})
657
658install.man:: xmred.man
659	@if [ -d $(DESTDIR)$(THEMANDIR) ]; then set +x; \
660	else (set -x; $(MKDIRHIER) $(DESTDIR)$(THEMANDIR)); fi
661	$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) xmred.man $(DESTDIR)$(THEMANDIR)/xmred.$(MANSUFFIX)
662
663# application resource files
664
665install:: Xmris.ad
666	@if [ -d $(DESTDIR)$(XAPPLOADDIR) ]; then set +x; \
667	else (set -x; $(MKDIRHIER) $(DESTDIR)$(XAPPLOADDIR)); fi
668	$(INSTALL) $(INSTALLFLAGS) $(INSTAPPFLAGS) Xmris.ad $(DESTDIR)$(XAPPLOADDIR)/Xmris
669
670Xmris.ad : Xmris-ad.src
671	sed -e 's@SCORE@$(SCORE)@' -e s@FONT@$(FONT)@ < Xmris-ad.src > Xmris.ad
672
673# score directory install
674install ::
675	@if [ -d $(SCORE) ]; then set +x; \
676	else (set -x; $(MKDIRHIER) $(SCORE)); fi
677	@#not all $(INSTALL) have a -d flag, have to do it explicitly
678	@echo installing $(INSTSCOREFLAGS) $(SCORE)
679	@set -- $(INSTSCOREFLAGS) ; \
680	while [ $$# -ne 0 ] ; \
681	do \
682	case "$$1" in \
683	"-o") shift ; chown $$1 $(SCORE) ; echo owner is $$1 ;; \
684	"-m") shift ; chmod $$1 $(SCORE) ;; \
685	"-g") shift ; chgrp $$1 $(SCORE) ; echo group is $$1 ;; \
686	*) echo unknown option '$$1' ;; \
687	esac ; \
688	shift ; \
689	done
690
691# install default gardens
692install :: $(GARDENS)
693	@if [ -d $(DESTDIR)/$(XAPPLOADDIR)/$(APP) ]; then set +x; \
694	else (set -x; $(MKDIRHIER) $(DESTDIR)/$(XAPPLOADDIR)/$(APP)); fi
695	@set dummy $(GARDENS) ; shift ; \
696	while [ $$# != 0 ] ; \
697	do \
698	  (set -x ; $(INSTALL) -c $(INSTAPPFLAGS) $$1 $(DESTDIR)/$(XAPPLOADDIR)/$(APP)/$$1) ; \
699	  shift ; \
700	done
701
702# scram program
703
704scram: $(SCRAMOBJS)
705	$(RM) $@
706	$(CCLINK) -o $@ $(LDOPTIONS) $(SCRAMOBJS)  $(LDLIBS)  $(EXTRA_LOAD_FLAGS)
707
708clean::
709	$(RM) scram
710
711clean ::
712	$(RM) $(MRISOBJS)
713	$(RM) Xmris.ad
714	$(RM) $(MREDOBJS)
715	$(RM) $(WIDGETOBJS)
716	$(RM) $(SCRAMOBJS)
717
718# tar is somewhat complicated because we want it to untar into an xmris
719# subdirectory with the correct version number (ie xmris.4.00)
720# this is done by cd'ing up, creating a link of the correct name to
721# where we are and then tarring the files in here with the directory
722# prefix tacked on. But we don't know the directory name we're in so
723# we have to determine that, and if it is already what we want, then
724# don't make a link
725tar : $(ALLFILES) README.xmris README.xmred
726	@if [ ! -f Makefile.std ] ; then \
727	  echo No Makefile.std, winging it ; \
728	  cp Makefile Makefile.std ; \
729	elif [ `ls -t Makefile Makefile.std | \
730	    sed '2,$$d'` = Makefile ] ; then \
731	  echo Warning:Makefile.std is older than Makefile ; \
732	fi
733	@echo Tarring \& feathering into $(APP).$(VERSION).tgz
734	@DIR=`pwd | sed "s+/.*/++"` ; rm="" ; \
735	if [ ! -x ../$(APP).$(VERSION) ] ; then \
736	  rm="$(RM) ../$(APP).$(VERSION)" ; \
737	  $(LN) ./$$DIR ../$(APP).$(VERSION) ; \
738	fi ; \
739	(cd .. ;  tar cf - `set README.xmris README.xmred Makefile.std \
740	    $(ALLFILES) ; \
741	  while [ $$# -ne 0 ] ; \
742	  do echo $(APP).$(VERSION)/$$1 ; shift ; \
743	  done`) | \
744	gzip -f > $(APP).$(VERSION).tgz ; \
745	$$rm
746
747# checkin all the checked out files
748# you can use MSG to set the checkin message
749checkin : $(ALLFILES)
750	@ARGS='$(CIFLAGS)' ; \
751	echo Checking in locked files with $${ARGS:-'no options'}
752	@ARGS='$(MSG)' ; \
753	FILELIST=`set $(ALLFILES) ; \
754	  (while [ $$# -ne 0 ] ; \
755	  do if [ -w $$1 ] ; then echo $$1 ; fi ; \
756	    shift ; \
757	  done) | sort` ; \
758	if [ -z "$$FILELIST" ] ; then \
759	  echo Nothing to do, all up to date ; \
760	elif [ 0$${ARGS:+1} -ne 0 ] ; then \
761	  echo Label \''$(MSG)'\' ; \
762	  ci $(CIFLAGS) -m"$(MSG)" $$FILELIST ; \
763	else \
764	  ci $(CIFLAGS) $$FILELIST ; \
765	fi ; \
766
767# checkout all the files, with COFLAGS args
768checkout :
769	@ARGS='$(COFLAGS)' ; \
770	echo Checking out all files with $${ARGS:-'no options'}
771	@co $(COFLAGS) `set $(ALLFILES) ; \
772	  while [ $$# -ne 0 ] ; \
773	  do if [ ! -w $$1 ] ; then echo $$1 ; fi ; \
774	    shift ; \
775	  done`
776
777rcs : checkin
778	@ARGS='$(RCSFLAGS)' ; \
779	echo RCSing all files with $${ARGS:-'no options'}
780	rcs $(RCSFLAGS) $(ALLFILES)
781
782# upload a tar file into this directory
783upload :
784	@arc=$(APP).$(VERSION).tgz ; \
785	if [ ! -r $$arc ] ; then \
786	  arc=$(APP).tgz ; \
787	fi ; \
788	echo Uploading from tar file $$arc ; \
789	echo Locking files about to be uploaded ; \
790	for file in `gunzip -c $$arc | tar tf -` ; \
791	do \
792	  base=`echo $$file | sed 's+^[^/]*/++'` ; \
793	  if [ ! -w $$base ] ; then \
794	    if [ -r `echo ./$$base | sed 's+/[^/]*$$++'`/RCS/`echo $$base | sed 's+.*/++'`,v ] ; then \
795	      co -l $$base ; \
796	    fi ; \
797	  fi ; \
798	done ; \
799	echo Commencing upload from $$arc ; \
800	DIR=`pwd | sed "s+/.*/++"` ; rm="" ; \
801	if [ ! -x ../$(APP).$(VERSION) ] ; then \
802	  rm="$(RM) ../$(APP).$(VERSION)" ; \
803	  $(LN) ./$$DIR ../$(APP).$(VERSION) ; \
804	fi ; \
805	(cd .. ; gunzip -c $(APP).$(VERSION)/$$arc | tar xvf -) ; \
806	$$rm ; \
807	echo Chmoding files which were uploaded ; \
808	for file in `gunzip -c $$arc | tar tf -` ; \
809	do \
810	  chmod +w `echo $$file | sed 's+^[^/]*/++'` ; \
811	done ; \
812	echo Upload from $$arc complete ; \
813	echo Don\'t for get to check them all in now
814
815Makefile.std :: initialize
816	cp Makefile Makefile.std
817	@echo You may want to edit Makefile.std now
818
819# these are the o dependencies
820$(MRISOBJS) : xmris.h common.h ansiknr.h patchlevel.h
821
822makemris.o : defmris.h defcom.h makecom.c
823
824defmris.o : defmris.h defcom.h defcom.c bitmaps/sprites
825
826draw.o : digits.gdn
827
828$(MREDOBJS) : xmred.h common.h ansiknr.h patchlevel.h
829
830all.o : Drag.h Icon.h PixmapList.h
831
832control.o : Drag.h Icon.h
833
834defmred.o : defmred.h defcom.h defcom.c bitmaps/sprites xmred.gdn
835
836makemred.o : defmred.h defcom.h makecom.c Icon.h PixmapList.h
837
838$(SCRAMOBJS) : ansiknr.h
839
840Drag.o : Drag.h
841
842Icon.o : Drag.h Icon.h
843
844PixmapList.o : PixmapList.h Drag.h
845
846# dependencies for single files
847# can't use $(@:.o=.c) or similar clever thing, 'cos its incompatible
848# gnumake is clever enough to perform a check out using implicit rules
849
850apple.o : apple.c
851
852defmris.o : defmris.c
853
854demo.o : demo.c
855
856draw.o : draw.c
857
858makemris.o : makemris.c
859
860monster.o : monster.c
861
862move.o : move.c
863
864player.o : player.c
865
866scoring.o : scoring.c
867
868timer.o : timer.c
869
870xmris.o : xmris.c
871
872scram.o : scram.c
873
874Drag.o : Drag.c
875
876Icon.o : Icon.c
877
878PixmapList.o : PixmapList.c
879
880all.o : all.c
881
882control.o : control.c
883
884defmred.o : defmred.c
885
886dialogs.o : dialogs.c
887
888garden.o : garden.c
889
890makemred.o : makemred.c
891
892menubar.o : menubar.c
893
894xmred.o : xmred.c
895
896# sprite rules
897SPRITEMARKERS = bitmaps/apple/sprites bitmaps/board/sprites \
898	bitmaps/icon/sprites bitmaps/player/sprites bitmaps/normal/sprites \
899	bitmaps/munch/sprites bitmaps/xtra/sprites bitmaps/drone/sprites \
900	bitmaps/chomp/sprites bitmaps/prize/sprites bitmaps/edit/sprites \
901	bitmaps/bitmaps/sprites
902clean ::
903	$(RM) $(APPLE:.r=.h)
904	$(RM) $(BOARD:.r=.h)
905	$(RM) $(CHOMP:.r=.h)
906	$(RM) $(DRONE:.r=.h)
907	$(RM) $(ICON:.r=.h)
908	$(RM) $(MUNCH:.r=.h)
909	$(RM) $(NORMAL:.r=.h)
910	$(RM) $(PLAYER:.r=.h)
911	$(RM) $(PRIZE:.r=.h)
912	$(RM) $(XTRA:.r=.h)
913	$(RM) $(EDIT:.r=.h)
914	$(RM) bitmaps/sprites $(SPRITEMARKERS)
915
916# makes the sprites from the rgb and bw images
917
918bitmaps/sprites : $(SPRITEMARKERS)
919	touch $@
920
921bitmaps/apple/sprites : $(APPLE:.r=.h)
922	touch $@
923
924bitmaps/board/sprites : $(BOARD:.r=.h)
925	touch $@
926
927bitmaps/chomp/sprites : $(CHOMP:.r=.h)
928	touch $@
929
930bitmaps/drone/sprites : $(DRONE:.r=.h)
931	touch $@
932
933bitmaps/icon/sprites : $(ICON:.r=.h)
934	touch $@
935
936bitmaps/munch/sprites : $(MUNCH:.r=.h)
937	touch $@
938
939bitmaps/normal/sprites : $(NORMAL:.r=.h)
940	touch $@
941
942bitmaps/player/sprites : $(PLAYER:.r=.h)
943	touch $@
944
945bitmaps/prize/sprites : $(PRIZE:.r=.h)
946	touch $@
947
948bitmaps/xtra/sprites : $(XTRA:.r=.h)
949	touch $@
950
951bitmaps/edit/sprites : $(EDIT:.r=.h)
952	touch $@
953
954bitmaps/bitmaps/sprites : $(BITMAPS:.r=.h)
955	touch $@
956
957# sprite building rule, again clever make stuff is incompatible
958
959bitmaps/apple/apldcy.h : ./scram bitmaps/apple/apldcy.rgb bitmaps/apple/apldcy.bw
960	./scram bitmaps/apple/apldcy  COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_BLACK
961
962bitmaps/apple/aplnorm.h : ./scram bitmaps/apple/aplnorm.rgb bitmaps/apple/aplnorm.bw
963	./scram bitmaps/apple/aplnorm  COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_BLACK
964
965bitmaps/apple/aplrock.h : ./scram bitmaps/apple/aplrock.rgb bitmaps/apple/aplrock.bw
966	./scram bitmaps/apple/aplrock  COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_BLACK
967
968bitmaps/apple/aplrot.h : ./scram bitmaps/apple/aplrot.rgb bitmaps/apple/aplrot.bw
969	./scram bitmaps/apple/aplrot  COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_BLACK
970
971bitmaps/apple/aplspl.h : ./scram bitmaps/apple/aplspl.rgb bitmaps/apple/aplspl.bw
972	./scram bitmaps/apple/aplspl  COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_BLACK
973
974bitmaps/apple/gstnorm.h : ./scram bitmaps/apple/gstnorm.rgb bitmaps/apple/gstnorm.bw
975	./scram bitmaps/apple/gstnorm  COLOR_APPLE_FAINT COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE + COLOR_BACKGROUND COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE + COLOR_APPLE_FAINT
976
977bitmaps/apple/gstrock.h : ./scram bitmaps/apple/gstrock.rgb bitmaps/apple/gstrock.bw
978	./scram bitmaps/apple/gstrock  COLOR_APPLE_FAINT COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE + COLOR_BACKGROUND COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE + COLOR_APPLE_FAINT
979
980bitmaps/apple/aplsmall.h : ./scram bitmaps/apple/aplsmall.rgb bitmaps/apple/aplsmall.bw
981	./scram bitmaps/apple/aplsmall  COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_APPLE_1 COLOR_APPLE_2 COLOR_WHITE COLOR_BLACK + COLOR_BLACK
982
983bitmaps/apple/bigedge.h : ./scram bitmaps/apple/bigedge.rgb bitmaps/apple/bigedge.bw
984	./scram bitmaps/apple/bigedge -s COLOR_APPLE_FAINT + COLOR_APPLE_FAINT +
985
986bitmaps/apple/smledge.h : ./scram bitmaps/apple/smledge.rgb bitmaps/apple/smledge.bw
987	./scram bitmaps/apple/smledge -s COLOR_APPLE_FAINT + COLOR_APPLE_FAINT +
988
989bitmaps/board/cherry.h : ./scram bitmaps/board/cherry.rgb bitmaps/board/cherry.bw
990	./scram bitmaps/board/cherry +s COLOR_WHITE COLOR_CHERRY COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_CHERRY COLOR_BLACK COLOR_CHERRY_STALK + COLOR_BLACK
991
992bitmaps/board/ball.h : ./scram bitmaps/board/ball.rgb bitmaps/board/ball.bw
993	./scram bitmaps/board/ball +n COLOR_BALL + COLOR_BALL + COLOR_BLACK
994
995bitmaps/board/digits.h : ./scram bitmaps/board/digits.rgb bitmaps/board/digits.bw
996	./scram bitmaps/board/digits -s COLOR_BACKGROUND COLOR_BLACK + COLOR_BACKGROUND COLOR_WHITE +
997
998bitmaps/board/seat.h : ./scram bitmaps/board/seat.rgb bitmaps/board/seat.bw
999	./scram bitmaps/board/seat -s COLOR_SEAT COLOR_BLACK + COLOR_SEAT COLOR_WHITE +
1000
1001bitmaps/chomp/hchmpc.h : ./scram bitmaps/chomp/hchmpc.rgb bitmaps/chomp/hchmpc.bw
1002	./scram bitmaps/chomp/hchmpc  COLOR_CHOMP COLOR_BLACK COLOR_WHITE COLOR_CHOMP_LIP COLOR_BLACK COLOR_BLACK + COLOR_CHOMP COLOR_CHOMP COLOR_BLACK COLOR_CHOMP_LIP COLOR_BLACK COLOR_WHITE + COLOR_BLACK
1003
1004bitmaps/chomp/hchmpo.h : ./scram bitmaps/chomp/hchmpo.rgb bitmaps/chomp/hchmpo.bw
1005	./scram bitmaps/chomp/hchmpo  COLOR_CHOMP COLOR_BLACK COLOR_WHITE COLOR_CHOMP_LIP COLOR_BLACK COLOR_BLACK + COLOR_CHOMP COLOR_CHOMP COLOR_BLACK COLOR_CHOMP_LIP COLOR_BLACK COLOR_WHITE + COLOR_BLACK
1006
1007bitmaps/chomp/schmpc.h : ./scram bitmaps/chomp/schmpc.rgb bitmaps/chomp/schmpc.bw
1008	./scram bitmaps/chomp/schmpc  COLOR_WHITE COLOR_CHOMP COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_CHOMP COLOR_CHOMP COLOR_BLACK +
1009
1010bitmaps/chomp/schmpo.h : ./scram bitmaps/chomp/schmpo.rgb bitmaps/chomp/schmpo.bw
1011	./scram bitmaps/chomp/schmpo  COLOR_WHITE COLOR_CHOMP COLOR_CHOMP_TONGUE COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_CHOMP COLOR_CHOMP_TONGUE COLOR_CHOMP COLOR_BLACK +
1012
1013bitmaps/drone/hdronf.h : ./scram bitmaps/drone/hdronf.rgb bitmaps/drone/hdronf.bw
1014	./scram bitmaps/drone/hdronf  COLOR_WHITE COLOR_DRONE COLOR_BLACK COLOR_WHITE + COLOR_BLACK COLOR_DRONE COLOR_WHITE COLOR_WHITE + COLOR_BLACK
1015
1016bitmaps/drone/hdronw1.h : ./scram bitmaps/drone/hdronw1.rgb bitmaps/drone/hdronw1.bw
1017	./scram bitmaps/drone/hdronw1  COLOR_WHITE COLOR_DRONE COLOR_BLACK COLOR_WHITE COLOR_BLACK + COLOR_BLACK COLOR_DRONE COLOR_WHITE COLOR_WHITE COLOR_BACKGROUND + COLOR_BLACK
1018
1019bitmaps/drone/hdronw2.h : ./scram bitmaps/drone/hdronw2.rgb bitmaps/drone/hdronw2.bw
1020	./scram bitmaps/drone/hdronw2  COLOR_WHITE COLOR_DRONE COLOR_BLACK COLOR_WHITE COLOR_BLACK + COLOR_BLACK COLOR_DRONE COLOR_WHITE COLOR_WHITE COLOR_BACKGROUND + COLOR_BLACK
1021
1022bitmaps/drone/sdronf.h : ./scram bitmaps/drone/sdronf.rgb bitmaps/drone/sdronf.bw
1023	./scram bitmaps/drone/sdronf  COLOR_DRONE COLOR_BLACK COLOR_BLACK + COLOR_DRONE COLOR_DRONE COLOR_BLACK +
1024
1025bitmaps/drone/sdronw1.h : ./scram bitmaps/drone/sdronw1.rgb bitmaps/drone/sdronw1.bw
1026	./scram bitmaps/drone/sdronw1  COLOR_WHITE COLOR_DRONE COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_DRONE COLOR_DRONE COLOR_BLACK +
1027
1028bitmaps/drone/sdronw2.h : ./scram bitmaps/drone/sdronw2.rgb bitmaps/drone/sdronw2.bw
1029	./scram bitmaps/drone/sdronw2  COLOR_WHITE COLOR_DRONE COLOR_DRONE_TONGUE COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_DRONE COLOR_DRONE_TONGUE COLOR_DRONE COLOR_BLACK +
1030
1031bitmaps/icon/solidi.h : ./scram bitmaps/icon/solidi.rgb bitmaps/icon/solidi.bw
1032	./scram bitmaps/icon/solidi -s COLOR_LETTER_GOT + COLOR_LETTER_GOT +
1033
1034bitmaps/icon/solidm.h : ./scram bitmaps/icon/solidm.rgb bitmaps/icon/solidm.bw
1035	./scram bitmaps/icon/solidm -s COLOR_LETTER_GOT + COLOR_LETTER_GOT +
1036
1037bitmaps/icon/solidr.h : ./scram bitmaps/icon/solidr.rgb bitmaps/icon/solidr.bw
1038	./scram bitmaps/icon/solidr -s COLOR_LETTER_GOT + COLOR_LETTER_GOT +
1039
1040bitmaps/icon/solids.h : ./scram bitmaps/icon/solids.rgb bitmaps/icon/solids.bw
1041	./scram bitmaps/icon/solids -s COLOR_LETTER_GOT + COLOR_LETTER_GOT +
1042
1043bitmaps/icon/solidt.h : ./scram bitmaps/icon/solidt.rgb bitmaps/icon/solidt.bw
1044	./scram bitmaps/icon/solidt -s COLOR_LETTER_GOT + COLOR_LETTER_GOT +
1045
1046bitmaps/icon/shelli.h : ./scram bitmaps/icon/shelli.rgb bitmaps/icon/shelli.bw
1047	./scram bitmaps/icon/shelli -s COLOR_LETTER_NOT_GOT + COLOR_LETTER_NOT_GOT +
1048
1049bitmaps/icon/shellm.h : ./scram bitmaps/icon/shellm.rgb bitmaps/icon/shellm.bw
1050	./scram bitmaps/icon/shellm -s COLOR_LETTER_NOT_GOT + COLOR_LETTER_NOT_GOT +
1051
1052bitmaps/icon/shellr.h : ./scram bitmaps/icon/shellr.rgb bitmaps/icon/shellr.bw
1053	./scram bitmaps/icon/shellr -s COLOR_LETTER_NOT_GOT + COLOR_LETTER_NOT_GOT +
1054
1055bitmaps/icon/shells.h : ./scram bitmaps/icon/shells.rgb bitmaps/icon/shells.bw
1056	./scram bitmaps/icon/shells -s COLOR_LETTER_NOT_GOT + COLOR_LETTER_NOT_GOT +
1057
1058bitmaps/icon/shellt.h : ./scram bitmaps/icon/shellt.rgb bitmaps/icon/shellt.bw
1059	./scram bitmaps/icon/shellt -s COLOR_LETTER_NOT_GOT + COLOR_LETTER_NOT_GOT +
1060
1061bitmaps/munch/hmnchf.h : ./scram bitmaps/munch/hmnchf.rgb bitmaps/munch/hmnchf.bw
1062	./scram bitmaps/munch/hmnchf  COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_BLACK COLOR_WHITE COLOR_BLACK + COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_BLACK COLOR_WHITE COLOR_WHITE + COLOR_BLACK
1063
1064bitmaps/munch/hmnchw1.h : ./scram bitmaps/munch/hmnchw1.rgb bitmaps/munch/hmnchw1.bw
1065	./scram bitmaps/munch/hmnchw1  COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_BLACK COLOR_WHITE COLOR_BLACK COLOR_BLACK + COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_MUNCH_2 COLOR_WHITE COLOR_BLACK COLOR_WHITE + COLOR_BLACK
1066
1067bitmaps/munch/hmnchw2.h : ./scram bitmaps/munch/hmnchw2.rgb bitmaps/munch/hmnchw2.bw
1068	./scram bitmaps/munch/hmnchw2  COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_BLACK COLOR_WHITE COLOR_BLACK COLOR_BLACK + COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_MUNCH_2 COLOR_WHITE COLOR_BLACK COLOR_WHITE + COLOR_BLACK
1069
1070bitmaps/munch/smnchf.h : ./scram bitmaps/munch/smnchf.rgb bitmaps/munch/smnchf.bw
1071	./scram bitmaps/munch/smnchf  COLOR_WHITE COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_BLACK COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_BLACK +
1072
1073bitmaps/munch/smnchw1.h : ./scram bitmaps/munch/smnchw1.rgb bitmaps/munch/smnchw1.bw
1074	./scram bitmaps/munch/smnchw1  COLOR_WHITE COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_WHITE COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_BLACK +
1075
1076bitmaps/munch/smnchw2.h : ./scram bitmaps/munch/smnchw2.rgb bitmaps/munch/smnchw2.bw
1077	./scram bitmaps/munch/smnchw2  COLOR_WHITE COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_BLACK COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_MUNCH_1 COLOR_MUNCH_2 COLOR_BLACK +
1078
1079bitmaps/normal/hden.h : ./scram bitmaps/normal/hden.rgb bitmaps/normal/hden.bw
1080	./scram bitmaps/normal/hden -s COLOR_NORMAL COLOR_NORMAL COLOR_WHITE COLOR_BLACK + COLOR_NORMAL COLOR_NORMAL COLOR_BLACK COLOR_WHITE +
1081
1082bitmaps/normal/hnormf.h : ./scram bitmaps/normal/hnormf.rgb bitmaps/normal/hnormf.bw
1083	./scram bitmaps/normal/hnormf -s COLOR_NORMAL COLOR_NORMAL COLOR_WHITE COLOR_BLACK + COLOR_NORMAL COLOR_NORMAL COLOR_BLACK COLOR_WHITE +
1084
1085bitmaps/normal/hnormw1.h : ./scram bitmaps/normal/hnormw1.rgb bitmaps/normal/hnormw1.bw
1086	./scram bitmaps/normal/hnormw1 -s COLOR_NORMAL COLOR_NORMAL COLOR_WHITE COLOR_BLACK + COLOR_NORMAL COLOR_NORMAL COLOR_BLACK COLOR_WHITE +
1087
1088bitmaps/normal/hnormw2.h : ./scram bitmaps/normal/hnormw2.rgb bitmaps/normal/hnormw2.bw
1089	./scram bitmaps/normal/hnormw2 -s COLOR_NORMAL COLOR_NORMAL COLOR_WHITE COLOR_BLACK + COLOR_NORMAL COLOR_NORMAL COLOR_BLACK COLOR_WHITE +
1090
1091bitmaps/normal/sden.h : ./scram bitmaps/normal/sden.rgb bitmaps/normal/sden.bw
1092	./scram bitmaps/normal/sden  COLOR_WHITE COLOR_NORMAL COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_NORMAL COLOR_WHITE COLOR_BLACK +
1093
1094bitmaps/normal/snormf.h : ./scram bitmaps/normal/snormf.rgb bitmaps/normal/snormf.bw
1095	./scram bitmaps/normal/snormf  COLOR_WHITE COLOR_NORMAL COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_NORMAL COLOR_NORMAL COLOR_BLACK +
1096
1097bitmaps/normal/snormw1.h : ./scram bitmaps/normal/snormw1.rgb bitmaps/normal/snormw1.bw
1098	./scram bitmaps/normal/snormw1  COLOR_WHITE COLOR_NORMAL COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_NORMAL COLOR_NORMAL COLOR_BLACK +
1099
1100bitmaps/normal/snormw2.h : ./scram bitmaps/normal/snormw2.rgb bitmaps/normal/snormw2.bw
1101	./scram bitmaps/normal/snormw2  COLOR_WHITE COLOR_NORMAL COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_NORMAL COLOR_NORMAL COLOR_BLACK +
1102
1103bitmaps/player/hplyrf.h : ./scram bitmaps/player/hplyrf.rgb bitmaps/player/hplyrf.bw
1104	./scram bitmaps/player/hplyrf  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BACKGROUND + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOOT COLOR_BACKGROUND + COLOR_BLACK
1105
1106bitmaps/player/hplyrh1.h : ./scram bitmaps/player/hplyrh1.rgb bitmaps/player/hplyrh1.bw
1107	./scram bitmaps/player/hplyrh1  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BACKGROUND + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOOT COLOR_BACKGROUND + COLOR_BLACK
1108
1109bitmaps/player/hplyrh2.h : ./scram bitmaps/player/hplyrh2.rgb bitmaps/player/hplyrh2.bw
1110	./scram bitmaps/player/hplyrh2  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BACKGROUND + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOOT COLOR_BACKGROUND + COLOR_BLACK
1111
1112bitmaps/player/hplyrp1.h : ./scram bitmaps/player/hplyrp1.rgb bitmaps/player/hplyrp1.bw
1113	./scram bitmaps/player/hplyrp1  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BACKGROUND COLOR_BLACK + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOOT COLOR_BACKGROUND COLOR_WHITE + COLOR_BLACK
1114
1115bitmaps/player/hplyrp2.h : ./scram bitmaps/player/hplyrp2.rgb bitmaps/player/hplyrp2.bw
1116	./scram bitmaps/player/hplyrp2  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BACKGROUND COLOR_BLACK + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOOT COLOR_BACKGROUND COLOR_WHITE + COLOR_BLACK
1117
1118bitmaps/player/hplyrs1.h : ./scram bitmaps/player/hplyrs1.rgb bitmaps/player/hplyrs1.bw
1119	./scram bitmaps/player/hplyrs1  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BACKGROUND + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOOT COLOR_BACKGROUND + COLOR_BLACK
1120
1121bitmaps/player/hplyrs2.h : ./scram bitmaps/player/hplyrs2.rgb bitmaps/player/hplyrs2.bw
1122	./scram bitmaps/player/hplyrs2  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BACKGROUND + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOOT COLOR_BACKGROUND + COLOR_BLACK
1123
1124bitmaps/player/hplyrw1.h : ./scram bitmaps/player/hplyrw1.rgb bitmaps/player/hplyrw1.bw
1125	./scram bitmaps/player/hplyrw1  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BACKGROUND + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOOT COLOR_BACKGROUND + COLOR_BLACK
1126
1127bitmaps/player/hplyrw2.h : ./scram bitmaps/player/hplyrw2.rgb bitmaps/player/hplyrw2.bw
1128	./scram bitmaps/player/hplyrw2  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BACKGROUND + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOOT COLOR_BACKGROUND + COLOR_BLACK
1129
1130bitmaps/player/splyrf.h : ./scram bitmaps/player/splyrf.rgb bitmaps/player/splyrf.bw
1131	./scram bitmaps/player/splyrf  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1132
1133bitmaps/player/splyrp1.h : ./scram bitmaps/player/splyrp1.rgb bitmaps/player/splyrp1.bw
1134	./scram bitmaps/player/splyrp1  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1135
1136bitmaps/player/splyrp2.h : ./scram bitmaps/player/splyrp2.rgb bitmaps/player/splyrp2.bw
1137	./scram bitmaps/player/splyrp2  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1138
1139bitmaps/player/splyrs1.h : ./scram bitmaps/player/splyrs1.rgb bitmaps/player/splyrs1.bw
1140	./scram bitmaps/player/splyrs1  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1141
1142bitmaps/player/splyrs2.h : ./scram bitmaps/player/splyrs2.rgb bitmaps/player/splyrs2.bw
1143	./scram bitmaps/player/splyrs2  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1144
1145bitmaps/player/splyrw1.h : ./scram bitmaps/player/splyrw1.rgb bitmaps/player/splyrw1.bw
1146	./scram bitmaps/player/splyrw1  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1147
1148bitmaps/player/splyrw2.h : ./scram bitmaps/player/splyrw2.rgb bitmaps/player/splyrw2.bw
1149	./scram bitmaps/player/splyrw2  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1150
1151bitmaps/player/splyrd1.h : ./scram bitmaps/player/splyrd1.rgb bitmaps/player/splyrd1.bw
1152	./scram bitmaps/player/splyrd1  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1153
1154bitmaps/player/splyrd2.h : ./scram bitmaps/player/splyrd2.rgb bitmaps/player/splyrd2.bw
1155	./scram bitmaps/player/splyrd2  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1156
1157bitmaps/player/splyrh1.h : ./scram bitmaps/player/splyrh1.rgb bitmaps/player/splyrh1.bw
1158	./scram bitmaps/player/splyrh1  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1159
1160bitmaps/player/splyrh2.h : ./scram bitmaps/player/splyrh2.rgb bitmaps/player/splyrh2.bw
1161	./scram bitmaps/player/splyrh2  COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_PLAYER_BOOT + COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_BLACK COLOR_PLAYER_BOBBLE COLOR_PLAYER COLOR_PLAYER_FACE COLOR_PLAYER_BOOT +
1162
1163bitmaps/prize/cake.h : ./scram bitmaps/prize/cake.rgb bitmaps/prize/cake.bw
1164	./scram bitmaps/prize/cake +s COLOR_CAKE_ICING COLOR_CAKE COLOR_BLACK COLOR_CAKE_JAM + COLOR_CAKE_ICING COLOR_CAKE COLOR_BLACK COLOR_CAKE_JAM + COLOR_BLACK
1165
1166bitmaps/prize/spanner.h : ./scram bitmaps/prize/spanner.rgb bitmaps/prize/spanner.bw
1167	./scram bitmaps/prize/spanner +s COLOR_SPANNER_SHADOW COLOR_SPANNER + COLOR_SPANNER_SHADOW COLOR_SPANNER +  COLOR_BLACK
1168
1169bitmaps/prize/brolly.h : ./scram bitmaps/prize/brolly.rgb bitmaps/prize/brolly.bw
1170	./scram bitmaps/prize/brolly +s COLOR_BROLLY_1 COLOR_BROLLY_2 COLOR_BROLLY_HANDLE COLOR_BLACK + COLOR_BROLLY_1 COLOR_BROLLY_2 COLOR_BROLLY_HANDLE COLOR_BLACK + COLOR_BLACK
1171
1172bitmaps/prize/mushrm.h : ./scram bitmaps/prize/mushrm.rgb bitmaps/prize/mushrm.bw
1173	./scram bitmaps/prize/mushrm +s COLOR_MUSHROOM_STALK COLOR_MUSHROOM_CAP COLOR_BLACK COLOR_WHITE + COLOR_MUSHROOM_STALK COLOR_MUSHROOM_CAP COLOR_BLACK COLOR_WHITE + COLOR_BLACK
1174
1175bitmaps/prize/clock.h : ./scram bitmaps/prize/clock.rgb bitmaps/prize/clock.bw
1176	./scram bitmaps/prize/clock +s COLOR_CLOCK_FACE COLOR_BLACK COLOR_CLOCK_BELL COLOR_CLOCK_EDGE + COLOR_CLOCK_FACE COLOR_BLACK COLOR_CLOCK_BELL COLOR_CLOCK_EDGE + COLOR_BLACK
1177
1178bitmaps/prize/gem1.h : ./scram bitmaps/prize/gem1.rgb bitmaps/prize/gem1.bw
1179	./scram bitmaps/prize/gem1  COLOR_WHITE COLOR_GEM_1 COLOR_GEM_2 COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_GEM_1 COLOR_GEM_2 COLOR_WHITE COLOR_GEM_1 COLOR_GEM_2 COLOR_BLACK +
1180
1181bitmaps/prize/gem2.h : ./scram bitmaps/prize/gem2.rgb bitmaps/prize/gem2.bw
1182	./scram bitmaps/prize/gem2  COLOR_WHITE COLOR_GEM_1 COLOR_GEM_2 COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_GEM_1 COLOR_GEM_2 COLOR_WHITE COLOR_GEM_1 COLOR_GEM_2 COLOR_BLACK +
1183
1184bitmaps/prize/gem3.h : ./scram bitmaps/prize/gem3.rgb bitmaps/prize/gem3.bw
1185	./scram bitmaps/prize/gem3  COLOR_WHITE COLOR_GEM_1 COLOR_GEM_2 COLOR_BLACK COLOR_BLACK COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_GEM_1 COLOR_GEM_2 COLOR_WHITE COLOR_GEM_1 COLOR_GEM_2 COLOR_BLACK +
1186
1187bitmaps/xtra/sxtraf.h : ./scram bitmaps/xtra/sxtraf.rgb bitmaps/xtra/sxtraf.bw
1188	./scram bitmaps/xtra/sxtraf  COLOR_WHITE COLOR_XTRA COLOR_BLACK + COLOR_BLACK COLOR_XTRA COLOR_XTRA +
1189
1190bitmaps/xtra/sxtraw1.h : ./scram bitmaps/xtra/sxtraw1.rgb bitmaps/xtra/sxtraw1.bw
1191	./scram bitmaps/xtra/sxtraw1  COLOR_WHITE COLOR_XTRA COLOR_BLACK COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_XTRA COLOR_WHITE COLOR_XTRA COLOR_BLACK +
1192
1193bitmaps/xtra/sxtraw2.h : ./scram bitmaps/xtra/sxtraw2.rgb bitmaps/xtra/sxtraw2.bw
1194	./scram bitmaps/xtra/sxtraw2  COLOR_WHITE COLOR_XTRA COLOR_BLACK COLOR_BLACK COLOR_BLACK + COLOR_WHITE COLOR_XTRA COLOR_WHITE COLOR_XTRA COLOR_BLACK +
1195
1196bitmaps/xtra/hxtraf.h : ./scram bitmaps/xtra/hxtraf.rgb bitmaps/xtra/hxtraf.bw
1197	./scram bitmaps/xtra/hxtraf -s COLOR_XTRA COLOR_WHITE COLOR_BLACK + COLOR_XTRA COLOR_BLACK COLOR_WHITE +
1198
1199bitmaps/xtra/hxtraw1.h : ./scram bitmaps/xtra/hxtraw1.rgb bitmaps/xtra/hxtraw1.bw
1200	./scram bitmaps/xtra/hxtraw1 -s COLOR_XTRA COLOR_WHITE COLOR_BLACK + COLOR_XTRA COLOR_BLACK COLOR_WHITE +
1201
1202bitmaps/xtra/hxtraw2.h : ./scram bitmaps/xtra/hxtraw2.rgb bitmaps/xtra/hxtraw2.bw
1203	./scram bitmaps/xtra/hxtraw2 -s COLOR_XTRA COLOR_WHITE COLOR_BLACK + COLOR_XTRA COLOR_BLACK COLOR_WHITE +
1204
1205bitmaps/xtra/xtrbold.h : ./scram bitmaps/xtra/xtrbold.rgb bitmaps/xtra/xtrbold.bw
1206	./scram bitmaps/xtra/xtrbold -s - COLOR_LETTER_GOT + - COLOR_LETTER_GOT +
1207
1208bitmaps/xtra/xtrfaint.h : ./scram bitmaps/xtra/xtrfaint.rgb bitmaps/xtra/xtrfaint.bw
1209	./scram bitmaps/xtra/xtrfaint -s - COLOR_LETTER_NOT_GOT + - COLOR_LETTER_NOT_GOT +
1210
1211bitmaps/edit/bigearw.h : ./scram bitmaps/edit/bigearw.rgb bitmaps/edit/bigearw.bw
1212	./scram bitmaps/edit/bigearw -s COLOR_APPLE_FAINT + COLOR_APPLE_FAINT +
1213
1214bitmaps/edit/bigsarw.h : ./scram bitmaps/edit/bigsarw.rgb bitmaps/edit/bigsarw.bw
1215	./scram bitmaps/edit/bigsarw -s COLOR_APPLE_FAINT + COLOR_APPLE_FAINT +
1216
1217bitmaps/edit/smlearw.h : ./scram bitmaps/edit/smlearw.rgb bitmaps/edit/smlearw.bw
1218	./scram bitmaps/edit/smlearw -s COLOR_APPLE_FAINT + COLOR_APPLE_FAINT +
1219
1220bitmaps/edit/smlsarw.h : ./scram bitmaps/edit/smlsarw.rgb bitmaps/edit/smlsarw.bw
1221	./scram bitmaps/edit/smlsarw -s COLOR_APPLE_FAINT + COLOR_APPLE_FAINT +
1222
1223bitmaps/edit/path.h : ./scram bitmaps/edit/path.rgb bitmaps/edit/path.bw
1224	./scram bitmaps/edit/path -s COLOR_BACKGROUND + COLOR_BACKGROUND +
1225
1226bitmaps/edit/red.h : ./scram bitmaps/edit/red.rgb bitmaps/edit/red.bw
1227	./scram bitmaps/edit/red -s COLOR_RED_FORE + COLOR_RED_FORE +
1228
1229bitmaps/edit/green.h : ./scram bitmaps/edit/green.rgb bitmaps/edit/green.bw
1230	./scram bitmaps/edit/green -s COLOR_GREEN_FORE + COLOR_GREEN_FORE +
1231
1232bitmaps/edit/blue.h : ./scram bitmaps/edit/blue.rgb bitmaps/edit/blue.bw
1233	./scram bitmaps/edit/blue -s COLOR_BLUE_FORE + COLOR_BLUE_FORE +
1234
1235bitmaps/edit/include.h : ./scram bitmaps/edit/include.rgb bitmaps/edit/include.bw
1236	./scram bitmaps/edit/include -s -c -m COLOR_BACKGROUND COLOR_BORDER COLOR_BACKGROUND COLOR_RED_FORE COLOR_BACKGROUND COLOR_BLUE_FORE COLOR_BACKGROUND COLOR_GREEN_FORE + COLOR_BACKGROUND COLOR_BORDER COLOR_BACKGROUND COLOR_RED_FORE COLOR_BACKGROUND COLOR_BLUE_FORE COLOR_BACKGROUND COLOR_GREEN_FORE +
1237
1238bitmaps/edit/iconi.h : ./scram bitmaps/edit/iconi.rgb bitmaps/edit/iconi.bw
1239	./scram bitmaps/edit/iconi -s -c -m COLOR_BACKGROUND COLOR_FOREGROUND + COLOR_BACKGROUND COLOR_FOREGROUND +
1240
1241bitmaps/edit/boardi.h : ./scram bitmaps/edit/boardi.rgb bitmaps/edit/boardi.bw
1242	./scram bitmaps/edit/boardi -s -c -m COLOR_BACKGROUND COLOR_FOREGROUND + COLOR_BACKGROUND COLOR_FOREGROUND +
1243
1244bitmaps/edit/warnon.h : ./scram bitmaps/edit/warnon.rgb bitmaps/edit/warnon.bw
1245	./scram bitmaps/edit/warnon -s -c -m COLOR_BACKGROUND COLOR_FOREGROUND + COLOR_BACKGROUND COLOR_FOREGROUND +
1246
1247bitmaps/edit/warnoff.h : ./scram bitmaps/edit/warnoff.rgb bitmaps/edit/warnoff.bw
1248	./scram bitmaps/edit/warnoff -s -c -m COLOR_BACKGROUND COLOR_FOREGROUND + COLOR_BACKGROUND COLOR_FOREGROUND +
1249
1250.DONE :
1251	@echo "Hurrah!"
1252
1253.FAILED :
1254	@echo "Bummer!"
1255
1256# initialize rule is done before all makes. Not all makes
1257# have a .INIT implicit rule, so I don't use that
1258initialize :
1259	@echo Checking a few things
1260	@if [ `ls -t Makefile Imakefile | sed '2,$$d'` = Imakefile ] ; then \
1261	  echo Warning:Makefile is older than Imakefile ; \
1262	fi
1263	@if [ ! -d `echo '$(SCORE)' | sed 's=/[^/]*$$=='` ] ; then \
1264	  echo The parent of $(SCORE) does not exist ; \
1265	fi
1266	@if [ $(FONT) = "" ] ; then true ; \
1267	elif echo $(FONT) | grep -c -- '-m-.*-.*-.*$$' > /dev/null ; then \
1268	  if [ "$(XLSFONTS)" = "" -o "$(DISPLAY)" = "" ] ; then \
1269	    XLSFONTS="" ; \
1270	  elif [ -x $(XLSFONTS) ] ; then \
1271	    XLSFONTS=$(XLSFONTS) ; \
1272	  elif [ -x $(BINDIR)/$(XLSFONTS) ] ; then \
1273	    XLSFONTS=$(BINDIR)/$(XLSFONTS) ; \
1274	  elif [ -x /usr/bin/X11/$(XLSFONTS) ] ; then \
1275	    XLSFONTS=/usr/bin/X11/$(XLSFONTS) ; \
1276	  else \
1277	    XLSFONTS="" ; \
1278	  fi ; \
1279	  if [ "$$XLSFONTS" = "" ] ; then \
1280	    true ; \
1281	  elif [ `$$xlsfonts -o -fn "$(FONT)" 2> /dev/null | wc -l` -eq 0 ] ; then \
1282	    echo Warning:Font $(FONT) not found ; \
1283	  fi ; \
1284	else \
1285	  echo Warning:Font $(FONT) is not fixed width ; \
1286	fi
1287	@echo "Geronimo!"
1288
1289# default rule looks for an RCS file to check out
1290# not required for gmake, as that already has a rule for it
1291.DEFAULT :
1292	@if echo $@ | grep -cv '^/' > /dev/null && \
1293	  [ -f `echo ./$@ | sed 's+^\(.*/\)\([^/]*\)$$+\1RCS/\2,v+'` ] ; then \
1294	    co $(COFLAGS) $@ ; \
1295	else \
1296	  echo Cannot make $@ and cannot find one made. ; \
1297	  exit 1 ; \
1298	fi
1299
1300# -----------------------------------------------------------------------
1301# common rules for all Makefiles - do not edit
1302
1303.c.i:
1304	$(RM) $@
1305	$(CC) -E $(CFLAGS) $(_NOOP_) $*.c > $@
1306
1307emptyrule::
1308
1309clean::
1310	$(RM_CMD) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut  "#"*
1311
1312Makefile::
1313	-@if [ -f Makefile ]; then set -x; \
1314	$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
1315	else exit 0; fi
1316	$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
1317
1318tags::
1319	$(TAGS) -w *.[ch]
1320	$(TAGS) -xw *.[ch] > TAGS
1321
1322# -----------------------------------------------------------------------
1323# empty rules for directories that do not have SUBDIRS - do not edit
1324
1325install::
1326	@echo "install in $(CURRENT_DIR) done"
1327
1328install.man::
1329	@echo "install.man in $(CURRENT_DIR) done"
1330
1331install.linkkit::
1332	@echo "install.linkkit in $(CURRENT_DIR) done"
1333
1334Makefiles::
1335
1336includes::
1337
1338depend::
1339
1340# -----------------------------------------------------------------------
1341# dependencies generated by makedepend
1342
1343