view test/Makefile.in @ 2588:ccd72573a0cf

[project @ 1996-12-12 08:26:55 by jwe]
author jwe
date Thu, 12 Dec 1996 08:28:49 +0000
parents a28ed603c65c
children d741b18efb63
line wrap: on
line source

#
# Makefile for octave's test directory
#
# John W. Eaton
# jwe@bevo.che.wisc.edu
# University of Wisconsin-Madison
# Department of Chemical Engineering

TOPDIR = ..

srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@

include $(TOPDIR)/Makeconf

SOURCES =

DISTFILES = Makefile.in $(SOURCES) ChangeLog

SUBDIRS =

OCTAVE_BINARY = ../src/octave

OCTAVE_SCRIPT_PATH = .:../src:$(srcdir)/../scripts//

# Complete directory trees to distribute.
DISTDIRS = config octave.test

all: check
.PHONY: all

check:
	@if test -n "$(RUNTEST)" ; then \
	  $(RUNTEST) \
	    OCTAVE="$(OCTAVE_BINARY)" \
	    OCTAVE_SCRIPT_PATH="$(OCTAVE_SCRIPT_PATH)" \
	    --tool octave --srcdir $(srcdir) $(RUNTEST_FLAGS) ; \
	else \
	  echo "***" ; \
	  echo "*** Sorry, I can't run tests without DejaGnu" ; \
	  echo "***" ; \
	fi

.PHONY: check

install: all
.PHONY: install

uninstall:
.PHONY: uninstall

tags: $(SOURCES)
	ctags $(SOURCES)

TAGS: $(SOURCES)
	etags $(SOURCES)

clean:
	rm -f  octave.log octave.sum
.PHONY: clean

mostlyclean:
.PHONY: mostlyclean

distclean: clean
	rm -f Makefile
.PHONY: distclean

maintainer-clean: distclean
	rm -f tags TAGS
.PHONY: maintainer-clean

dist:
	ln $(DISTFILES) ../`cat ../.fname`/test
	for dir in $(DISTDIRS); do ln -s ../../test/$$dir ../`cat ../.fname`/test; done
.PHONY: dist