1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68
|
#
# Makefile for octave's examples 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
INSTALL = @INSTALL@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
INSTALL_DATA = @INSTALL_DATA@
SCRIPTS = info-emacs-info info-emacs-octave-help
SOURCES = hello.cc oregonator.m oregonator.cc make_int.cc
DISTFILES = Makefile.in $(SOURCES) $(SCRIPTS)
BINDISTFILES = $(addprefix $(srcdir)/, $(SCRIPTS))
SUBDIRS =
DISTSUBDIRS =
all:
.PHONY: all
install install-strip:
for f in $(SCRIPTS); do \
$(INSTALL_SCRIPT) $(srcdir)/$$f $(DESTDIR)$(archlibdir)/$$f; \
done
.PHONY: install install-strip
tags:
ctags $(SOURCES)
TAGS: $(SOURCES)
etags $(SOURCES)
clean mostlyclean:
.PHONY: clean mostlyclean
distclean:
rm -f Makefile
.PHONY: distclean
maintainer-clean: distclean
rm -f tags TAGS
.PHONY: maintainer-clean
dist:
ln $(DISTFILES) ../`cat ../.fname`/examples
.PHONY: dist
bin-dist:
if [ -n "$(BINDISTFILES)" ]; then \
ln $(BINDISTFILES) ../`cat ../.fname`/examples; \
fi
.PHONY: bin-dist
|