diff options
Diffstat (limited to 'contrib/bluegnu2.0.3/Makefile.in')
-rw-r--r-- | contrib/bluegnu2.0.3/Makefile.in | 185 |
1 files changed, 185 insertions, 0 deletions
diff --git a/contrib/bluegnu2.0.3/Makefile.in b/contrib/bluegnu2.0.3/Makefile.in new file mode 100644 index 0000000..430648e --- /dev/null +++ b/contrib/bluegnu2.0.3/Makefile.in @@ -0,0 +1,185 @@ +## @configure_input@ +# Makefile for BlueGnu Testing Framework. +# Copyright (C) 1988, 1990, 1991, 1992, 1994, 1995 Free Software Foundation, # Copyright (C) 1998 jotOmega dsc, Inc. + +#This file is part of BlueGnu. + +#BlueGnu is open software; you can redistribute it and/or modify +#it under the terms of the GNU General Public License as published by +#the Free Software Foundation; either version 2, or (at your option) +#any later version. + +#BlueGnu is distributed in the hope that it will be useful, +#but WITHOUT ANY WARRANTY; without even the implied warranty of +#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +#GNU General Public License for more details. + +#You should have received a copy of the GNU General Public License +#along with BlueGnu; see the file COPYING. If not, write to +#the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +VPATH = @srcdir@ +srcdir = @srcdir@ +prefix = @prefix@ +exec_prefix = @exec_prefix@ + +bindir = $(exec_prefix)/bin +libdir = $(exec_prefix)/lib + +datadir = $(libdir)/bluegnu +infodir = $(prefix)/info +includedir = $(prefix)/include +gxx_includedir = $(tooldir)/g++-include +docdir = $(datadir)/doc + +SHELL = /bin/sh + +INSTALL = @INSTALL@ +INSTALL_PROGRAM = @INSTALL_PROGRAM@ +INSTALL_DATA = @INSTALL_DATA@ + +CC = @CC@ +CFLAGS = -g + +SUBDIRS = @subdirs@ + +# These let the BlueGnu test suite run when BlueGnu isn't +# installed yet, so run it from the srcdir and objdir. +EXPECT = ` \ + if [ -f $${rootme}/../expect/expect ] ; then \ + echo $${rootme}/../expect/expect ; \ + else echo expect ; fi` + +BLUEGNUFLAGS = +BLUEGNU = ` \ + if [ -f ${srcdir}/bluegnu ] ; then \ + echo ${srcdir}/bluegnu ; \ + else echo bluegnu ; fi` + +TCLIBRARY = `if [ -f $${rootme}/expect/expect ] ; \ + then echo TCL_LIBRARY=$${srcdir}/../tcl/library ; \ + else echo "" ; fi` + +FLAGS_TO_PASS = \ + "CC=$(CC)" \ + "CFLAGS=$(CFLAGS)" \ + "INSTALL=$(INSTALL)" \ + "INSTALL_DATA=$(INSTALL_DATA)" \ + "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \ + "LDFLAGS=$(LDFLAGS)" \ + "MAKEINFO=$(MAKEINFO)" \ + "EXPECT=$(EXPECT)" \ + "TCLIBRARY=$(TCLIBRARY)" \ + "BLUEGNU=$(BLUEGNU)" \ + "BLUEGNUFLAGS=$(BLUEGNUFLAGS)" \ + "exec_prefix=$(exec_prefix)" \ + "prefix=$(prefix)" \ + "tooldir=$(tooldir)" + +all: force + @$(MAKE) subdir_do DO=$@ $(FLAGS_TO_PASS) + +contents: force + ls -lLAR -I CVS -I Makefile \ + -I config.status -I config.log -I config.cache \ + -I READMEdvi -I calc.h > $@ + +.PHONY: check installcheck +installcheck: + +.NOEXPORT: + +MAKEOVERRIDES= + +INFODIRS=doc +dvi info: + @rootme=`pwd`/ ; export rootme ; \ + rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \ + $(MAKE) subdir_do DO=$@ "DODIRS=$(INFODIRS)" $(FLAGS_TO_PASS) + +install-info: + @rootme=`pwd`/ ; export rootme ; \ + $(MAKE) subdir_do DO=install-info $(FLAGS_TO_PASS) + +install: + ${srcdir}/mkinstalldirs $(bindir) $(datadir) + $(INSTALL_PROGRAM) $(srcdir)/runtest $(bindir)/runtest + $(INSTALL_PROGRAM) $(srcdir)/runtest.exp $(datadir)/runtest.exp + $(INSTALL_PROGRAM) $(srcdir)/dejagnu $(bindir)/dejagnu + $(INSTALL_PROGRAM) $(srcdir)/bluegnu $(bindir)/bluegnu + $(INSTALL_PROGRAM) $(srcdir)/bluegnutk $(bindir) + $(INSTALL_PROGRAM) $(srcdir)/bluegnutk.itcl $(bindir) + $(INSTALL_PROGRAM) $(srcdir)/bluegnutk.rc $(bindir) + $(INSTALL_PROGRAM) $(srcdir)/bluegnutkUtils.itcl $(bindir) + $(INSTALL_PROGRAM) $(srcdir)/config.guess $(datadir)/config.guess + -for file in $(srcdir)/lib/*.exp; \ + do \ + $(INSTALL_DATA) $$file $(datadir) ; \ + done + -for file in $(srcdir)/lib/*.tcl; \ + do \ + $(INSTALL_DATA) $$file $(datadir) ; \ + done + -for file in $(srcdir)/lib/*.itcl; \ + do \ + $(INSTALL_DATA) $$file $(datadir) ; \ + done + $(INSTALL_DATA) $(srcdir)/lib/tclIndex $(datadir) + @$(MAKE) subdir_do DO=install $(FLAGS_TO_PASS) + +subdir_do: force + @for i in $(SUBDIRS); do \ + echo "Making $(DO) in $${i}..." ; \ + if [ -d ./$$i ] ; then \ + if (rootme=`pwd`/ ; export rootme ; \ + rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \ + cd ./$$i; \ + $(MAKE) $(FLAGS_TO_PASS) $(DO)) ; then true ; \ + else exit 1 ; fi ; \ + else true ; fi ; \ + done +force: + +clean mostlyclean: + @echo "Doing clean mosttlyclean +++++" + -rm -f \#* *~ core *.o a.out xgdb *.x + $(MAKE) subdir_do DO=$@ $(FLAGS_TO_PASS) + @for l in `find . -name logs`; do rm -fr $$l; done + @for f in `find . -name '*~'`; do rm -fr $$f; done + +distclean: clean + @echo "Doing distclean +++++" + $(MAKE) subdir_do DO=$@ $(FLAGS_TO_PASS) + -rm -f Makefile *-init.exp site.bak site.exp conftest.c + -rm -f config.status config.log config.cache + -rm -fr *.log summary detail *.sum blockit + +maintainer-clean realclean: + @echo "Doing maintainer-clean realclean +++++" + $(MAKE) subdir_do DO=$@ $(FLAGS_TO_PASS) + -rm -f Makefile *-init.exp site.bak site.exp conftest.c + -rm -f config.status config.log config.cache + -rm -fr *.log summary detail *.sum blockit + -rm -f README.bluegnu contents + +check: + @if [ -f testsuite/Makefile ]; then \ + rootme=`pwd`; export rootme; \ + cd testsuite; \ + $(MAKE) $(FLAGS_TO_PASS) check; \ + else true; fi + +Makefile: $(srcdir)/Makefile.in config.status + @echo "Rebuilding the Makefile..." + $(SHELL) ./config.status + +configure: $(srcdir)/configure.in $(srcdir)/Makefile.in $(srcdir)/aclocal.m4 + @echo "Rebuilding configure..." + @if [ x"${srcdir}" = x"@srcdir@" ] ; then \ + srcdir=. ; export srcdir ; \ + else true ; fi ; \ + (cd $${srcdir}; autoconf) + +config.status: + @echo "Rebuilding config.status..." + $(SHELL) ./config.status --recheck |