head	1.8;
access;
symbols
	rel-5-1:1.7
	rel-5-0:1.7
	rel-5-0-beta:1.7
	rel-4-5:1.3
	ctj-4-5-post:1.2
	ctj-4-5-pre:1.2
	rel-5-1-patches:1.7.0.2;
locks; strict;
comment	@# @;


1.8
date	2000.08.16.17.10.11;	author bparker;	state dead;
branches;
next	1.7;

1.7
date	99.05.17.20.35.26;	author jra;	state Exp;
branches
	1.7.2.1;
next	1.6;

1.6
date	99.05.17.16.22.28;	author jra;	state Exp;
branches;
next	1.5;

1.5
date	99.01.21.03.09.01;	author mike;	state Exp;
branches;
next	1.4;

1.4
date	99.01.21.03.02.53;	author mike;	state Exp;
branches;
next	1.3;

1.3
date	97.06.30.13.39.21;	author gdurf;	state Exp;
branches;
next	1.2;

1.2
date	97.06.11.01.16.33;	author gdurf;	state Exp;
branches;
next	1.1;

1.1
date	97.01.08.14.27.12;	author jra;	state Exp;
branches;
next	;

1.7.2.1
date	2000.08.16.20.44.30;	author bparker;	state dead;
branches;
next	;


desc
@Cakefile for tk.
@


1.8
log
@bwish is being replaced by cwish
@
text
@/*
 *			tk/Cakefile
 */

#define SRCDIR	tk
#define PRODUCTS	bwish
#define	SRCSUFF	.c
#define MANSECTION	1

#include "../Cakefile.defs"

#undef unix

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

#define HEADER_FILES ../libtk/generic/tkInt.h ../libtk/generic/tkPort.h \
	../libtk/unix/tkUnixPort.h \
	../libtcl/compat/limits.h ../libtcl/compat/stdlib.h ../libtcl/compat/unistd.h

/* Explicit composition of each product */

everything&::	PRODUCTS

bwish: bwish.o LIBTCLCAD_DEP LIBTCL_DEP LIBTK_DEP LIBBN_DEP LIBBU_DEP
	CC LDFLAGS -o bwish bwish.o LIBTCLCAD LIBTK LIBTCL LIBTCL_LIBES LIBRT LIBBN LIBBU LIBBU_LIBES -L''XLIBDIR -lX11 LIBES

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

#include "../Cakefile.rules"
@


1.7
log
@Eliminated TK_DEFS
@
text
@@


1.7.2.1
log
@replaced by cwish
@
text
@@


1.6
log
@Removed wish (this is built in libtk) and tktest (just a duplicate of that in libtk, and won't compile
without the correct flags from the configure script).
@
text
@d17 1
a17 1
#define CFLAGS TK_DEFS  GFLAG -I''INCDIR -I''XINCDIR
@


1.5
log
@Now it works.
@
text
@d6 1
a6 1
#define PRODUCTS	wish bwish tktest
a26 3
wish: tkAppInit.o LIBTCL_DEP LIBTK_DEP
	CC LDFLAGS -o wish tkAppInit.o LIBTK LIBTCL LIBTCL_LIBES -L''XLIBDIR -lX11 LIBES

a29 6
tktest: tkTest.o tkSquare.o LIBTCL_DEP LIBTK_DEP LIBBU_DEP LIBBN_DEP LIBRT_DEP
	CC LDFLAGS -o tktest tkAppInit.o tkTest.o tkSquare.o LIBTK LIBTCL LIBTCL_LIBES LIBRT LIBBU LIBBU_LIBES LIBBN -L''XLIBDIR -lX11 LIBES

tkAppInit.o: ../SRCDIR/tkAppInit.c HEADER_FILES
	CC CFLAGS -c ../SRCDIR/tkAppInit.c

a31 6

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

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


1.4
log
@Fixed so it works
@
text
@d31 1
a31 1
	CC LDFLAGS -o bwish tkAppInit.o bwish.o LIBTCLCAD LIBTK LIBTCL LIBTCL_LIBES LIBRT LIBBN LIBBU LIBBU_LIBES -L''XLIBDIR -lX11 LIBES
@


1.3
log
@added LIBTCL_LIBES to Cakefile
@
text
@d12 2
d19 3
a21 2
#define HEADER_FILES ../libtk/tkInt.h ../libtk/tkPort.h ../libtk/tkUnixPort.h \
			../libtcl/limits.h ../libtcl/stdlib.h ../libtcl/unistd.h
d31 1
a31 1
	CC LDFLAGS -o bwish bwish.o LIBTCLCAD LIBTK LIBTCL LIBTCL_LIBES LIBRT LIBBN LIBBU LIBBU_LIBES -L''XLIBDIR -lX11 LIBES
d34 1
a34 1
	CC LDFLAGS -o tktest tkTest.o tkSquare.o LIBTK LIBTCL LIBTCL_LIBES LIBRT LIBBU LIBBU_LIBES LIBBN -L''XLIBDIR -lX11 LIBES
a46 3
/*
%.h:
        cp ../libtk/%.h %.h */
@


1.2
log
@Added LIBTCL_LIBES after LIBTCL
@
text
@d28 1
a28 1
	CC LDFLAGS -o bwish bwish.o LIBTCLCAD LIBTK LIBTCL LIBRT LIBBN LIBBU LIBBU_LIBES -L''XLIBDIR -lX11 LIBES
d31 1
a31 1
	CC LDFLAGS -o tktest tkTest.o tkSquare.o LIBTK LIBTCL LIBRT LIBBU LIBBU_LIBES LIBBN -L''XLIBDIR -lX11 LIBES
@


1.1
log
@Initial revision
@
text
@d25 1
a25 1
	CC LDFLAGS -o wish tkAppInit.o LIBTK LIBTCL -L''XLIBDIR -lX11 LIBES
@
