#==============================================================================
#                              tclsrc/Makefile
#------------------------------------------------------------------------------
# Makefile to build Tcl-SIPP Tcl library.
#------------------------------------------------------------------------------
# $Id: Makefile,v 3.0 1993/01/20 06:39:50 markd Rel $
#==============================================================================

include ../Config.mk
SHELL=/bin/sh

#-----------------------------------------------------------------------------

TCLSRCS=vw.tcl   vwbf.tcl vwbk.tcl vwbs.tcl vwfd.tcl vwff.tcl vwfs.tcl \
        vwhd.tcl vwpl.tcl vwrb.tcl vwrf.tcl util.tcl

#-----------------------------------------------------------------------------

all: tsipp.tlib tsipp.tndx

tsipp.tlib: $(TCLSRCS)
	 cat $(TCLSRCS) | egrep -v '^#$$|^#  *|^#-|^#=|^  *#' > $@

tsipp.tndx: tsipp.tlib
	../tsipp -c "buildpackageindex tsipp.tlib"

#-----------------------------------------------------------------------------

clean: 
	rm -f *.tlib *.tndx
