Mercurial > hg > octave-lyh
view liboctave/Makefile.in @ 292:e0b1d5ed15ab
[project @ 1994-01-15 21:50:56 by jwe]
author | jwe |
---|---|
date | Sat, 15 Jan 1994 21:51:16 +0000 |
parents | 780cbbc57b7c |
children | 3916fadea706 |
line wrap: on
line source
# # Makefile for octave's liboctave directory # # John W. Eaton # jwe@che.utexas.edu # Department of Chemical Engineering # The University of Texas at Austin TOPDIR = .. srcdir = @srcdir@ VPATH = @srcdir@ include $(TOPDIR)/Makeconf INCLUDES = Array.h Bounds.h CollocWt.h DAE.h DAEFunc.h FEGrid.h \ FSQP.h LinConst.h LP.h LPsolve.h MArray.h Matrix.h NLConst.h \ NLEqn.h NLFunc.h NLP.h NPSOL.h ODE.h ODEFunc.h Objective.h \ QLD.h QP.h QPSOL.h Quad.h Range.h mx-kludge.h lo-error.h \ f77-uscore.h sun-utils.h SOURCES = Array.cc Bounds.cc ColVector.cc CollocWt.cc DAE.cc \ DAEFunc.cc DiagMatrix.cc FEGrid.cc FSQP.cc LinConst.cc LP.cc \ LPsolve.cc Matrix-ext.cc Matrix.cc NLConst.cc NLEqn.cc \ NLFunc.cc NPSOL.cc Objective.cc ODE.cc ODEFunc.cc QLD.cc \ QP.cc QPSOL.cc Quad.cc Range.cc RowVector.cc lo-error.cc \ sun-utils.cc EXTRAS = MArray.cc mx-kludge.cc mx-inlines.cc DISTFILES = Makefile.in $(SOURCES) $(INCLUDES) $(EXTRAS) MAKEDEPS = $(patsubst %.cc, %.d, $(SOURCES)) OBJECTS = $(patsubst %.cc, %.o, $(SOURCES)) LIBOCTAVE_DEPEND := $(patsubst %, ../liboctave.a(%), $(OBJECTS)) all: ../liboctave.a .PHONY: all ../liboctave.a: $(OBJECTS) $(AR) $(ARFLAGS) ../liboctave.a $(OBJECTS) $(RANLIB) ../liboctave.a check: all .PHONY: check install: all if test -d $(libdir) ; then true ; else $(TOPDIR)/mkpath $(libdir) ; fi rm -f $(libdir)/liboctave.a $(INSTALL_DATA) ../liboctave.a $(libdir)/liboctave.a $(RANLIB) $(libdir)/liboctave.a if test -d $(includedir) ; then true ; \ else $(TOPDIR)/mkpath $(includedir) ; fi for f in $(INCLUDES) ; do \ rm -f $(includedir)/$$f ; \ $(INSTALL_DATA) $(srcdir)/$$f $(includedir)/$$f ; \ done .PHONY: install uninstall: rm -f $(libdir)/liboctave.a for f in $(INCLUDES) ; do rm -f $(includedir)/$$f ; done .PHONY: uninstall tags: $(SOURCES) ctags $(SOURCES) TAGS: $(SOURCES) etags $(SOURCES) clean: rm -f *.a *.o .PHONY: clean mostlyclean: clean .PHONY: mostlyclean distclean: clean rm -f Makefile ../liboctave.a $(TMPSRC) $(TMPINC) *.d .PHONY: distclean realclean: distclean rm -f tags TAGS *.d .PHONY: realclean local-dist: ln $(DISTFILES) ../`cat ../.fname`/liboctave .PHONY: local-dist dist: ln $(DISTFILES) ../`cat ../.fname`/liboctave .PHONY: dist include $(MAKEDEPS)