# This is the Makefile for the [incr Tcl] package needed by TkDesk.
# It is called from the main Makefile in .., which passes the CC_OPTS.

#----------------------------------------------------------------
# Things you can change to personalize the Makefile for your own
# site (you can make these changes in either Makefile.in or
# Makefile, but changes to Makefile will get lost if you re-run
# the configuration script).
#----------------------------------------------------------------

# Location of Tcl header files:
TCL_INCLUDE_DIR =	@TCL_INCLUDE_PATH@

# Configuration compiler flags:
AC_FLAGS =		@DEFS@

# Miscellaneous settings:
RANLIB =		@RANLIB@
CC =			@CC@
AR =			ar rc
RM =			rm -f

#----------------------------------------------------------------
# The information below should be usable as is.  The configure
# script won't modify it and you shouldn't need to modify it
# either.
#----------------------------------------------------------------

CFLAGS =	${CC_OPTS} ${AC_FLAGS} -I.. -I${TCL_INCLUDE_DIR}

libname	=	libitcl.a

OBJS = 		itcl_class.o itcl_core.o \
		itcl_methods.o itcl_objects.o itcl_vars.o \
		itcl_util.o

lib: $(libname)

$(libname):  $(OBJS)
	$(RM) $@
	$(AR) $@ $(OBJS)
	$(RANLIB) $@

clean:
	$(RM) $(OBJS) $(libname) *\~ "#"*
