head	1.5;
access;
symbols
	rel-4-5:1.4
	ctj-4-5-post:1.4
	ctj-4-5-pre:1.4;
locks; strict;
comment	@# @;


1.5
date	99.01.21.03.12.21;	author mike;	state dead;
branches;
next	1.4;

1.4
date	97.06.11.01.30.05;	author gdurf;	state Exp;
branches;
next	1.3;

1.3
date	96.12.31.17.59.58;	author jra;	state Exp;
branches;
next	1.2;

1.2
date	96.11.19.22.30.27;	author jra;	state Exp;
branches;
next	1.1;

1.1
date	95.06.09.19.40.17;	author gdurf;	state Exp;
branches;
next	;


desc
@Cakefile for tclsh and wish, for Tcl and Tk versions 7.4 and 4.0, respectively.
@


1.5
log
@Use the one in tk/
@
text
@/*
 *			tcl/Cakefile
 */

#define SRCDIR	tcl
#define PRODUCTS	tclsh tcltest
#define	SRCSUFF	.c
#define MANSECTION	1

#include "../Cakefile.defs"

/* Eliminate the normal BRL-CAD defines */
#undef CFLAGS
/* Keep the -64 flag, etc */
#define CFLAGS TCL_DEFS  GFLAG -I''INCDIR


/* Explicit composition of each product */

everything&::	PRODUCTS

tclsh:  tclAppInit.o LIBTCL_DEP
	CC LDFLAGS -o tclsh tclAppInit.o LIBTCL LIBTCL_LIBES LIBES

tcltest: tclTest.o LIBTCL_DEP
	CC LDFLAGS -o tcltest tclTest.o LIBTCL LIBTCL_LIBES LIBES

tclAppInit.o: ../SRCDIR/tclAppInit.c
	CC CFLAGS -c ../SRCDIR/tclAppInit.c

tclTest.o: ../SRCDIR/tclTest.c
	CC CFLAGS -c ../SRCDIR/tclTest.c

#include "../Cakefile.rules"
@


1.4
log
@Added LIBTCL_LIBES after LIBTCL
@
text
@@


1.3
log
@rewritten for latest tcl/tk release.
@
text
@d23 1
a23 1
	CC LDFLAGS -o tclsh tclAppInit.o LIBTCL LIBES
d26 1
a26 1
	CC LDFLAGS -o tcltest tclTest.o LIBTCL LIBES
@


1.2
log
@Glenn's latest revisions.
@
text
@d6 1
a6 1
#define PRODUCTS	tclsh wish bwish tcltest tktest
d10 6
a15 1
#define CONFIGDEFS -I''XINCDIR -I../libtcl -I../libtk
a16 1
#include "../Cakefile.defs"
a24 6
wish: tkAppInit.o LIBTCL_DEP LIBTK_DEP
	CC LDFLAGS -o wish tkAppInit.o LIBTK LIBTCL -L''XLIBDIR -lX11 LIBES

bwish: bwish.o LIBTCLCAD_DEP LIBTCL_DEP LIBTK_DEP
	CC LDFLAGS -o bwish bwish.o LIBTCLCAD LIBTK LIBTCL LIBRT -L''XLIBDIR -lX11 LIBES

a27 3
tktest: tkTest.o tkSquare.o LIBTCL_DEP LIBTK_DEP
	CC LDFLAGS -o tktest tkTest.o tkSquare.o LIBTK LIBTCL -L''XLIBDIR -lX11 LIBES

a30 6
tkAppInit.o: ../SRCDIR/tkAppInit.c
	CC CFLAGS -c ../SRCDIR/tkAppInit.c

bwish.o: ../SRCDIR/bwish.c
	CC CFLAGS -c ../SRCDIR/bwish.c

a32 6

tkTest.o: ../SRCDIR/tkTest.c
	CC CFLAGS -c ../SRCDIR/tkTest.c

tkSquare.o: ../SRCDIR/tkSquare.c
	CC CFLAGS -c ../SRCDIR/tkSquare.c
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
#define PRODUCTS	tclsh wish
d10 1
a10 1
#define CONFIGDEFS -I''XINCDIR
a12 1
#include "../Cakefile.prog"
d16 2
d24 2
a25 1
/* This one needs tclInt.h to compile.  Ugh.
d27 1
a27 1
tcltest:	tclTest.o LIBTCL_DEP
d30 20
a49 1
*/
@
