view test/Makefile.in @ 1459:0b5abd833621

[project @ 1995-09-20 05:51:42 by jwe]
author jwe
date Wed, 20 Sep 1995 06:07:46 +0000
parents 02a4e580de4e
children fa8326a8eec8
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)

SUBDIRS =

OCTAVE_BINARY = ../src/octave

OCTAVE_SCRIPT_PATH = $(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:
.PHONY: clean

mostlyclean:
.PHONY: mostlyclean

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

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

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

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