File: Makefile

package info (click to toggle)
mah-jong 1.8-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,384 kB
  • ctags: 2,186
  • sloc: ansic: 26,312; perl: 393; makefile: 272; sh: 122
file content (718 lines) | stat: -rw-r--r-- 27,884 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
# $Header: /home/jcb/newmj/RCS/Makefile.in,v 11.21 2006/01/26 21:00:13 jcb Exp $
# Master makefile for the xmj suite.

### NOTE NOTE NOTE
### This makefile uses some features specific to GNU make.
### If you do not have GNU make, you will need to adjust it.
### In particular, example Windows specific settings are included here
### by means of    ifdef Win32   conditionals (where Win32 is a Makefile
### variable that can be set on the command line, for example).
### It should be easy to edit these out.
### As far as I know, the only other non-portable feature is the
### use of %-pattern rules, but they occur in many makes.

# The things you are most likely to change come first!

# first target: don't change!
all::

### Local configuration options. Read and edit as necessary.

### DON'T TOUCH THIS! The gtk+2 port is in progress, and does not
### not work yet.
# Which gtk+ version do you want?
# this is for gtk+ 1.2
# GTK_VERSION undefined  
# this is for gtk+ 2.0
# GTK_VERSION = 2.0  

# This is not available in current public releases.
# Uncomment the following line to build the table manager.
# TableManager=1

# The directory in which to find the tile pixmaps that are
# compiled into the program. Beware of licensing considerations.
# (The tiles-v1 pixmaps may only be linked into GPLed programs.)
FALLBACKTILES=./tiles-v1

# The directory in which to find tile pixmaps.
# Defaults to NULL, causing the compiled-in tiles to be used.
TILESET=NULL

# The search path for finding tile pixmap directories.
# Defaults to NULL, meaning current directory.
TILESETPATH=NULL

# Where to install the programs.
# (Don't bother with this on Windows; I don't have an install target
# for Windows.)
# The binaries go into  $(DESTDIR)$(BINDIR)
DESTDIR = /usr/local/
BINDIR = bin
# The man pages go into $(DESTDIR)$(MANDIR)
MANDIR = man/man6
# and the appropriate suffix is 6
MANSUFFIX = 6

### End of local configuration.

### System dependent settings.
# This section contains compiler settings etc.
# If you think this reminds of you something, you're right: this
# makefile was made by stripping out most of an imake-generated file.

# It's best to use gcc if you can.
CC = gcc

# C debugging and optimization flags. 
# In development, we turn on all reasonable warnings.
# However, in the production releases, we don't because other people's
# code (e.g. glib) may provoke warnings.
# Also, we do NOT enable optimization by default, because RedHat 6
# Linux distributions have a seriously buggy C compiler.
ifdef Warnings
CDEBUGFLAGS = -g -Wall -W -Wstrict-prototypes -Wmissing-prototypes
else
CDEBUGFLAGS = -g
endif
# The -Wconversion flag is also useful to detect (more than usual)
# abuse of enums, but it generates many superfluous warnings, so
# is not on by default.
# To check for non-ANSI usages, use -ansi; 
# to get all the ANSI-mandated warnings, use -pedantic, but 
# this is so pedantic it's not worth it.

# Defines for the compilation.
ifdef Win32
# This doesn't work if one tries to set these. Does anybody know
# how to get a double quote through DOS or whatever to gcc ?
DEFINES = -DTILESET=$(TILESET) -DTILESETPATH=$(TILESETPATH) -DWIN32=1
else
DEFINES = -DTILESET='$(TILESET)' -DTILESETPATH='$(TILESETPATH)'
endif

ifdef GTK_VERSION
GTKDEFINES = -DGTK2=1 -DGTK_ENABLE_BROKEN
endif

# Options for compiling.
ifdef Win32
# this is suitable for recent mingw releases (the equivalent
# of the old -fnative-struct)
CCOPTIONS = -mms-bitfields
endif

# Extra libraries needed above whatever the system provides you with.
# Things like -lnsl on Solaris are the most likely examples.
ifdef Win32
# We need the winsock libraries
LDLIBS =  -lwsock32
else
# Red Hat and Mandrake (and probably most other) Linux systems
# need nothing, as any needed libraries are brought in for gtk anyway.
LDLIBS =
# If you are on Solaris, you may need the following:
# LDLIBS = -lsocket -lnsl
# If you are on HP-UX, you may need
# LDLIBS = -lm
endif

# some systems have buggy malloc/realloc etc, so we may use
# Doug Lea's implementation. This is switched on for Windows
# at the moment
ifdef Win32
MALLOCSRC = malloc.c
MALLOCOBJ = malloc.o
endif

# The xmj program is built with gtk+, so it needs to know where the
# libraries and headers are.
ifdef Win32
# You'll need to say explicitly where they are, as here, which is
# a bit of a mess in my setup
EXTRA_INCLUDES=-IC:/gtk/include/glib-2.0 -IC:/gtk/lib/glib-2.0/include -IC:/gtk/include -IC:/gtk/lib/gtk+/include
# We also add the flag that makes xmj.exe be a GUI program
GUILIBS=-LC:/gtk/lib -lgtk-0 -lgdk-0 -LC:/gtk/bin/ -lglib-2.0-0 -lgmodule-2.0-0 -mwindows
else
# Not Windows. If gtk+ is properly installed, this is all that's needed.
ifdef GTK_VERSION
EXTRA_INCLUDES=`pkg-config --cflags gtk+-$(GTK_VERSION)`
GUILIBS=`pkg-config --libs gtk+-$(GTK_VERSION)`
else
EXTRA_INCLUDES=`gtk-config --cflags`
GUILIBS=-L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -lglib
endif
endif

# We use gcc to link as well
CCLINK = $(CC)

# don't mess with these
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(EXTRA_DEFINES) $(DEFINES) $(GTKDEFINES)
CFLAGS = $(EXTRA_CFLAGS) $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS)  $(EXTRA_LDOPTIONS)

# various auxiliary program and settings.
ifndef Win32
# GNU make, we hope
MAKE = make
CP = cp -f
RM = rm -f
# makedep is a gcc-based makedepend that doesn't look at the 
# standard files.
DEPEND = ./makedep
DEPENDFLAGS =
# perl is needed for generating several files
PERL = perl
# suffix of executables
EXE = 
# programs used in installation
MKDIRHIER = mkdir -p
INSTALL = install
INSTALLFLAGS = -c
INSTPGMFLAGS = -s
INSTMANFLAGS = -m 0444
else
# Windows
# GNU make, we hope
MAKE = make
CP = xcopy
RM = rm /f
# we don't have a makedepend on windows ...
DEPEND =
DEPENDFLAGS =
# perl is needed for generating several files
PERL = perl
# suffix of executables
EXE = .exe
# programs used in installation: not in windows
MKDIRHIER = 
INSTALL = 
INSTALLFLAGS = 
INSTPGMFLAGS = 
INSTMANFLAGS = 
endif

### There should be no need to edit after this point,
### unless you're using a non-GNU make.


all:: Makefile

Makefile: Makefile.in
	$(RM) $@
	$(CP) $< $@
	make depend

# Autogenerated files to do with the table manager
ifdef TableManager
 TMAUTOGENS = enc_mcmsg.c enc_mpmsg.c dec_mcmsg.c dec_mpmsg.c mcmsg_union.h mcmsg_size.c mpmsg_union.h mpmsg_size.c mprotocol-enums.c mprotocol-enums.h
else
 TMAUTOGENS = 
endif

# This variable lists all the auto-generated program files.
AUTOGENS = enc_cmsg.c enc_pmsg.c dec_cmsg.c dec_pmsg.c cmsg_union.h cmsg_size.c pmsg_union.h pmsg_size.c  game-enums.c game-enums.h player-enums.c player-enums.h protocol-enums.c protocol-enums.h  tiles-enums.c tiles-enums.h fbtiles.c version.h $(TMAUTOGENS)

# This is a trick to make the auto-generated files be created
# by make depend, if they're not already there. Otherwise the
# make depend won't put them in the dependencies.
depend:: $(AUTOGENS)
	echo Remade some auto-generated files

# The programs
ifdef TableManager
 PROGRAMS = xmj$(EXE) mj-server$(EXE) mj-player$(EXE) mj-manager$(EXE)
else
 PROGRAMS = xmj$(EXE) mj-server$(EXE) mj-player$(EXE)
endif

all:: $(PROGRAMS)

# The controller target. Requires player, tiles, protocol, sysdep

SRCS1 = controller.c player.c tiles.c protocol.c game.c scoring.c sysdep.c $(MALLOCSRC)
OBJS1 = controller.o player.o tiles.o protocol.o game.o scoring.o sysdep.o $(MALLOCOBJ)

 OBJS = $(OBJS1) $(OBJS2) $(OBJS3) $(OBJS4)
 SRCS = $(SRCS1) $(SRCS2) $(SRCS3) $(SRCS4)

mj-server$(EXE): $(OBJS1)
	$(RM) $@
	$(CCLINK) -o $@ $(LDOPTIONS) $(OBJS1)  $(LDLIBS)  $(EXTRA_LOAD_FLAGS)

ifndef Win32

install:: mj-server$(EXE)
	@if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS)  mj-server$(EXE) $(DESTDIR)$(BINDIR)/mj-server

install.man:: mj-server.man
	@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) mj-server.man $(DESTDIR)$(MANDIR)/mj-server.$(MANSUFFIX)

endif # Win32

ifdef TableManager
# The table manager. Requires mprotocol and sysdep
SRCS4 = manager.c mprotocol.c sysdep.c $(MALLOCSRC)
OBJS4 = manager.o mprotocol.o sysdep.o $(MALLOCOBJ)

mj-manager$(EXE): $(OBJS4)
	$(RM) $@
	$(CCLINK) -o $@ $(LDOPTIONS) $(OBJS4)  $(LDLIBS)  $(EXTRA_LOAD_FLAGS)

ifndef Win32

install:: mj-manager$(EXE)
	@if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS)  mj-manager$(EXE) $(DESTDIR)$(BINDIR)/mj-manager

install.man:: mj-manager.man
	@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) mj-manager.man $(DESTDIR)$(MANDIR)/mj-manager.$(MANSUFFIX)

endif # Win32

endif # TableManager

# the greedy player

SRCS2 = greedy.c client.c player.c tiles.c protocol.c game.c sysdep.c $(MALLOCSRC)
SRCS2A = client.c player.c tiles.c protocol.c game.c sysdep.c $(MALLOCSRC)
OBJS2 = greedy.o client.o player.o tiles.o protocol.o game.o sysdep.o $(MALLOCOBJ)
OBJS2A = client.o player.o tiles.o protocol.o game.o sysdep.o $(MALLOCOBJ)

mj-player$(EXE): $(OBJS2) $(DEPLIBS2)
	$(RM) $@
	$(CCLINK) -o $@ $(LDOPTIONS) $(OBJS2)  $(LDLIBS)  $(EXTRA_LOAD_FLAGS)

ga: ga.o $(OBJS2A) $(DEPLIBS2)
	$(RM) $@
	$(CCLINK) -o $@ $(LDOPTIONS) ga.o $(OBJS2A)  $(LDLIBS)  $(EXTRA_LOAD_FLAGS)

# generic greedy variants
greedy-%.o: greedy-%.c $(SRCS2A)

greedy-%: greedy-%.o $(OBJS2A)
	$(RM) $@
	$(CCLINK) -o $@ $(LDOPTIONS) $< $(OBJS2A)  $(LDLIBS)  $(EXTRA_LOAD_FLAGS)

ifndef Win32

install:: mj-player$(EXE)
	@if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS)  mj-player$(EXE) $(DESTDIR)$(BINDIR)/mj-player

install.man:: mj-player.man
	@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) mj-player.man $(DESTDIR)$(MANDIR)/mj-player.$(MANSUFFIX)

endif # Win32

# the gui

ifdef Win32
# the icon resource file and object
ICONOBJ = iconres.o
iconres.o: iconres.rs icon.ico
	windres iconres.rs iconres.o
else
ICONOBJ =
endif

SRCS3 = gui.c gui-dial.c lazyfixed.c vlazyfixed.c client.c player.c tiles.c fbtiles.c protocol.c game.c sysdep.c $(MALLOCSRC)
OBJS3 = gui.o gui-dial.o client.o lazyfixed.o vlazyfixed.o player.o tiles.o fbtiles.o protocol.o game.o sysdep.o $(MALLOCOBJ) $(ICONOBJ)

xmj$(EXE): $(OBJS3) $(DEPLIBS3)
	$(RM) $@
	$(CCLINK) -o $@ $(LDOPTIONS) $(OBJS3) $(GUILIBS) $(LDLIBS)  $(EXTRA_LOAD_FLAGS)

install:: xmj$(EXE)
	@if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS)  xmj$(EXE) $(DESTDIR)$(BINDIR)/xmj

install.man:: xmj.man
	@if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
	$(INSTALL) $(INSTALLFLAGS) $(INSTMANFLAGS) xmj.man $(DESTDIR)$(MANDIR)/xmj.$(MANSUFFIX)

# version.h is now made from version.h.in by the release script.
# so if we are not making a release, we'd better provide it if
# it isn't there.
version.h:
	cp version.h.in $@
	chmod u+w $@

# rule to generate the fallback tiles
fbtiles.c: $(FALLBACKTILES) makefallbacktiles Makefile
	$(PERL) makefallbacktiles $(FALLBACKTILES) >fbtiles.c

# Rules for the auto generated files

enc_cmsg.c: protocol.h proto-encode-msg.pl
	$(PERL) proto-encode-msg.pl -cmsg

enc_pmsg.c: protocol.h proto-encode-msg.pl
	$(PERL) proto-encode-msg.pl -pmsg

dec_cmsg.c: protocol.h proto-decode-msg.pl
	$(PERL) proto-decode-msg.pl -cmsg

dec_pmsg.c: protocol.h proto-decode-msg.pl
	$(PERL) proto-decode-msg.pl -pmsg

# rules for the other auxiliary files
# the commands will be executed twice, but never mind.
cmsg_union.h cmsg_size.c: protocol.h proto-encode-msg.pl
	$(PERL) proto-encode-msg.pl -cmsg

pmsg_union.h pmsg_size.c: protocol.h proto-encode-msg.pl
	$(PERL) proto-encode-msg.pl -pmsg

enc_mcmsg.c: protocol.h proto-encode-msg.pl
	$(PERL) proto-encode-msg.pl -mcmsg

enc_mpmsg.c: protocol.h proto-encode-msg.pl
	$(PERL) proto-encode-msg.pl -mpmsg

dec_mcmsg.c: protocol.h proto-decode-msg.pl
	$(PERL) proto-decode-msg.pl -mcmsg

dec_mpmsg.c: protocol.h proto-decode-msg.pl
	$(PERL) proto-decode-msg.pl -mpmsg

# rules for the other auxiliary files
# the commands will be executed twice, but never mind.
mcmsg_union.h mcmsg_size.c: protocol.h proto-encode-msg.pl
	$(PERL) proto-encode-msg.pl -mcmsg

mpmsg_union.h mpmsg_size.c: protocol.h proto-encode-msg.pl
	$(PERL) proto-encode-msg.pl -mpmsg

# Rule for the enum parsing files:
%-enums.h: %.h make-enums.pl
	$(PERL) make-enums.pl $<

%-enums.c: %.h make-enums.pl
	$(PERL) make-enums.pl $<

# distclean also removes the auto-generated files and the Makefile
distclean:: clean
	$(RM) Makefile $(AUTOGENS)

# used to build a source release
textdocs:: use.txt rules.txt

use.txt rules.txt: xmj.man
	$(RM) use.txt rules.txt
	$(PERL) maketxt xmj.man
	chmod 444 use.txt rules.txt



depend::
	$(DEPEND) $(DEPENDFLAGS) -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)

clean::
	$(RM) $(PROGRAMS)

clean::
	$(RM) *.o core errs *~
# DO NOT DELETE
controller.o: controller.c controller.h tiles.h tiles-enums.h player.h \
  player-enums.h protocol.h cmsg_union.h pmsg_union.h protocol-enums.h \
  game.h game-enums.h scoring.h sysdep.h version.h
player.o: player.c player.h tiles.h tiles-enums.h player-enums.h sysdep.h \
  player-enums.c
tiles.o: tiles.c tiles.h tiles-enums.h protocol.h player.h player-enums.h \
  cmsg_union.h pmsg_union.h protocol-enums.h sysdep.h tiles-enums.c
protocol.o: protocol.c protocol.h tiles.h tiles-enums.h player.h \
  player-enums.h cmsg_union.h pmsg_union.h protocol-enums.h sysdep.h \
  enc_cmsg.c dec_cmsg.c enc_pmsg.c dec_pmsg.c cmsg_size.c pmsg_size.c \
  protocol-enums.c
game.o: game.c game.h tiles.h tiles-enums.h player.h player-enums.h \
  protocol.h cmsg_union.h pmsg_union.h protocol-enums.h game-enums.h \
  sysdep.h game-enums.c
scoring.o: scoring.c tiles.h tiles-enums.h player.h player-enums.h \
  controller.h protocol.h cmsg_union.h pmsg_union.h protocol-enums.h \
  game.h game-enums.h scoring.h sysdep.h
sysdep.o: sysdep.c sysdep.h
greedy.o: greedy.c client.h game.h tiles.h tiles-enums.h player.h \
  player-enums.h protocol.h cmsg_union.h pmsg_union.h protocol-enums.h \
  game-enums.h sysdep.h version.h
client.o: client.c sysdep.h client.h game.h tiles.h tiles-enums.h \
  player.h player-enums.h protocol.h cmsg_union.h pmsg_union.h \
  protocol-enums.h game-enums.h
player.o: player.c player.h tiles.h tiles-enums.h player-enums.h sysdep.h \
  player-enums.c
tiles.o: tiles.c tiles.h tiles-enums.h protocol.h player.h player-enums.h \
  cmsg_union.h pmsg_union.h protocol-enums.h sysdep.h tiles-enums.c
protocol.o: protocol.c protocol.h tiles.h tiles-enums.h player.h \
  player-enums.h cmsg_union.h pmsg_union.h protocol-enums.h sysdep.h \
  enc_cmsg.c dec_cmsg.c enc_pmsg.c dec_pmsg.c cmsg_size.c pmsg_size.c \
  protocol-enums.c
game.o: game.c game.h tiles.h tiles-enums.h player.h player-enums.h \
  protocol.h cmsg_union.h pmsg_union.h protocol-enums.h game-enums.h \
  sysdep.h game-enums.c
sysdep.o: sysdep.c sysdep.h
gui.o: gui.c gui.h /usr/include/gtk-1.2/gtk/gtk.h \
  /usr/include/gtk-1.2/gdk/gdk.h /usr/include/gtk-1.2/gdk/gdktypes.h \
  /usr/include/glib-1.2/glib.h /usr/lib/glib/include/glibconfig.h \
  /usr/include/gtk-1.2/gdk/gdkcursors.h /usr/include/gtk-1.2/gdk/gdkrgb.h \
  /usr/include/gtk-1.2/gtk/gtkaccelgroup.h \
  /usr/include/gtk-1.2/gtk/gtkobject.h /usr/include/gtk-1.2/gtk/gtkarg.h \
  /usr/include/gtk-1.2/gtk/gtktypeutils.h \
  /usr/include/gtk-1.2/gtk/gtktypebuiltins.h \
  /usr/include/gtk-1.2/gtk/gtkenums.h /usr/include/gtk-1.2/gtk/gtkdebug.h \
  /usr/include/gtk-1.2/gtk/gtkaccellabel.h \
  /usr/include/gtk-1.2/gtk/gtklabel.h /usr/include/gtk-1.2/gtk/gtkmisc.h \
  /usr/include/gtk-1.2/gtk/gtkwidget.h \
  /usr/include/gtk-1.2/gtk/gtkadjustment.h \
  /usr/include/gtk-1.2/gtk/gtkdata.h /usr/include/gtk-1.2/gtk/gtkstyle.h \
  /usr/include/gtk-1.2/gtk/gtkalignment.h \
  /usr/include/gtk-1.2/gtk/gtkbin.h \
  /usr/include/gtk-1.2/gtk/gtkcontainer.h \
  /usr/include/gtk-1.2/gtk/gtkaspectframe.h \
  /usr/include/gtk-1.2/gtk/gtkframe.h /usr/include/gtk-1.2/gtk/gtkarrow.h \
  /usr/include/gtk-1.2/gtk/gtkbindings.h \
  /usr/include/gtk-1.2/gtk/gtkbox.h /usr/include/gtk-1.2/gtk/gtkbbox.h \
  /usr/include/gtk-1.2/gtk/gtkbutton.h \
  /usr/include/gtk-1.2/gtk/gtkcalendar.h \
  /usr/include/gtk-1.2/gtk/gtksignal.h \
  /usr/include/gtk-1.2/gtk/gtkmarshal.h \
  /usr/include/gtk-1.2/gtk/gtkcheckbutton.h \
  /usr/include/gtk-1.2/gtk/gtktogglebutton.h \
  /usr/include/gtk-1.2/gtk/gtkcheckmenuitem.h \
  /usr/include/gtk-1.2/gtk/gtkmenuitem.h \
  /usr/include/gtk-1.2/gtk/gtkitem.h /usr/include/gtk-1.2/gtk/gtkclist.h \
  /usr/include/gtk-1.2/gtk/gtkhscrollbar.h \
  /usr/include/gtk-1.2/gtk/gtkscrollbar.h \
  /usr/include/gtk-1.2/gtk/gtkrange.h \
  /usr/include/gtk-1.2/gtk/gtkvscrollbar.h \
  /usr/include/gtk-1.2/gtk/gtkcolorsel.h \
  /usr/include/gtk-1.2/gtk/gtkwindow.h /usr/include/gtk-1.2/gtk/gtkvbox.h \
  /usr/include/gtk-1.2/gtk/gtkpreview.h \
  /usr/include/gtk-1.2/gtk/gtkentry.h \
  /usr/include/gtk-1.2/gtk/gtkeditable.h \
  /usr/include/gtk-1.2/gtk/gtkhbox.h /usr/include/gtk-1.2/gtk/gtkmain.h \
  /usr/include/gtk-1.2/gtk/gtkscale.h \
  /usr/include/gtk-1.2/gtk/gtkhscale.h \
  /usr/include/gtk-1.2/gtk/gtktable.h \
  /usr/include/gtk-1.2/gtk/gtkeventbox.h \
  /usr/include/gtk-1.2/gtk/gtkcombo.h \
  /usr/include/gtk-1.2/gtk/gtkcompat.h \
  /usr/include/gtk-1.2/gtk/gtkctree.h /usr/include/gtk-1.2/gtk/gtkcurve.h \
  /usr/include/gtk-1.2/gtk/gtkdrawingarea.h \
  /usr/include/gtk-1.2/gtk/gtkdialog.h /usr/include/gtk-1.2/gtk/gtkdnd.h \
  /usr/include/gtk-1.2/gtk/gtkselection.h \
  /usr/include/gtk-1.2/gtk/gtkfeatures.h \
  /usr/include/gtk-1.2/gtk/gtkfilesel.h \
  /usr/include/gtk-1.2/gtk/gtkfixed.h \
  /usr/include/gtk-1.2/gtk/gtkfontsel.h \
  /usr/include/gtk-1.2/gtk/gtknotebook.h \
  /usr/include/gtk-1.2/gtk/gtkgamma.h /usr/include/gtk-1.2/gtk/gtkgc.h \
  /usr/include/gtk-1.2/gtk/gtkhandlebox.h \
  /usr/include/gtk-1.2/gtk/gtkhbbox.h \
  /usr/include/gtk-1.2/gtk/gtkhpaned.h \
  /usr/include/gtk-1.2/gtk/gtkpaned.h \
  /usr/include/gtk-1.2/gtk/gtkhruler.h \
  /usr/include/gtk-1.2/gtk/gtkruler.h \
  /usr/include/gtk-1.2/gtk/gtkhseparator.h \
  /usr/include/gtk-1.2/gtk/gtkseparator.h \
  /usr/include/gtk-1.2/gtk/gtkimage.h \
  /usr/include/gtk-1.2/gtk/gtkinputdialog.h \
  /usr/include/gtk-1.2/gtk/gtkitemfactory.h \
  /usr/include/gtk-1.2/gtk/gtkmenufactory.h \
  /usr/include/gtk-1.2/gtk/gtklayout.h /usr/include/gtk-1.2/gtk/gtklist.h \
  /usr/include/gtk-1.2/gtk/gtklistitem.h \
  /usr/include/gtk-1.2/gtk/gtkmenu.h \
  /usr/include/gtk-1.2/gtk/gtkmenushell.h \
  /usr/include/gtk-1.2/gtk/gtkmenubar.h \
  /usr/include/gtk-1.2/gtk/gtkoptionmenu.h \
  /usr/include/gtk-1.2/gtk/gtkpacker.h \
  /usr/include/gtk-1.2/gtk/gtkpixmap.h /usr/include/gtk-1.2/gtk/gtkplug.h \
  /usr/include/gtk-1.2/gtk/gtkprogress.h \
  /usr/include/gtk-1.2/gtk/gtkprogressbar.h \
  /usr/include/gtk-1.2/gtk/gtkradiobutton.h \
  /usr/include/gtk-1.2/gtk/gtkradiomenuitem.h \
  /usr/include/gtk-1.2/gtk/gtkrc.h \
  /usr/include/gtk-1.2/gtk/gtkscrolledwindow.h \
  /usr/include/gtk-1.2/gtk/gtkviewport.h \
  /usr/include/gtk-1.2/gtk/gtksocket.h \
  /usr/include/gtk-1.2/gtk/gtkspinbutton.h \
  /usr/include/gtk-1.2/gtk/gtkstatusbar.h \
  /usr/include/gtk-1.2/gtk/gtktearoffmenuitem.h \
  /usr/include/gtk-1.2/gtk/gtktext.h /usr/include/gtk-1.2/gtk/gtkthemes.h \
  /usr/include/gtk-1.2/gtk/gtktipsquery.h \
  /usr/include/gtk-1.2/gtk/gtktoolbar.h \
  /usr/include/gtk-1.2/gtk/gtktooltips.h \
  /usr/include/gtk-1.2/gtk/gtktree.h \
  /usr/include/gtk-1.2/gtk/gtktreeitem.h \
  /usr/include/gtk-1.2/gtk/gtkvbbox.h \
  /usr/include/gtk-1.2/gtk/gtkvpaned.h \
  /usr/include/gtk-1.2/gtk/gtkvruler.h \
  /usr/include/gtk-1.2/gtk/gtkvscale.h \
  /usr/include/gtk-1.2/gtk/gtkvseparator.h \
  /usr/include/gtk-1.2/gdk/gdkkeysyms.h lazyfixed.h sysdep.h vlazyfixed.h \
  client.h game.h tiles.h tiles-enums.h player.h player-enums.h \
  protocol.h cmsg_union.h pmsg_union.h protocol-enums.h game-enums.h \
  version.h /usr/include/gtk-1.2/gdk/gdkx.h \
  /usr/include/gtk-1.2/gdk/gdkprivate.h
gui-dial.o: gui-dial.c gui.h /usr/include/gtk-1.2/gtk/gtk.h \
  /usr/include/gtk-1.2/gdk/gdk.h /usr/include/gtk-1.2/gdk/gdktypes.h \
  /usr/include/glib-1.2/glib.h /usr/lib/glib/include/glibconfig.h \
  /usr/include/gtk-1.2/gdk/gdkcursors.h /usr/include/gtk-1.2/gdk/gdkrgb.h \
  /usr/include/gtk-1.2/gtk/gtkaccelgroup.h \
  /usr/include/gtk-1.2/gtk/gtkobject.h /usr/include/gtk-1.2/gtk/gtkarg.h \
  /usr/include/gtk-1.2/gtk/gtktypeutils.h \
  /usr/include/gtk-1.2/gtk/gtktypebuiltins.h \
  /usr/include/gtk-1.2/gtk/gtkenums.h /usr/include/gtk-1.2/gtk/gtkdebug.h \
  /usr/include/gtk-1.2/gtk/gtkaccellabel.h \
  /usr/include/gtk-1.2/gtk/gtklabel.h /usr/include/gtk-1.2/gtk/gtkmisc.h \
  /usr/include/gtk-1.2/gtk/gtkwidget.h \
  /usr/include/gtk-1.2/gtk/gtkadjustment.h \
  /usr/include/gtk-1.2/gtk/gtkdata.h /usr/include/gtk-1.2/gtk/gtkstyle.h \
  /usr/include/gtk-1.2/gtk/gtkalignment.h \
  /usr/include/gtk-1.2/gtk/gtkbin.h \
  /usr/include/gtk-1.2/gtk/gtkcontainer.h \
  /usr/include/gtk-1.2/gtk/gtkaspectframe.h \
  /usr/include/gtk-1.2/gtk/gtkframe.h /usr/include/gtk-1.2/gtk/gtkarrow.h \
  /usr/include/gtk-1.2/gtk/gtkbindings.h \
  /usr/include/gtk-1.2/gtk/gtkbox.h /usr/include/gtk-1.2/gtk/gtkbbox.h \
  /usr/include/gtk-1.2/gtk/gtkbutton.h \
  /usr/include/gtk-1.2/gtk/gtkcalendar.h \
  /usr/include/gtk-1.2/gtk/gtksignal.h \
  /usr/include/gtk-1.2/gtk/gtkmarshal.h \
  /usr/include/gtk-1.2/gtk/gtkcheckbutton.h \
  /usr/include/gtk-1.2/gtk/gtktogglebutton.h \
  /usr/include/gtk-1.2/gtk/gtkcheckmenuitem.h \
  /usr/include/gtk-1.2/gtk/gtkmenuitem.h \
  /usr/include/gtk-1.2/gtk/gtkitem.h /usr/include/gtk-1.2/gtk/gtkclist.h \
  /usr/include/gtk-1.2/gtk/gtkhscrollbar.h \
  /usr/include/gtk-1.2/gtk/gtkscrollbar.h \
  /usr/include/gtk-1.2/gtk/gtkrange.h \
  /usr/include/gtk-1.2/gtk/gtkvscrollbar.h \
  /usr/include/gtk-1.2/gtk/gtkcolorsel.h \
  /usr/include/gtk-1.2/gtk/gtkwindow.h /usr/include/gtk-1.2/gtk/gtkvbox.h \
  /usr/include/gtk-1.2/gtk/gtkpreview.h \
  /usr/include/gtk-1.2/gtk/gtkentry.h \
  /usr/include/gtk-1.2/gtk/gtkeditable.h \
  /usr/include/gtk-1.2/gtk/gtkhbox.h /usr/include/gtk-1.2/gtk/gtkmain.h \
  /usr/include/gtk-1.2/gtk/gtkscale.h \
  /usr/include/gtk-1.2/gtk/gtkhscale.h \
  /usr/include/gtk-1.2/gtk/gtktable.h \
  /usr/include/gtk-1.2/gtk/gtkeventbox.h \
  /usr/include/gtk-1.2/gtk/gtkcombo.h \
  /usr/include/gtk-1.2/gtk/gtkcompat.h \
  /usr/include/gtk-1.2/gtk/gtkctree.h /usr/include/gtk-1.2/gtk/gtkcurve.h \
  /usr/include/gtk-1.2/gtk/gtkdrawingarea.h \
  /usr/include/gtk-1.2/gtk/gtkdialog.h /usr/include/gtk-1.2/gtk/gtkdnd.h \
  /usr/include/gtk-1.2/gtk/gtkselection.h \
  /usr/include/gtk-1.2/gtk/gtkfeatures.h \
  /usr/include/gtk-1.2/gtk/gtkfilesel.h \
  /usr/include/gtk-1.2/gtk/gtkfixed.h \
  /usr/include/gtk-1.2/gtk/gtkfontsel.h \
  /usr/include/gtk-1.2/gtk/gtknotebook.h \
  /usr/include/gtk-1.2/gtk/gtkgamma.h /usr/include/gtk-1.2/gtk/gtkgc.h \
  /usr/include/gtk-1.2/gtk/gtkhandlebox.h \
  /usr/include/gtk-1.2/gtk/gtkhbbox.h \
  /usr/include/gtk-1.2/gtk/gtkhpaned.h \
  /usr/include/gtk-1.2/gtk/gtkpaned.h \
  /usr/include/gtk-1.2/gtk/gtkhruler.h \
  /usr/include/gtk-1.2/gtk/gtkruler.h \
  /usr/include/gtk-1.2/gtk/gtkhseparator.h \
  /usr/include/gtk-1.2/gtk/gtkseparator.h \
  /usr/include/gtk-1.2/gtk/gtkimage.h \
  /usr/include/gtk-1.2/gtk/gtkinputdialog.h \
  /usr/include/gtk-1.2/gtk/gtkitemfactory.h \
  /usr/include/gtk-1.2/gtk/gtkmenufactory.h \
  /usr/include/gtk-1.2/gtk/gtklayout.h /usr/include/gtk-1.2/gtk/gtklist.h \
  /usr/include/gtk-1.2/gtk/gtklistitem.h \
  /usr/include/gtk-1.2/gtk/gtkmenu.h \
  /usr/include/gtk-1.2/gtk/gtkmenushell.h \
  /usr/include/gtk-1.2/gtk/gtkmenubar.h \
  /usr/include/gtk-1.2/gtk/gtkoptionmenu.h \
  /usr/include/gtk-1.2/gtk/gtkpacker.h \
  /usr/include/gtk-1.2/gtk/gtkpixmap.h /usr/include/gtk-1.2/gtk/gtkplug.h \
  /usr/include/gtk-1.2/gtk/gtkprogress.h \
  /usr/include/gtk-1.2/gtk/gtkprogressbar.h \
  /usr/include/gtk-1.2/gtk/gtkradiobutton.h \
  /usr/include/gtk-1.2/gtk/gtkradiomenuitem.h \
  /usr/include/gtk-1.2/gtk/gtkrc.h \
  /usr/include/gtk-1.2/gtk/gtkscrolledwindow.h \
  /usr/include/gtk-1.2/gtk/gtkviewport.h \
  /usr/include/gtk-1.2/gtk/gtksocket.h \
  /usr/include/gtk-1.2/gtk/gtkspinbutton.h \
  /usr/include/gtk-1.2/gtk/gtkstatusbar.h \
  /usr/include/gtk-1.2/gtk/gtktearoffmenuitem.h \
  /usr/include/gtk-1.2/gtk/gtktext.h /usr/include/gtk-1.2/gtk/gtkthemes.h \
  /usr/include/gtk-1.2/gtk/gtktipsquery.h \
  /usr/include/gtk-1.2/gtk/gtktoolbar.h \
  /usr/include/gtk-1.2/gtk/gtktooltips.h \
  /usr/include/gtk-1.2/gtk/gtktree.h \
  /usr/include/gtk-1.2/gtk/gtktreeitem.h \
  /usr/include/gtk-1.2/gtk/gtkvbbox.h \
  /usr/include/gtk-1.2/gtk/gtkvpaned.h \
  /usr/include/gtk-1.2/gtk/gtkvruler.h \
  /usr/include/gtk-1.2/gtk/gtkvscale.h \
  /usr/include/gtk-1.2/gtk/gtkvseparator.h \
  /usr/include/gtk-1.2/gdk/gdkkeysyms.h lazyfixed.h sysdep.h vlazyfixed.h \
  client.h game.h tiles.h tiles-enums.h player.h player-enums.h \
  protocol.h cmsg_union.h pmsg_union.h protocol-enums.h game-enums.h \
  version.h
lazyfixed.o: lazyfixed.c lazyfixed.h /usr/include/gtk-1.2/gtk/gtkfixed.h \
  /usr/include/gtk-1.2/gdk/gdk.h /usr/include/gtk-1.2/gdk/gdktypes.h \
  /usr/include/glib-1.2/glib.h /usr/lib/glib/include/glibconfig.h \
  /usr/include/gtk-1.2/gdk/gdkcursors.h /usr/include/gtk-1.2/gdk/gdkrgb.h \
  /usr/include/gtk-1.2/gtk/gtkcontainer.h \
  /usr/include/gtk-1.2/gtk/gtkenums.h \
  /usr/include/gtk-1.2/gtk/gtkwidget.h \
  /usr/include/gtk-1.2/gtk/gtkaccelgroup.h \
  /usr/include/gtk-1.2/gtk/gtkobject.h /usr/include/gtk-1.2/gtk/gtkarg.h \
  /usr/include/gtk-1.2/gtk/gtktypeutils.h \
  /usr/include/gtk-1.2/gtk/gtktypebuiltins.h \
  /usr/include/gtk-1.2/gtk/gtkdebug.h \
  /usr/include/gtk-1.2/gtk/gtkadjustment.h \
  /usr/include/gtk-1.2/gtk/gtkdata.h /usr/include/gtk-1.2/gtk/gtkstyle.h \
  sysdep.h
vlazyfixed.o: vlazyfixed.c vlazyfixed.h \
  /usr/include/gtk-1.2/gtk/gtkfixed.h /usr/include/gtk-1.2/gdk/gdk.h \
  /usr/include/gtk-1.2/gdk/gdktypes.h /usr/include/glib-1.2/glib.h \
  /usr/lib/glib/include/glibconfig.h \
  /usr/include/gtk-1.2/gdk/gdkcursors.h /usr/include/gtk-1.2/gdk/gdkrgb.h \
  /usr/include/gtk-1.2/gtk/gtkcontainer.h \
  /usr/include/gtk-1.2/gtk/gtkenums.h \
  /usr/include/gtk-1.2/gtk/gtkwidget.h \
  /usr/include/gtk-1.2/gtk/gtkaccelgroup.h \
  /usr/include/gtk-1.2/gtk/gtkobject.h /usr/include/gtk-1.2/gtk/gtkarg.h \
  /usr/include/gtk-1.2/gtk/gtktypeutils.h \
  /usr/include/gtk-1.2/gtk/gtktypebuiltins.h \
  /usr/include/gtk-1.2/gtk/gtkdebug.h \
  /usr/include/gtk-1.2/gtk/gtkadjustment.h \
  /usr/include/gtk-1.2/gtk/gtkdata.h /usr/include/gtk-1.2/gtk/gtkstyle.h \
  sysdep.h
client.o: client.c sysdep.h client.h game.h tiles.h tiles-enums.h \
  player.h player-enums.h protocol.h cmsg_union.h pmsg_union.h \
  protocol-enums.h game-enums.h
player.o: player.c player.h tiles.h tiles-enums.h player-enums.h sysdep.h \
  player-enums.c
tiles.o: tiles.c tiles.h tiles-enums.h protocol.h player.h player-enums.h \
  cmsg_union.h pmsg_union.h protocol-enums.h sysdep.h tiles-enums.c
fbtiles.o: fbtiles.c
protocol.o: protocol.c protocol.h tiles.h tiles-enums.h player.h \
  player-enums.h cmsg_union.h pmsg_union.h protocol-enums.h sysdep.h \
  enc_cmsg.c dec_cmsg.c enc_pmsg.c dec_pmsg.c cmsg_size.c pmsg_size.c \
  protocol-enums.c
game.o: game.c game.h tiles.h tiles-enums.h player.h player-enums.h \
  protocol.h cmsg_union.h pmsg_union.h protocol-enums.h game-enums.h \
  sysdep.h game-enums.c
sysdep.o: sysdep.c sysdep.h