Mercurial > octave
view test/Makefile.in @ 5262:57b5030f5737 before-64-bit-merge
[project @ 2005-03-31 03:03:07 by jwe]
author | jwe |
---|---|
date | Thu, 31 Mar 2005 03:03:07 +0000 |
parents | fef735180134 |
children | 1ad66ea35fe5 |
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 = .:$(TOPDIR)/src//:$(srcdir)/../scripts// ifeq ($(SHARED_LIBS), true) OCTAVE_LD_LIBRARY_PATH = `pwd`/../src:`pwd`/../liboctave:`pwd`/../libcruft ifeq ($(@library_path_var@),) XLD_LIBRARY_PATH = $(OCTAVE_LD_LIBRARY_PATH) else XLD_LIBRARY_PATH = $(OCTAVE_LD_LIBRARY_PATH):$(@library_path_var@) endif SET_LD_LIBRARY_PATH = @library_path_var@="$(XLD_LIBRARY_PATH)" endif # Complete directory trees to distribute. DISTDIRS = config octave.test all: check .PHONY: all check: @if test -n "$(RUNTEST)"; then \ $(SET_LD_LIBRARY_PATH) $(RUNTEST) \ OCTAVE="$(OCTAVE_BINARY)" \ OCTAVE_SCRIPT_PATH="$(OCTAVE_SCRIPT_PATH)" \ --tool octave --srcdir $(srcdir) $(RUNTEST_FLAGS) $(testsuite); \ else \ echo "***"; \ echo "*** Sorry, I can't run tests without DejaGnu"; \ echo "***"; \ fi .PHONY: check install install-strip: all .PHONY: install install-strip 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