head	1.5;
access;
symbols
	RELENG_2_1_6_1_RELEASE:1.3.4.2
	RELENG_2_1_6_RELEASE:1.3.4.2
	RELENG_2_1_5_RELEASE:1.3.4.2
	RELENG_2_1_0_RELEASE:1.3.4.1
	RELENG_2_1_0:1.3.0.4
	RELENG_2_1_0_BP:1.3
	RELENG_2_0_5_RELEASE:1.3
	RELENG_2_0_5:1.3.0.2
	RELENG_2_0_5_BP:1.3
	RELENG_2_0_5_ALPHA:1.2
	RELEASE_2_0:1.2
	BETA_2_0:1.2
	ALPHA_2_0:1.2.0.4
	MOVED_NEWCVS:1.2
	FINAL_1_1_5:1.2
	ALPHA_1_1_5:1.2
	FINAL_1_1:1.2
	GAMMA_1_1:1.2
	BETA_1_1:1.2.0.2
	BP_BETA_1_1:1.2
	FINAL_1_0:1.1.1.1
	EPSILON_1_0:1.1.1.1
	GAMMA_1_0:1.1.1.1;
locks; strict;
comment	@# @;


1.5
date	95.12.30.18.35.24;	author peter;	state dead;
branches;
next	1.4;

1.4
date	95.07.08.21.39.56;	author ats;	state Exp;
branches;
next	1.3;

1.3
date	95.05.30.04.41.16;	author rgrimes;	state Exp;
branches
	1.3.4.1;
next	1.2;

1.2
date	94.01.07.11.10.39;	author davidg;	state Exp;
branches;
next	1.1;

1.1
date	93.06.12.14.41.04;	author rgrimes;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	93.06.12.14.41.05;	author rgrimes;	state Exp;
branches;
next	;

1.3.4.1
date	95.08.30.06.42.39;	author davidg;	state Exp;
branches;
next	1.3.4.2;

1.3.4.2
date	96.05.29.22.28.56;	author jkh;	state dead;
branches;
next	;


desc
@@


1.5
log
@recording cvs-1.6 file death
@
text
@# RCS Info: $Revision: 1.4 $ on $Date: 1995/07/08 21:39:56 $
#           $Source: /f/ncvs/src/gnu/games/chess/Xchess/Attic/Makefile,v $
# Copyright (c) 1985 Wayne A. Christopher, U. C. Berkeley CAD Group
#
# Makefile for xchess.

#CC = cc -O -m68010 -L/pub.MC68010/lib -L/usr.MC68010/lib
CC = cc -O

CFILES	=\
	board.c\
	button.c\
	clock.c\
	control.c\
	jail.c\
	message.c\
	parse.c\
	popup.c\
	program.c\
	record.c\
	std.c\
	valid.c\
	window.c\
	XCircle.c

COBJS	=\
	board.o\
	button.o\
	clock.o\
	control.o\
	jail.o\
	message.o\
	parse.o\
	popup.o\
	program.o\
	record.o\
	std.o\
	valid.o\
	window.o\
	XCircle.o

HFILES	=\
	std.h\
	xchess.h

SOURCE = $(CFILES)

ALLFILES = $(SOURCE) $(HFILES)

INCLUDE = -I. -I${X11BASE}/include

DEFINES = -DDEF_PROGRAM=\"/usr/games/chess\"

CFLAGS = $(DEFINES) $(INCLUDE)
LINTFLAGS = -u -z -lc -DLINT $(DEFINES) $(INCLUDE)
LINTLIB = ../lib/llib-lX.ln
#LDFLAGS = -L/usr2/X/lib -z -lX -lm
LDFLAGS = -L${X11BASE}/lib -loldX -lX11 -z -lm
GPLDFLAGS = -z -loldX -lX11 -lXMenu_p -lX -lm_p -g -pg

.c.o: $*.c
	$(CC) $(CFLAGS) -c $*.c
.s.o: $*.s
	$(CC) $(CFLAGS) -c $*.s

all: xchess scrollText.o
	@@echo "All done."

everything: all tags depend lint wc
	@@echo "All done."

xchess:	xchess.o $(COBJS) scrollText.o
	$(CC) -o xchess xchess.o $(COBJS) scrollText.o \
	$(LDFLAGS)

scrollText.o: scrollText.h scrollText.c

gpxchess: xchess.o $(COBJS)
	$(CC) -o gpxchess xchess.o $(COBJS) scrollText/libScroll.a \
	$(GPLDFLAGS)

lint:	$(SOURCE)
	lint $(LINTFLAGS) $(SOURCE) $(LINTLIB) | \
	grep -v "multiply declared"

qgrind: $(ALLFILES)
	qgrind -lc $(ALLFILES)

vgrind:	$(ALLFILES)
	vgrind -lc $(ALLFILES)

opt: all

reopt: all

install: all

source:	$(SOURCE)

tags: $(ALLFILES)
	ctags -w -t *.c *.h > /dev/null 2>&1

wc: $(ALLFILES)
	@@wc $(ALLFILES)

print: $(ALLFILES)
	@@pr $(ALLFILES)

clean:
	rm -f *.o *.a *.out xchess tags foo tmp

tar:
	tar -cf xchess.tar Makefile *.h *.c *.bitmap *.icon *.cur *.1\
	scrollText/Makefile scrollText/*.h scrollText/*.c scrollText/*.1\
	scrollText/*.3

$(ALLFILES):
	co $@@

depend: $(SOURCE)
	cc -M $(CFLAGS) $(CFILES) > makedep
	echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep
	echo '$$r makedep' >>eddep
	echo 'w' >>eddep
	ed - Makefile < eddep
	rm eddep makedep
	echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile
	echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile
	echo '# see make depend above' >> Makefile

#-----------------------------------------------------------------
# DO NOT DELETE THIS LINE -- make depend uses it
# DEPENDENCIES MUST END AT END OF FILE

xchess.o $(COBJS): $(HFILES)

@


1.4
log
@Makefile:
Fix the use of /usr/X386 to ${X11BASE}. Fix the pathname /usr/bin/chess
to /usr/games/chess.
XCircle.c:
Fix the comment after an ifdef to make it a real comment to silent gcc.
std.h:
Comment out a private definition of sys_errlist.
@
text
@d1 2
a2 2
# RCS Info: $Revision: 1.3 $ on $Date: 1995/05/30 04:41:16 $
#           $Source: /home/ncvs/src/gnu/games/chess/Xchess/Makefile,v $
@


1.3
log
@Remove trailing whitespace.
@
text
@d1 1
a1 1
# RCS Info: $Revision: 1.2 $ on $Date: 1994/01/07 11:10:39 $
d50 1
a50 1
INCLUDE = -I. -I/usr/X386/include
d52 1
a52 1
DEFINES = -DDEF_PROGRAM=\"/usr/bin/chess\"
d58 1
a58 1
LDFLAGS = -L/usr/X386/lib -loldX -lX11 -z -lm
@


1.3.4.1
log
@Brought in changes from main branch: fix path to X11, misc compiler
warnings.
@
text
@d1 1
a1 1
# RCS Info: $Revision: 1.3 $ on $Date: 1995/05/30 04:41:16 $
d50 1
a50 1
INCLUDE = -I. -I${X11BASE}/include
d52 1
a52 1
DEFINES = -DDEF_PROGRAM=\"/usr/games/chess\"
d58 1
a58 1
LDFLAGS = -L${X11BASE}/lib -loldX -lX11 -z -lm
@


1.3.4.2
log
@Merge from HEAD, except:

	Clients that used gnumalloc still do, despite the merge.  We're not
	bringing phkmalloc over.

	Thread stuff left out.

	PCCARD support left out.
@
text
@d1 2
a2 2
# RCS Info: $Revision: 1.3.4.1 $ on $Date: 1995/08/30 06:42:39 $
#           $Source: /home/ncvs/src/gnu/games/chess/Xchess/Attic/Makefile,v $
@


1.2
log
@From: swildner@@channelz.GUN.de (Sascha Wildner)

What follows are the changes I made to make XChess compile.  There are
still a couple of bugs left which maybe someone else will fix.
@
text
@d1 2
a2 2
# RCS Info: $Revision: 1.1.1.1 $ on $Date: 1993/06/12 14:41:05 $
#           $Source: /a/cvs/386BSD/src/gnu/chess/Xchess/Makefile,v $
d98 1
a98 1
source:	$(SOURCE) 
d126 1
a126 1
	rm eddep makedep 
@


1.1
log
@Initial revision
@
text
@d1 2
a2 2
# RCS Info: $Revision: 1.5 $ on $Date: 86/11/26 12:09:19 $
#           $Source: /users/faustus/xchess/RCS/Makefile,v $
d50 1
a50 1
INCLUDE = -I.
d52 1
a52 1
DEFINES = -DDEF_PROGRAM=\"gnuchess\"
d58 1
a58 1
LDFLAGS = -loldX -lX11 -z -lX -lm
@


1.1.1.1
log
@Initial import, 0.1 + pk 0.2.4-B1
@
text
@@
