src:  \
	buttonAux.tcl \
	choicebox.tcl \
	collapsible.tcl \
	composite_widgets.tcl \
	composite.tcl \
	colors.tcl \
	lookandfeel.tcl \
	debug.tcl \
	error.tcl \
	errormessage.tcl \
	fileselect.tcl \
	focusAux.tcl \
	icon.tcl \
	init.tcl \
	modal.tcl \
	newwin.tcl \
	nop.tcl \
	progress.tcl \
	require.tcl \
	scrollable.tcl \
	textAux.tcl \
	traceAux.tcl \
	transient.tcl \
	setQ.tcl \
	sensitive.tcl

lookandfeel.tcl: composite.nw
	notangle -R$@ -awk composite.nw > $@.tmp
	addcopyright $@.tmp > $@
	@rm -f $@.tmp

colors.tcl: composite.nw
	notangle -R$@ -awk composite.nw > $@.tmp
	addcopyright $@.tmp > $@
	@rm -f $@.tmp

composite_widgets.tcl: composite.nw
	notangle -R$@ -awk composite.nw > $@.tmp
	addcopyright $@.tmp > $@
	@rm -f $@.tmp

%.tcl: %.nw
	notangle -R$@ -awk $< > $@.tmp
	addcopyright $@.tmp > $@
	@rm -f $@.tmp


clean:
	rm -f *.tcl tclIndex *.bak *.sml *.sig
