#
# Makefile for the mxedit editor
#
# Version numbers for various pieces.
# Obviously, changing the TCL and TK versions is non-trivial.
MX_VERSION	= 2.1
TK_VERS		= 3.2
TCL_VERS	= 6.7

# Site dependent pathnames.  These roots are used to build up
# more pathnames.  They are collected here, but you'll probably
# want to verify that the derived pathnames also make sense.

X_DIR		= /import/X11R4
TCL_ROOT	= /project/tcl
TK_ROOT		= $(TCL_ROOT)

# Note, it is expected that TCL_ROOT has the following subdirectories:
# bin, lib, lib/mxedit, man/manl

# You may also wish to add some of the following switches to the CFLAGS
# variable:
#
# -DNO_PROTOTYPE	Turns off ANSI-style procedure prototypes and the
#			corresponding compile-time checks.  Without this
#			defininition, prototypes will be turned on if the
#			compiler supports ANSI C by defining __STDC__.
#

#
# Define TCL_DEBUG and friends if you have Don Libes tcl-debug handy
# Comment these lines out if you do not.  You can ftp it from
# ftp.cme.nist.gov as pub/expect/tcl-debug.tar.Z
#
TCL_DEBUG_DIR = ../tcl-debug-1.0
TCL_DEBUG = -DTCL_DEBUG -I$(TCL_DEBUG_DIR)
TCL_DEBUG_LIB = $(TCL_DEBUG_DIR)/libtcldbg.a

# We are in version madness with our C libraries.
# Just comment out LIBC if this isn't a problem for you and the
# right one will be picked up by the linker.

LIBC_VERS	= 1.7
LIBC		= -lc.$(LIBC_VERS)
#LIBC		=

# X11 library and include files
X_LIB		= $(X_DIR)/usr/lib/libX11.a
X_INC		= $(X_DIR)/usr/include

# TCL_LIB_DIR - where the TCL .a or .so.M.N library files are found
TCL_LIB_DIR	= $(TCL_ROOT)/lib
# TK_LIB_DIR - where the TK .a or .so.M.N library files are found
TK_LIB_DIR	= $(TK_ROOT)/lib


# TCL_LIB - the TCL library file
# Choose the dynamic link or static link for the library
TCL_LIB		= $(TCL_LIB_DIR)/libtcl.so.$(TCL_VERS)
#TCL_LIB	= -L$(TCL_LIB_DIR) -ltcl.$(TCL_VERS)
#TCL_LIB	= $(TCL_LIB_DIR)/libtcl$(TCL_VERS).a
#TCL_LIB	= $(TCL_LIB_DIR)/libtcl.a
#TCL_LIB	= ../tcl$(TCL_VERS)/libtcl.a

# TCL_INC - the library where TCL include files live
TCL_INC		= $(TCL_ROOT)/src/tcl$(TCL_VERS)

# TK_LIB - the TCL library file
# Choose the dynamic link or static link for the library
TK_LIB		= $(TK_LIB_DIR)/libtk.so.$(TK_VERS)
#TK_LIB		= -ltk.$(TK_VERS)
#TK_LIB		= $(TK_LIB_DIR)/libtk$(TK_VERS).a
#TK_LIB		= $(TK_LIB_DIR)/libtk.a
#TK_LIB		= ../tk$(TK_VERS)/libtk.a

# TK_INC - the library where TK include files live
TK_INC		= $(TK_ROOT)/src/tk$(TK_VERS)

# MX_LIBRARY - where the installed TCL scripts for mxedit go
MX_LIBRARY	= $(TCL_LIB_DIR)/mxedit$(MX_VERSION)

# TCL_BIN - where the installed binary goes
TCL_BIN		= $(TCL_ROOT)/bin


#INSTALL = cp
INSTALL = install -s

LIBS = ./libtkmx.a $(TCL_DEBUG_LIB) $(TK_LIB) $(TCL_LIB) $(X_LIB) -lm $(LIBC)

CC		= cc

# Using PIC for purify and shared libraries
XCFLAGS		= -g -PIC
# Use fPIC for gcc
#XCFLAGS	= -g -fPIC
#XCFLAGS	= -O2

INCS		= -I. -I$(TK_INC)  -I$(TCL_INC) -I$(X_INC)

CFLAGS		= $(INCS) $(XCFLAGS) $(TCL_DEBUG) \
		    -DMX_VERSION=\"$(MX_VERSION)\" \
		    -DMX_LIBRARY=\"$(MX_LIBRARY)\"

OBJS = mxWidget.o mxFileOps.o mxFileMgr.o mxDisplay.o \
	mxHighlight.o mxUndo.o mxCmdUtils.o mxSelect.o mxIndent.o \
	mxCmdAM.o mxCmdNR.o mxCmdSZ.o mxOpen.o \
	mxSearch.o  regex.o \
	mxHistory.o mxGlobal.o \
	mxManager.o \
	List_Insert.o List_Remove.o List_Init.o \
	clock.o  \
	tkCutBuffer.o \
	tkReregWin.o

# Nuke this if libtcl.a already has Extended tcl.
# This is just a tiny subset with routines for getclock and fmtclock
XOBJS = tclExtended.o

all: libtkmx.a mxedit dbmDump

mxedit: main.o libtkmx.a $(XOBJS) $(TCL_LIB) $(TK_LIB)
	$(CC) $(CFLAGS) main.o $(XOBJS) $(LIBS) -o $@

purify: main.o libtkmx.a $(XOBJS) $(TCL_LIB) $(TK_LIB)
	purify $(CC) -PIC $(CFLAGS) main.o $(XOBJS) $(LIBS) -o mxedit.purify

libtkmx.a : $(OBJS)
	ar ru libtkmx.a $(OBJS)
	ranlib libtkmx.a

# dbmDump is a trivial program that prints out the contents of a dbm file
dbmDump: dbmDump.o
	$(CC) -o $@ dbmDump.o

install: ${TCL_BIN}/mxedit.$(MX_VERSION) ${TCL_BIN}/dbmDump installscripts installman

# mxeditfg differs from mxedit in that it does not detach into the background
${TCL_BIN}/mxedit.$(MX_VERSION) : mxedit
	-mv -f ${TCL_BIN}/mxedit.$(MX_VERSION) ${TCL_BIN}/mxedit.$(MX_VERSION).old
	$(INSTALL) mxedit ${TCL_BIN}/mxedit.$(MX_VERSION)
	rm -f ${TCL_BIN}/mxedit ${TCL_BIN}/mxeditfg
	ln -s mxedit.$(MX_VERSION) ${TCL_BIN}/mxedit
	ln -s mxedit.$(MX_VERSION) ${TCL_BIN}/mxeditfg

${TCL_BIN}/dbmDump : dbmDump
	$(INSTALL) dbmDump ${TCL_BIN}/dbmDump

installman: ${TCL_ROOT}/man/manl/mxedit.l

${TCL_ROOT}/man/manl/mxedit.l : mxedit.l
	rm -f ${TCL_ROOT}/man/manl/mxedit.l
	cp -p mxedit.l ${TCL_ROOT}/man/manl/mxedit.l

SCRIPTS = ${MX_LIBRARY}/mxedit.tk \
	${MX_LIBRARY}/mxedit.aliases \
	${MX_LIBRARY}/mxedit.bindings \
	${MX_LIBRARY}/mxedit.command \
	${MX_LIBRARY}/mxedit.core \
	${MX_LIBRARY}/mxedit.dirbrowser \
	${MX_LIBRARY}/mxedit.emacs \
	${MX_LIBRARY}/mxedit.file \
	${MX_LIBRARY}/mxedit.global \
	${MX_LIBRARY}/mxedit.help \
	${MX_LIBRARY}/mxedit.local \
	${MX_LIBRARY}/mxedit.menus \
	${MX_LIBRARY}/mxedit.mh \
	${MX_LIBRARY}/mxedit.search \
	${MX_LIBRARY}/mxedit.tcl_ui \
	${MX_LIBRARY}/mxedit.tutorial \
	${MX_LIBRARY}/mxedit.utils \
	${MX_LIBRARY}/mkindexList.tcl \
	${MX_LIBRARY}/MakeTclIndex

EXTRA_SCRIPTS = ${MX_LIBRARY}/colors.tk ${MX_LIBRARY}/utils.tk
installscripts : $(SCRIPTS) $(EXTRA_SCRIPTS) ${MX_LIBRARY}/tclIndex

${MX_LIBRARY}/tclIndex : $(SCRIPTS)
	cd ${MX_LIBRARY} ; ./MakeTclIndex

${MX_LIBRARY}/MakeTclIndex : lib/MakeTclIndex
	rm -f $@
	cp -p lib/MakeTclIndex $@

${MX_LIBRARY}/mkindexList.tcl : lib/mkindexList.tcl
	rm -f $@
	cp -p lib/mkindexList.tcl $@

${MX_LIBRARY}/mxedit.tk : lib/mxedit.tk
	rm -f $@
	cp -p lib/mxedit.tk $@

${MX_LIBRARY}/mxedit.aliases : lib/mxedit.aliases
	rm -f $@
	cp -p lib/mxedit.aliases $@

${MX_LIBRARY}/mxedit.bindings : lib/mxedit.bindings
	rm -f $@
	cp -p lib/mxedit.bindings $@

${MX_LIBRARY}/mxedit.command : lib/mxedit.command
	rm -f $@
	cp -p lib/mxedit.command $@

${MX_LIBRARY}/mxedit.core : lib/mxedit.core
	rm -f $@
	cp -p lib/mxedit.core $@

${MX_LIBRARY}/mxedit.dirbrowser : lib/mxedit.dirbrowser
	rm -f $@
	cp -p lib/mxedit.dirbrowser $@

${MX_LIBRARY}/mxedit.emacs : lib/mxedit.emacs
	rm -f $@
	cp -p lib/mxedit.emacs $@

${MX_LIBRARY}/mxedit.file : lib/mxedit.file
	rm -f $@
	cp -p lib/mxedit.file $@

${MX_LIBRARY}/mxedit.global : lib/mxedit.global
	rm -f $@
	cp -p lib/mxedit.global $@

${MX_LIBRARY}/mxedit.help : lib/mxedit.help
	rm -f $@
	cp -p lib/mxedit.help $@

${MX_LIBRARY}/mxedit.local : lib/mxedit.local
	rm -f $@
	cp -p lib/mxedit.local $@

${MX_LIBRARY}/mxedit.menus : lib/mxedit.menus
	rm -f $@
	cp -p lib/mxedit.menus $@

${MX_LIBRARY}/mxedit.mh : lib/mxedit.mh
	rm -f $@
	cp -p lib/mxedit.mh $@

${MX_LIBRARY}/mxedit.search : lib/mxedit.search
	rm -f $@
	cp -p lib/mxedit.search $@

${MX_LIBRARY}/mxedit.tcl_ui : lib/mxedit.tcl_ui
	rm -f $@
	cp -p lib/mxedit.tcl_ui $@

${MX_LIBRARY}/mxedit.tutorial : lib/mxedit.tutorial
	rm -f $@
	cp -p lib/mxedit.tutorial $@

${MX_LIBRARY}/mxedit.utils : lib/mxedit.utils
	rm -f $@
	cp -p lib/mxedit.utils $@

${MX_LIBRARY}/utils.tk : lib/utils.tk
	rm -f $@
	cp -p lib/utils.tk $@

${MX_LIBRARY}/colors.tk : lib/colors.tk
	rm -f $@
	cp -p lib/colors.tk $@

# Please ignore the TCL_TAPE and mxedit.static productions
TCL_TAPE = /project/liveboard/source/tcl/lib
SLIBS = ./libtkmx.a $(TCL_TAPE)/libtcl$(TCL_VERS).a $(TCL_TAPE)/libtk$(TK_VERS).a 
mxedit.static: main.o libtkmx.a $(XOBJS) $(SLIBS)
	$(CC) -Bstatic $(CFLAGS) main.o $(XOBJS) $(SLIBS) -lX11 -lm -o $@
# end section to ignore

clean:
	rm -f $(OBJS) main.o mxedit dbmDump dbmDump.o libtkmx.a	

tags:
	ctags *.c *.h

depend:
	makedepend $(INCS) *.c

# DO NOT DELETE THIS LINE -- make depend depends on it.

List_Init.o: /usr/include/stdio.h list.h sprite.h
List_Insert.o: /usr/include/stdio.h list.h sprite.h
List_Remove.o: /usr/include/stdio.h list.h sprite.h
clock.o: tclExtdSubset.h /project/tcl/src/tcl6.3/tclInt.h
clock.o: /usr/include/stdio.h /project/tcl/src/tcl6.3/tcl.h
clock.o: /project/tcl/src/tcl6.3/tclHash.h /project/tcl/src/tcl6.3/regexp.h
clock.o: /usr/include/ctype.h /usr/include/stdlib.h
clock.o: /usr/include/sys/stdtypes.h /usr/include/string.h
clock.o: /usr/include/varargs.h /project/tcl/src/tcl6.3/tclUnix.h
clock.o: /usr/include/errno.h /usr/include/sys/errno.h /usr/include/fcntl.h
clock.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
clock.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
clock.o: /usr/include/limits.h /usr/include/pwd.h /usr/include/signal.h
clock.o: /usr/include/sys/signal.h /usr/include/vm/faultcode.h
clock.o: /usr/include/sys/param.h /usr/include/machine/param.h
clock.o: /usr/include/dirent.h /usr/include/sys/dirent.h
clock.o: /usr/include/sys/file.h /usr/include/time.h /usr/include/values.h
clock.o: /usr/include/grp.h
dbmDump.o: /usr/include/unistd.h /usr/include/stdio.h /usr/include/stdlib.h
dbmDump.o: /usr/include/sys/stdtypes.h /usr/include/sys/types.h
dbmDump.o: /usr/include/sys/sysmacros.h /usr/include/sys/file.h
dbmDump.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
dbmDump.o: /usr/include/ndbm.h
main.o: /project/tcl/src/tk2.1/tk.h /project/tcl/src/tcl6.3/tcl.h
main.o: /import/X11R4/include/X11/Xlib.h /usr/include/sys/types.h
main.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
main.o: /import/X11R4/include/X11/X11/X.h /project/tcl/src/tk2.1/tkConfig.h
main.o: /usr/include/stdio.h /usr/include/ctype.h /usr/include/fcntl.h
main.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
main.o: /usr/include/math.h /usr/include/floatingpoint.h
main.o: /usr/include/sys/ieeefp.h /usr/include/stdlib.h /usr/include/string.h
main.o: /usr/include/sys/file.h /usr/include/sys/time.h /usr/include/time.h
main.o: /project/tcl/src/tcl6.3/tclHash.h
main.o: /import/X11R4/include/X11/cursorfont.h
main.o: /import/X11R4/include/X11/keysym.h
main.o: /import/X11R4/include/X11/keysymdef.h
main.o: /import/X11R4/include/X11/Xatom.h /import/X11R4/include/X11/Xproto.h
main.o: /import/X11R4/include/X11/Xmd.h /import/X11R4/include/X11/Xprotostr.h
main.o: /import/X11R4/include/X11/Xresource.h
main.o: /import/X11R4/include/X11/Xutil.h /project/tcl/src/tk2.1/tkInt.h
main.o: mxWidget.h sprite.h /usr/include/unistd.h /usr/include/signal.h
main.o: /usr/include/sys/signal.h /usr/include/vm/faultcode.h
main.o: /usr/include/setjmp.h
mxCmdAM.o: /import/X11R4/include/X11/Xlib.h /usr/include/sys/types.h
mxCmdAM.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
mxCmdAM.o: /import/X11R4/include/X11/X11/X.h
mxCmdAM.o: /import/X11R4/include/X11/Xutil.h /usr/include/ctype.h
mxCmdAM.o: /usr/include/stdio.h /usr/include/stdlib.h /usr/include/strings.h
mxCmdAM.o: mxWidget.h sprite.h /project/tcl/src/tk2.1/tk.h
mxCmdAM.o: /project/tcl/src/tcl6.3/tcl.h
mxCmdNR.o: /import/X11R4/include/X11/Xlib.h /usr/include/sys/types.h
mxCmdNR.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
mxCmdNR.o: /import/X11R4/include/X11/X11/X.h
mxCmdNR.o: /import/X11R4/include/X11/Xutil.h /usr/include/ctype.h
mxCmdNR.o: /usr/include/errno.h /usr/include/sys/errno.h /usr/include/stdio.h
mxCmdNR.o: /usr/include/string.h /usr/include/sys/file.h
mxCmdNR.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
mxCmdNR.o: /usr/include/stdlib.h mxWidget.h sprite.h
mxCmdNR.o: /project/tcl/src/tk2.1/tk.h /project/tcl/src/tcl6.3/tcl.h regex.h
mxCmdSZ.o: /usr/include/stdio.h /import/X11R4/include/X11/Xlib.h
mxCmdSZ.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
mxCmdSZ.o: /usr/include/sys/sysmacros.h /import/X11R4/include/X11/X11/X.h
mxCmdSZ.o: /import/X11R4/include/X11/Xutil.h /usr/include/ctype.h
mxCmdSZ.o: /usr/include/stdlib.h /usr/include/strings.h
mxCmdSZ.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
mxCmdSZ.o: /usr/include/sys/stat.h mxWidget.h sprite.h
mxCmdSZ.o: /project/tcl/src/tk2.1/tk.h /project/tcl/src/tcl6.3/tcl.h regex.h
mxCmdUtils.o: /import/X11R4/include/X11/Xlib.h /usr/include/sys/types.h
mxCmdUtils.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
mxCmdUtils.o: /import/X11R4/include/X11/X11/X.h
mxCmdUtils.o: /import/X11R4/include/X11/Xutil.h /usr/include/ctype.h
mxCmdUtils.o: /usr/include/stdlib.h /usr/include/stdio.h
mxCmdUtils.o: /usr/include/string.h /usr/include/sys/time.h
mxCmdUtils.o: /usr/include/time.h /usr/include/sys/stat.h
mxCmdUtils.o: /usr/include/alloca.h mxWidget.h sprite.h
mxCmdUtils.o: /project/tcl/src/tk2.1/tk.h /project/tcl/src/tcl6.3/tcl.h
mxCmdUtils.o: /project/tcl/src/tcl6.3/tclHash.h
mxDisplay.o: /import/X11R4/include/X11/Xlib.h /usr/include/sys/types.h
mxDisplay.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
mxDisplay.o: /import/X11R4/include/X11/X11/X.h /usr/include/ctype.h
mxDisplay.o: /usr/include/stdio.h /usr/include/stdlib.h mxWidget.h sprite.h
mxDisplay.o: /project/tcl/src/tk2.1/tk.h /project/tcl/src/tcl6.3/tcl.h
mxDisplay.o: eof.bits
mxFileMgr.o: /import/X11R4/include/X11/Xlib.h /usr/include/sys/types.h
mxFileMgr.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
mxFileMgr.o: /import/X11R4/include/X11/X11/X.h
mxFileMgr.o: /import/X11R4/include/X11/Xutil.h /usr/include/sys/time.h
mxFileMgr.o: /usr/include/time.h /usr/include/sys/file.h
mxFileMgr.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
mxFileMgr.o: /usr/include/errno.h /usr/include/sys/errno.h /usr/include/pwd.h
mxFileMgr.o: /usr/include/stdio.h /usr/include/stdlib.h /usr/include/string.h
mxFileMgr.o: mxWidget.h sprite.h /project/tcl/src/tk2.1/tk.h
mxFileMgr.o: /project/tcl/src/tcl6.3/tcl.h
mxFileOps.o: /usr/include/errno.h /usr/include/sys/errno.h
mxFileOps.o: /usr/include/stdio.h /usr/include/stdlib.h
mxFileOps.o: /usr/include/sys/stdtypes.h /usr/include/string.h
mxFileOps.o: /project/tcl/src/tcl6.3/tcl.h list.h sprite.h mxWidget.h
mxFileOps.o: /project/tcl/src/tk2.1/tk.h /import/X11R4/include/X11/Xlib.h
mxFileOps.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
mxFileOps.o: /import/X11R4/include/X11/X11/X.h
mxHighlight.o: /import/X11R4/include/X11/Xlib.h /usr/include/sys/types.h
mxHighlight.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
mxHighlight.o: /import/X11R4/include/X11/X11/X.h /usr/include/ctype.h
mxHighlight.o: /usr/include/stdlib.h mxWidget.h sprite.h
mxHighlight.o: /project/tcl/src/tk2.1/tk.h /project/tcl/src/tcl6.3/tcl.h
mxHighlight.o: grayHl.bits caret.bits caretMask.bits
mxHistory.o: /usr/include/stdio.h /usr/include/stdlib.h
mxHistory.o: /usr/include/sys/stdtypes.h /usr/include/string.h mxWidget.h
mxHistory.o: sprite.h /project/tcl/src/tk2.1/tk.h
mxHistory.o: /project/tcl/src/tcl6.3/tcl.h /import/X11R4/include/X11/Xlib.h
mxHistory.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
mxHistory.o: /import/X11R4/include/X11/X11/X.h
mxIndent.o: mxWidget.h sprite.h /project/tcl/src/tk2.1/tk.h
mxIndent.o: /project/tcl/src/tcl6.3/tcl.h /import/X11R4/include/X11/Xlib.h
mxIndent.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
mxIndent.o: /usr/include/sys/sysmacros.h /import/X11R4/include/X11/X11/X.h
mxManager.o: /project/tcl/src/tk2.1/tkConfig.h /usr/include/stdio.h
mxManager.o: /usr/include/ctype.h /usr/include/fcntl.h
mxManager.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stdtypes.h
mxManager.o: /usr/include/sys/stat.h /usr/include/sys/types.h
mxManager.o: /usr/include/sys/sysmacros.h /usr/include/math.h
mxManager.o: /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h
mxManager.o: /usr/include/stdlib.h /usr/include/string.h
mxManager.o: /usr/include/sys/file.h /usr/include/sys/time.h
mxManager.o: /usr/include/time.h /project/tcl/src/tcl6.3/tclHash.h
mxManager.o: /import/X11R4/include/X11/Xlib.h
mxManager.o: /import/X11R4/include/X11/X11/X.h
mxManager.o: /import/X11R4/include/X11/cursorfont.h
mxManager.o: /import/X11R4/include/X11/keysym.h
mxManager.o: /import/X11R4/include/X11/keysymdef.h
mxManager.o: /import/X11R4/include/X11/Xatom.h
mxManager.o: /import/X11R4/include/X11/Xproto.h
mxManager.o: /import/X11R4/include/X11/Xmd.h
mxManager.o: /import/X11R4/include/X11/Xprotostr.h
mxManager.o: /import/X11R4/include/X11/Xresource.h
mxManager.o: /import/X11R4/include/X11/Xutil.h /project/tcl/src/tk2.1/tkInt.h
mxManager.o: mxWidget.h sprite.h /project/tcl/src/tk2.1/tk.h
mxManager.o: /project/tcl/src/tcl6.3/tcl.h /usr/include/unistd.h
mxManager.o: /usr/include/ndbm.h /usr/include/pwd.h
mxSearch.o: /usr/include/ctype.h /usr/include/stdio.h /usr/include/string.h
mxSearch.o: /usr/include/sys/stdtypes.h /usr/include/stdlib.h mxWidget.h
mxSearch.o: sprite.h /project/tcl/src/tk2.1/tk.h
mxSearch.o: /project/tcl/src/tcl6.3/tcl.h /import/X11R4/include/X11/Xlib.h
mxSearch.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
mxSearch.o: /import/X11R4/include/X11/X11/X.h regex.h
mxSelect.o: /import/X11R4/include/X11/Xlib.h /usr/include/sys/types.h
mxSelect.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
mxSelect.o: /import/X11R4/include/X11/X11/X.h /usr/include/stdio.h
mxSelect.o: /usr/include/strings.h /import/X11R4/include/X11/Xatom.h
mxSelect.o: mxWidget.h sprite.h /project/tcl/src/tk2.1/tk.h
mxSelect.o: /project/tcl/src/tcl6.3/tcl.h
mxUndo.o: /import/X11R4/include/X11/Xlib.h /usr/include/sys/types.h
mxUndo.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
mxUndo.o: /import/X11R4/include/X11/X11/X.h /usr/include/sys/dir.h
mxUndo.o: /usr/include/sys/file.h /usr/include/sys/fcntlcom.h
mxUndo.o: /usr/include/sys/stat.h /usr/include/errno.h
mxUndo.o: /usr/include/sys/errno.h /usr/include/stdio.h /usr/include/stdlib.h
mxUndo.o: /usr/include/string.h /usr/include/unistd.h mxWidget.h sprite.h
mxUndo.o: /project/tcl/src/tk2.1/tk.h /project/tcl/src/tcl6.3/tcl.h
mxWidget.o: /project/tcl/src/tk2.1/default.h
mxWidget.o: /project/tcl/src/tk2.1/tkConfig.h /usr/include/stdio.h
mxWidget.o: /usr/include/ctype.h /usr/include/fcntl.h
mxWidget.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stdtypes.h
mxWidget.o: /usr/include/sys/stat.h /usr/include/sys/types.h
mxWidget.o: /usr/include/sys/sysmacros.h /usr/include/math.h
mxWidget.o: /usr/include/floatingpoint.h /usr/include/sys/ieeefp.h
mxWidget.o: /usr/include/stdlib.h /usr/include/string.h
mxWidget.o: /usr/include/sys/file.h /usr/include/sys/time.h
mxWidget.o: /usr/include/time.h /project/tcl/src/tcl6.3/tclHash.h
mxWidget.o: /import/X11R4/include/X11/Xlib.h
mxWidget.o: /import/X11R4/include/X11/X11/X.h
mxWidget.o: /import/X11R4/include/X11/cursorfont.h
mxWidget.o: /import/X11R4/include/X11/keysym.h
mxWidget.o: /import/X11R4/include/X11/keysymdef.h
mxWidget.o: /import/X11R4/include/X11/Xatom.h
mxWidget.o: /import/X11R4/include/X11/Xproto.h
mxWidget.o: /import/X11R4/include/X11/Xmd.h
mxWidget.o: /import/X11R4/include/X11/Xprotostr.h
mxWidget.o: /import/X11R4/include/X11/Xresource.h
mxWidget.o: /import/X11R4/include/X11/Xutil.h /project/tcl/src/tk2.1/tkInt.h
mxWidget.o: /usr/include/errno.h /usr/include/sys/errno.h mxWidget.h sprite.h
mxWidget.o: /project/tcl/src/tk2.1/tk.h /project/tcl/src/tcl6.3/tcl.h
mxWidget.o: /usr/include/unistd.h cursor.bits cursMask.bits
regex.o: regex.h
tclExtended.o: /project/tcl/src/tcl6.3/tcl.h tclExtdSubset.h
tclExtended.o: /project/tcl/src/tcl6.3/tclInt.h /usr/include/stdio.h
tclExtended.o: /project/tcl/src/tcl6.3/tclHash.h
tclExtended.o: /project/tcl/src/tcl6.3/regexp.h /usr/include/ctype.h
tclExtended.o: /usr/include/stdlib.h /usr/include/sys/stdtypes.h
tclExtended.o: /usr/include/string.h /usr/include/varargs.h
tclExtended.o: /project/tcl/src/tcl6.3/tclUnix.h /usr/include/errno.h
tclExtended.o: /usr/include/sys/errno.h /usr/include/fcntl.h
tclExtended.o: /usr/include/sys/fcntlcom.h /usr/include/sys/stat.h
tclExtended.o: /usr/include/sys/types.h /usr/include/sys/sysmacros.h
tclExtended.o: /usr/include/limits.h /usr/include/pwd.h /usr/include/signal.h
tclExtended.o: /usr/include/sys/signal.h /usr/include/vm/faultcode.h
tclExtended.o: /usr/include/sys/param.h /usr/include/machine/param.h
tclExtended.o: /usr/include/dirent.h /usr/include/sys/dirent.h
tclExtended.o: /usr/include/sys/file.h /usr/include/time.h
tclExtended.o: /usr/include/values.h /usr/include/grp.h
tkCutBuffer.o: /project/tcl/src/tk2.1/tk.h /project/tcl/src/tcl6.3/tcl.h
tkCutBuffer.o: /import/X11R4/include/X11/Xlib.h /usr/include/sys/types.h
tkCutBuffer.o: /usr/include/sys/stdtypes.h /usr/include/sys/sysmacros.h
tkCutBuffer.o: /import/X11R4/include/X11/X11/X.h
tkCutBuffer.o: /project/tcl/src/tk2.1/tkInt.h
tkCutBuffer.o: /import/X11R4/include/X11/Xutil.h
tkCutBuffer.o: /import/X11R4/include/X11/Xproto.h
tkCutBuffer.o: /import/X11R4/include/X11/Xmd.h
tkCutBuffer.o: /import/X11R4/include/X11/Xprotostr.h /usr/include/unistd.h
tkCutBuffer.o: /usr/include/stdlib.h
tkReregisterWindow.o: /project/tcl/src/tk2.1/tk.h
tkReregisterWindow.o: /project/tcl/src/tcl6.3/tcl.h
tkReregisterWindow.o: /import/X11R4/include/X11/Xlib.h
tkReregisterWindow.o: /usr/include/sys/types.h /usr/include/sys/stdtypes.h
tkReregisterWindow.o: /usr/include/sys/sysmacros.h
tkReregisterWindow.o: /import/X11R4/include/X11/X11/X.h
tkReregisterWindow.o: /project/tcl/src/tk2.1/tkInt.h
tkReregisterWindow.o: /import/X11R4/include/X11/Xutil.h
