Wed Aug 5 13:19:56 CDT 1998
Eric Melski
The Makefile is set up to compile Burt as a loadable extension to Tcl/Tk. If you want to compile a standalone Burt shell (ie, burtsh), here's what you have to do:
LIBS = -R/s/tcl-8.0p2/lib -L/s/tcl-8.0p2/lib /s/tcl-8.0p2/lib/libtcl8.0.so -lm -
lsocket -lnsl -ldl
CC = gcc
CFLAGS = -fPIC -ansi -g -Wall -pedantic
OBJS = burtMain.o burtBackup.o burtStatus.o burtSchedule.o burtUtil.o \
burtChecksum.o burtMtIO.o burtReadtape.o burtRecover.o
burtsh: $(OBJS) burtsh.o
$(CC) -o burtsh $(CFLAGS) burtsh.o $(OBJS) $(LIBS)
This works on Solaris; it is untested on other platforms.
- eric
