VPATH = @srcdir@
srcdir = @srcdir@
prefix = @prefix@
exec_prefix = @exec_prefix@
host = @host@
.PHONY: info install-info check installcheck dvi install
info:
install:
dvi:
install-info:
check:
installcheck:
.NOEXPORT:
TCLHDIR = @TCLHDIR@
BLUEGNUFLAGS =
EXPECT = ` \
if [ -f $${rootme}/../../expect/expect ] ; then \
echo $${rootme}/../../expect/expect ; \
else echo expect ; fi`
BLUEGNU = ` \
if [ -f ${srcdir}/../bluegnu ] ; then \
echo ${srcdir}/../bluegnu ; \
else echo bluegnu ; fi`
all:
check: site.exp all
rootme=`pwd`; export rootme; \
srcdir=${srcdir} ; export srcdir ; \
EXPECT=${EXPECT} ; export EXPECT ; \
if [ -f $${rootme}/../../expect/expect ] ; then \
TCL_LIBRARY=`echo @TCLHDIR@ | sed -e 's/-I//' -e 's/generic/library/'` ; \
export TCL_LIBRARY ; fi ; \
${BLUEGNU} ${BLUEGNUFLAGS} BLUEGNU=${BLUEGNU} --tool bluegnu --srcdir ${srcdir}
site.exp: ./config.status Makefile
@echo "Making a new config file..."
-@rm -f ./tmp?
@touch site.exp
-@mv site.exp site.bak
@echo "## these variables are automatically generated by make ##" > ./tmp0
@echo "# Do not edit here. If you wish to override these values" >> ./tmp0
@echo "# add them to the last section" >> ./tmp0
@echo "set tool bluegnu" >> ./tmp0
@echo "set srcdir ${srcdir}" >> ./tmp0
@echo "set objdir `pwd`" >> ./tmp0
@echo "set host_triplet ${host}" >> ./tmp0
@echo "set tmpdir `pwd`/tmpdir" >> ./tmp0
@echo "## All variables above are generated by configure. Do Not Edit ##" >> ./tmp0
@cat ./tmp0 > site.exp
@cat site.bak | sed \
-e '1,/^ -@rm -f ./tmp?
clean mostlyclean:
-rm -f \ -rm -f [Ee]rrs tags mklog ${OBJS} ${PROG} x.* xXx.*
distclean maintainer-clean realclean: clean
-rm -f Makefile
-rm -f config.status config.log config.cache
-rm -f calc.h calc.log calc.plog calc.psum confdefs.h
-rm -f calc.sum site.exp
-rm -rf tmpdir
Makefile: $(srcdir)/Makefile.in $(host_makefile_frag) config.status
@echo "Rebuilding the Makefile..."
$(SHELL) ./config.status
configure: $(srcdir)/configure.in $(srcdir)/Makefile.in $(srcdir)/../aclocal.m4
@echo "Rebuilding configure..."
@cd ${srcdir} ;\
autoconf --localdir=${srcdir}/..
config.status:
@echo "Rebuilding config.status..."
$(SHELL) ./config.status --recheck