# Makefile.in --
#
#	This file is a Makefile for Sample TEA Extension.  If it has the name
#	"Makefile.in" then it is a template for a Makefile;  to generate the
#	actual Makefile, run "./configure", which is a configuration script
#	generated by the "autoconf" program (constructs like "@foo@" will get
#	replaced in the actual Makefile.
#
# Copyright (c) 1998-2000 Ajuba Solutions
# All rights reserved.
#
# RCS: @(#) $Id: Makefile.in,v 1.3 2003/03/31 23:01:12 vincentdarley Exp $

#========================================================================
# Edit the following few lines when writing a new extension
#========================================================================

#========================================================================
# Change the name of the variable "debugger_LIB_FILE" to match the one
# used in the configure script.  This is the parameterized name of the
# library that we are building.
#========================================================================

lib_BINARIES=
BINARIES=

#========================================================================
# Enumerate the names of the source files included in this package.
# This will be used when a dist target is added to the Makefile.
#========================================================================

debugger_SOURCES = 
SOURCES = $(debugger_SOURCES)

#========================================================================
# Enumerate the names of the object files included in this package.
# These objects are created and linked into the final library.  In
# most cases these object files will correspond to the source files
# above.
#
#========================================================================

debugger_OBJECTS =  
OBJECTS = $(debugger_OBJECTS)

#========================================================================
# The substitution of "debugger_LIB_FILE" into the variable name below
# allows us to refer to the objects for the library without knowing the name
# of the library in advance.  It also lets us use the "$@" variable in
# the rule for building the library, so we can refer to both the list of 
# objects and the library itself in a platform-independent manner.
#========================================================================

debugger_LIB_FILE = 

#========================================================================
# This is a list of header files to be installed
#========================================================================

GENERIC_HDRS= 

TCL_FILES = \
	$(srcdir)/bindings.tcl \
	$(srcdir)/block.tcl \
	$(srcdir)/break.tcl \
	$(srcdir)/breakWin.tcl \
	$(srcdir)/codeWin.tcl \
	$(srcdir)/coverage.tcl \
	$(srcdir)/dbg.tcl \
	debugger.tcl \
	$(srcdir)/evalWin.tcl \
	$(srcdir)/file.tcl \
	$(srcdir)/find.tcl \
	$(srcdir)/font.tcl \
	$(srcdir)/gui.tcl \
	$(srcdir)/guiUtil.tcl \
	$(srcdir)/icon.tcl \
	$(srcdir)/image.tcl \
	$(srcdir)/inspectorWin.tcl \
	$(srcdir)/instrument.tcl \
	$(srcdir)/location.tcl \
	$(srcdir)/menu.tcl \
	$(srcdir)/portWin.tcl \
	$(srcdir)/pref.tcl \
	$(srcdir)/prefWin.tcl \
	$(srcdir)/procWin.tcl \
	$(srcdir)/proj.tcl \
	$(srcdir)/projWin.tcl \
	$(srcdir)/result.tcl \
	$(srcdir)/selection.tcl \
	$(srcdir)/stackWin.tcl \
	$(srcdir)/system.tcl \
	$(srcdir)/tabnotebook.tcl \
	$(srcdir)/tkcon.tcl \
	$(srcdir)/toolbar.tcl \
	$(srcdir)/util.tcl \
	$(srcdir)/varWin.tcl \
	$(srcdir)/watchWin.tcl \
	$(srcdir)/widget.tcl

TBC_FILES = \
	bindings.tbc \
	block.tbc \
	break.tbc \
	breakWin.tbc \
	codeWin.tbc \
	coverage.tbc \
	dbg.tbc \
	debugger.tbc \
	evalWin.tbc \
	file.tbc \
	find.tbc \
	font.tbc \
	gui.tbc \
	guiUtil.tbc \
	icon.tbc \
	image.tbc \
	inspectorWin.tbc \
	instrument.tbc \
	location.tbc \
	menu.tbc \
	portWin.tbc \
	pref.tbc \
	prefWin.tbc \
	procWin.tbc \
	proj.tbc \
	projWin.tbc \
	result.tbc \
	selection.tbc \
	stackWin.tbc \
	system.tbc \
	tabnotebook.tbc \
	tkcon.tbc \
	toolbar.tbc \
	util.tbc \
	varWin.tbc \
	watchWin.tbc \
	widget.tbc

# Note - configure.in hacked so that LIB_FILES is always TCL_FILES
LIB_FILES=@LIB_FILES@

DEBUG_INIT_SCRIPT   = $(srcdir)/initdebug.tcl
DEBUG_NUB_SCRIPT    = $(srcdir)/nub.tcl
DEBUG_LAUNCH_SCRIPT = $(srcdir)/appLaunch.tcl
DEBUG_PDX_FILES     = \
	$(srcdir)/tcltest.pdx \
	$(srcdir)/uplevel.pdx \
	$(srcdir)/blend.pdx \
	$(srcdir)/oratcl.pdx \
	$(srcdir)/tclCom.pdx \
	$(srcdir)/xmlGen.pdx

#========================================================================
# Add additional lines to handle any additional AC_SUBST cases that
# have been added to the configure script.
#========================================================================

SAMPLE_NEW_VAR=@SAMPLE_NEW_VAR@

#========================================================================
# Nothing of the variables below this line need to be changed.  Please
# check the TARGETS section below to make sure the make targets are
# correct.
#========================================================================

SHELL = @SHELL@

srcdir = @srcdir@
top_srcdir = @top_srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@

TESTDIR = `@CYGPATH@ @srcdir@/tests | tr '\\\\' '/'`

bindir = @bindir@
sbindir = @sbindir@
libexecdir = @libexecdir@
datadir = @datadir@
sysconfdir = @sysconfdir@
sharedstatedir = @sharedstatedir@
localstatedir = @localstatedir@
libdir = @libdir@
infodir = @infodir@
mandir = @mandir@
includedir = @includedir@
oldincludedir = /usr/include

DESTDIR =

pkgdatadir = $(exec_prefix)/bin/
pkglibdir = $(prefix)/lib/@PACKAGE@@VERSION@
imagelibdir = $(pkglibdir)/images

top_builddir = .

INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_STRIP_FLAG =
transform = @program_transform_name@

NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :

PACKAGE = @PACKAGE@
VERSION = @VERSION@
CC = @CC@
CFLAGS_DEBUG = @CFLAGS_DEBUG@
CFLAGS_DEFAULT = @CFLAGS_DEFAULT@
CFLAGS_OPTIMIZE = @CFLAGS_OPTIMIZE@
CLEANFILES = @CLEANFILES@
EXEEXT = @EXEEXT@
LDFLAGS_DEBUG = @LDFLAGS_DEBUG@
LDFLAGS_DEFAULT = @LDFLAGS_DEFAULT@
LDFLAGS_OPTIMIZE = @LDFLAGS_OPTIMIZE@
MAKE_LIB = @MAKE_LIB@
MAKE_SHARED_LIB = @MAKE_SHARED_LIB@
MAKE_STATIC_LIB = @MAKE_STATIC_LIB@
OBJEXT = @OBJEXT@
RANLIB = @RANLIB@
SHLIB_CFLAGS = @SHLIB_CFLAGS@
SHLIB_LD = @SHLIB_LD@
SHLIB_LDFLAGS = @SHLIB_LDFLAGS@
SHLIB_LD_LIBS = @SHLIB_LD_LIBS@
STLIB_LD = @STLIB_LD@
TCL_BIN_DIR = @TCL_BIN_DIR@
TCL_DEFS = @TCL_DEFS@
TCL_EXTRA_CFLAGS = @TCL_EXTRA_CFLAGS@
TCL_LD_FLAGS = @TCL_LD_FLAGS@
TCL_LIBS = @TCL_LIBS@
TCL_SHLIB_LD_LIBS = @TCL_SHLIB_LD_LIBS@
TCL_SRC_DIR = @TCL_SRC_DIR@
TCL_DBGX = @TCL_DBGX@
TCL_STUB_LIB_FILE = @TCL_STUB_LIB_FILE@
TCL_STUB_LIB_SPEC = @TCL_STUB_LIB_SPEC@
TCL_TOOL_DIR_NATIVE = @TCL_TOOL_DIR_NATIVE@
TCL_TOP_DIR_NATIVE = @TCL_TOP_DIR_NATIVE@
TCL_UNIX_DIR_NATIVE = @TCL_UNIX_DIR_NATIVE@
TCL_WIN_DIR_NATIVE = @TCL_WIN_DIR_NATIVE@
INCLUDE_DIR_NATIVE = @INCLUDE_DIR_NATIVE@
TCL_BMAP_DIR_NATIVE = @TCL_BMAP_DIR_NATIVE@
TCL_PLATFORM_DIR_NATIVE = @TCL_PLATFORM_DIR_NATIVE@
TCL_GENERIC_DIR_NATIVE = @TCL_GENERIC_DIR_NATIVE@
TCLSH_PROG = @TCLSH_PROG@
PROCOMP = @PROCOMP@ -nologo

AUTOCONF = autoconf

LDFLAGS = $(LDFLAGS_DEFAULT)

INCLUDES = @TCL_INCLUDES@

EXTRA_CFLAGS = $(TCL_DEFS) $(PROTO_FLAGS) $(SECURITY_FLAGS) $(MEM_DEBUG_FLAGS) $(KEYSYM_FLAGS) $(NO_DEPRECATED_FLAGS)

DEFS = @DEFS@ $(EXTRA_CFLAGS)

ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
CONFIGDIR = @CONFIGDIR@
mkinstalldirs = $(SHELL) $(CONFIGDIR)/mkinstalldirs
CONFIG_CLEAN_FILES = mkIndex.tcl

CPPFLAGS = @CPPFLAGS@
LIBS = @LIBS@
AR = ar
CFLAGS = @CFLAGS@
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@

#========================================================================
# Start of user-definable TARGETS section
#========================================================================

#========================================================================
# TEA TARGETS.  Please note that the "libraries:" target refers to platform
# independent files, and the "binaries:" target inclues executable programs and
# platform-dependent libraries.  Modify these targets so that they install
# the various pieces of your package.  The make and install rules
# for the BINARIES that you specified above have already been done.
#========================================================================

all: binaries libraries doc

#========================================================================
# The binaries target builds executable programs, Windows .dll's, unix
# shared/static libraries, and any other platform-dependent files.
# The list of targets to build for "binaries:" is specified at the top
# of the Makefile, in the "BINARIES" variable.
#========================================================================

binaries: 

libraries: $(LIB_FILES) pkgIndex.tcl

doc:

install: all install-binaries install-libraries install-doc

install-binaries: binaries install-lib-binaries install-bin-binaries

#========================================================================
# This rule installs platform-independent files, such as header files.
#========================================================================

install-libraries: libraries installdirs
	@echo "Installing Tcl files in $(pkglibdir)"
	@for i in $(LIB_FILES) ; do \
	    $(INSTALL_SCRIPT) $$i $(pkglibdir) ; \
	done;
	@$(INSTALL_SCRIPT) $(DEBUG_NUB_SCRIPT) $(pkglibdir)
	@$(INSTALL_SCRIPT) pkgIndex.tcl $(pkglibdir) 
	@echo "Installing PDX files in $(pkglibdir)"
	@for i in $(DEBUG_PDX_FILES) ; do \
	    $(INSTALL_SCRIPT) $$i $(pkglibdir) ; \
	done;
	@echo "Installing Image files in $(imagelibdir)"
	@for i in $(srcdir)/images/*.gif ; do \
	    $(INSTALL_DATA) $$i $(imagelibdir) ; \
	done;
	@echo "Installing support scripts in $(bindir)"
	@$(INSTALL_SCRIPT) $(DEBUG_LAUNCH_SCRIPT) $(bindir)
	@$(INSTALL_SCRIPT) $(DEBUG_INIT_SCRIPT) $(bindir)

#========================================================================
# Install documentation.  Unix manpages should go in the $(mandir)
# directory.
#========================================================================

install-doc: doc installdirs
	$(INSTALL_DATA) $(srcdir)/docs/initdebug.n $(mandir)/mann

test: $(TCLSH_PROG)
	TCL_LIBRARY=$(TCL_LIBRARY_DIR) \
	LD_LIBRARY_PATH=$(BUILD_DIR):$(TCL_BIN_DIR):$(LD_LIBRARY_PATH) \
	PATH="$(BUILD_DIR)":"$(TCL_BIN_DIR)":"$(PATH)" \
	$(TCLSH_PROG) `@CYGPATH@ $(srcdir)/tests/all.tcl` \
		-exedir `@CYGPATH@ $(bindir)` $(TESTFLAGS)

depend:

#========================================================================
# Enumerate the names of the object files included in this package.
# These objects are created and linked into the final library.  In
# most cases these object files will correspond to the source files
# above.
#
# $(debugger_LIB_FILE) should be listed as part of the BINARIES variable
# at the top of the Makefile.  That will ensure that this target is built
# when you run "make binaries".
#
# You shouldn't need to modify this target, except to change the package
# name from "debugger" to your package's name.
#========================================================================

$(debugger_LIB_FILE):

#========================================================================
# We need to enumerate the list of .c to .o lines here.
# Unfortunately, there does not seem to be any other way to do this
# in a Makefile-independent way.  We can't use VPATH because it picks up
# object files that may be located in the source directory.
#
# In the following lines, $(srcdir) refers to the toplevel directory
# containing your extension.  If your sources are in a subdirectory,
# you will have to modify the paths to reflect this:
#
# debugger.$(OBJEXT): $(srcdir)/src/win/debugger.c
# 	$(COMPILE) -c `@CYGPATH@ $(srcdir)/src/win/debugger.c` -o $@
#========================================================================

bindings.tbc : $(srcdir)/bindings.tcl
	$(PROCOMP) -out bindings.tbc `@CYGPATH@ $(srcdir)/bindings.tcl`


block.tbc : $(srcdir)/block.tcl
	$(PROCOMP) -out block.tbc `@CYGPATH@ $(srcdir)/block.tcl`


break.tbc : $(srcdir)/break.tcl
	$(PROCOMP) -out break.tbc `@CYGPATH@ $(srcdir)/break.tcl`


breakWin.tbc : $(srcdir)/breakWin.tcl
	$(PROCOMP) -out breakWin.tbc `@CYGPATH@ $(srcdir)/breakWin.tcl`


codeWin.tbc : $(srcdir)/codeWin.tcl
	$(PROCOMP) -out codeWin.tbc `@CYGPATH@ $(srcdir)/codeWin.tcl`


coverage.tbc : $(srcdir)/coverage.tcl
	$(PROCOMP) -out coverage.tbc `@CYGPATH@ $(srcdir)/coverage.tcl`


dbg.tbc : $(srcdir)/dbg.tcl
	$(PROCOMP) -out dbg.tbc `@CYGPATH@ $(srcdir)/dbg.tcl`


debugger.tbc : debugger.tcl
	$(PROCOMP) -out debugger.tbc debugger.tcl


evalWin.tbc : $(srcdir)/evalWin.tcl
	$(PROCOMP) -out evalWin.tbc `@CYGPATH@ $(srcdir)/evalWin.tcl`


file.tbc : $(srcdir)/file.tcl
	$(PROCOMP) -out file.tbc `@CYGPATH@ $(srcdir)/file.tcl`


find.tbc : $(srcdir)/find.tcl
	$(PROCOMP) -out find.tbc `@CYGPATH@ $(srcdir)/find.tcl`


font.tbc : $(srcdir)/font.tcl
	$(PROCOMP) -out font.tbc `@CYGPATH@ $(srcdir)/font.tcl`


gui.tbc : $(srcdir)/gui.tcl
	$(PROCOMP) -out gui.tbc `@CYGPATH@ $(srcdir)/gui.tcl`


guiUtil.tbc : $(srcdir)/guiUtil.tcl
	$(PROCOMP) -out guiUtil.tbc `@CYGPATH@ $(srcdir)/guiUtil.tcl`


icon.tbc : $(srcdir)/icon.tcl
	$(PROCOMP) -out icon.tbc `@CYGPATH@ $(srcdir)/icon.tcl`


image.tbc : $(srcdir)/image.tcl
	$(PROCOMP) -out image.tbc `@CYGPATH@ $(srcdir)/image.tcl`


inspectorWin.tbc : $(srcdir)/inspectorWin.tcl
	$(PROCOMP) -out inspectorWin.tbc `@CYGPATH@ $(srcdir)/inspectorWin.tcl`


instrument.tbc : $(srcdir)/instrument.tcl
	$(PROCOMP) -out instrument.tbc `@CYGPATH@ $(srcdir)/instrument.tcl`


location.tbc : $(srcdir)/location.tcl
	$(PROCOMP) -out location.tbc `@CYGPATH@ $(srcdir)/location.tcl`


menu.tbc : $(srcdir)/menu.tcl
	$(PROCOMP) -out menu.tbc `@CYGPATH@ $(srcdir)/menu.tcl`


portWin.tbc : $(srcdir)/portWin.tcl
	$(PROCOMP) -out portWin.tbc `@CYGPATH@ $(srcdir)/portWin.tcl`


pref.tbc : $(srcdir)/pref.tcl
	$(PROCOMP) -out pref.tbc `@CYGPATH@ $(srcdir)/pref.tcl`


prefWin.tbc : $(srcdir)/prefWin.tcl
	$(PROCOMP) -out prefWin.tbc `@CYGPATH@ $(srcdir)/prefWin.tcl`


procWin.tbc : $(srcdir)/procWin.tcl
	$(PROCOMP) -out procWin.tbc `@CYGPATH@ $(srcdir)/procWin.tcl`


proj.tbc : $(srcdir)/proj.tcl
	$(PROCOMP) -out proj.tbc `@CYGPATH@ $(srcdir)/proj.tcl`


projWin.tbc : $(srcdir)/projWin.tcl
	$(PROCOMP) -out projWin.tbc `@CYGPATH@ $(srcdir)/projWin.tcl`


result.tbc : $(srcdir)/result.tcl
	$(PROCOMP) -out result.tbc `@CYGPATH@ $(srcdir)/result.tcl`


selection.tbc : $(srcdir)/selection.tcl
	$(PROCOMP) -out selection.tbc `@CYGPATH@ $(srcdir)/selection.tcl`


stackWin.tbc : $(srcdir)/stackWin.tcl
	$(PROCOMP) -out stackWin.tbc `@CYGPATH@ $(srcdir)/stackWin.tcl`


system.tbc : $(srcdir)/system.tcl
	$(PROCOMP) -out system.tbc `@CYGPATH@ $(srcdir)/system.tcl`


tabnotebook.tbc : $(srcdir)/tabnotebook.tcl
	$(PROCOMP) -out tabnotebook.tbc `@CYGPATH@ $(srcdir)/tabnotebook.tcl`


tkcon.tbc : $(srcdir)/tkcon.tcl
	$(PROCOMP) -out tkcon.tbc `@CYGPATH@ $(srcdir)/tkcon.tcl`


toolbar.tbc : $(srcdir)/toolbar.tcl
	$(PROCOMP) -out toolbar.tbc `@CYGPATH@ $(srcdir)/toolbar.tcl`


util.tbc : $(srcdir)/util.tcl
	$(PROCOMP) -out util.tbc `@CYGPATH@ $(srcdir)/util.tcl`


varWin.tbc : $(srcdir)/varWin.tcl
	$(PROCOMP) -out varWin.tbc `@CYGPATH@ $(srcdir)/varWin.tcl`


version.tbc : version.tcl
	$(PROCOMP) -out version.tbc version.tcl


watchWin.tbc : $(srcdir)/watchWin.tcl
	$(PROCOMP) -out watchWin.tbc `@CYGPATH@ $(srcdir)/watchWin.tcl`

widget.tbc : $(srcdir)/widget.tcl
	$(PROCOMP) -out widget.tbc `@CYGPATH@ $(srcdir)/widget.tcl`



#========================================================================
# End of user-definable section
#========================================================================

#========================================================================
# Don't modify the file to clean here.  Instead, set the "CLEANFILES"
# variable in configure.in
#========================================================================

clean:  
	-test -z "$(BINARIES)" || rm -f $(BINARIES)
	-rm -f *.o core *.core
	-rm -f *.$(OBJEXT)
	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)

distclean: clean
	-rm -f *.tab.c
	-rm -f Makefile $(CONFIG_CLEAN_FILES)
	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
	-rm -f config.status

#========================================================================
# Install binary object libraries.  On Windows this includes both .dll and
# .lib files.  Because the .lib files are not explicitly listed anywhere,
# we need to deduce their existence from the .dll file of the same name.
# Additionally, the .dll files go into the bin directory, but the .lib
# files go into the lib directory.  On Unix platforms, all library files
# go into the lib directory.  In addition, this will generate the pkgIndex.tcl
# file in the install location (assuming it can find a usable tclsh8.2 shell)
#
# You should not have to modify this target.
#========================================================================

install-lib-binaries: installdirs
	@list='$(lib_BINARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    ext=`echo $$p|sed -e "s/.*\.//"`; \
	    if test "x$$ext" = "xdll"; then \
	        echo " $(INSTALL_DATA) $$p $(DESTDIR)$(bindir)/$$p"; \
	        $(INSTALL_DATA) $$p $(DESTDIR)$(bindir)/$$p; \
		lib=`basename $$p|sed -e 's/.[^.]*$$//'`.lib; \
		if test -f $$lib; then \
		    echo " $(INSTALL_DATA) $$lib $(DESTDIR)$(libdir)/$$lib"; \
	            $(INSTALL_DATA) $$lib $(DESTDIR)$(libdir)/$$lib; \
		fi; \
	    else \
		echo " $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p"; \
	        $(INSTALL_DATA) $$p $(DESTDIR)$(libdir)/$$p; \
	    fi; \
	  else :; fi; \
	done
	@list='$(lib_BINARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo " $(RANLIB) $(DESTDIR)$(bindir)/$$p"; \
	    $(RANLIB) $(DESTDIR)$(bindir)/$$p; \
	  else :; fi; \
	done

#========================================================================
# Install binary executables (e.g. .exe files)
#
# You should not have to modify this target.
#========================================================================

install-bin-binaries: installdirs
	@list='$(bin_BINARIES)'; for p in $$list; do \
	  if test -f $$p; then \
	    echo " $(INSTALL_DATA) $$p $(DESTDIR)$(bindir)/$$p"; \
	    $(INSTALL_DATA) $$p $(DESTDIR)$(bindir)/$$p; \
	  else :; fi; \
	done

.SUFFIXES: .c .o .obj

Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
	cd $(top_builddir) \
	  && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status

uninstall-binaries:
	@$(NORMAL_UNINSTALL)
	list='$(BINARIES)'; for p in $$list; do \
	  rm -f $(DESTDIR)$(libdir)/$$p; \
	done

installdirs:
	@$(mkinstalldirs)  $(DESTDIR)$(libdir)
	@$(mkinstalldirs)  $(DESTDIR)$(pkglibdir)
	@$(mkinstalldirs)  $(DESTDIR)$(imagelibdir)
	@$(mkinstalldirs)  $(DESTDIR)$(mandir)/mann

.PHONY: all binaries clean depend distclean doc install installdirs \
libraries test

# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:
