annotate liboctave/Makefile.in @ 1682:e436e535e295

[project @ 1995-12-30 03:42:27 by jwe]
author jwe
date Sat, 30 Dec 1995 03:45:22 +0000
parents 6e8ac624ed9b
children c5f9b6cea4a8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
1 #
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
2 # Makefile for octave's liboctave directory
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
3 #
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
4 # John W. Eaton
1452
2eb569ed50bf [project @ 1995-09-20 04:23:34 by jwe]
jwe
parents: 1393
diff changeset
5 # jwe@bevo.che.wisc.edu
2eb569ed50bf [project @ 1995-09-20 04:23:34 by jwe]
jwe
parents: 1393
diff changeset
6 # University of Wisconsin-Madison
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
7 # Department of Chemical Engineering
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
8
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
9 TOPDIR = ..
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
10
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
11 srcdir = @srcdir@
411
b936220a35cf [project @ 1994-04-20 07:59:48 by jwe]
jwe
parents: 308
diff changeset
12 top_srcdir = @top_srcdir@
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
13 VPATH = @srcdir@
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
14
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
15 include $(TOPDIR)/Makeconf
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
16
651
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
17 INSTALL = @INSTALL@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
18 INSTALL_PROGRAM = @INSTALL_PROGRAM@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
19 INSTALL_DATA = @INSTALL_DATA@
b4692246e165 [project @ 1994-08-25 04:14:15 by jwe]
jwe
parents: 573
diff changeset
20
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
21 MATRIX_INC := Array.h Array-idx.h MArray.h Matrix.h mx-base.h \
1560
27a03373de41 [project @ 1995-10-12 07:22:26 by jwe]
jwe
parents: 1551
diff changeset
22 mx-defs.h mx-ext.h CColVector.h CDiagMatrix.h CMatrix.h \
27a03373de41 [project @ 1995-10-12 07:22:26 by jwe]
jwe
parents: 1551
diff changeset
23 CRowVector.h CmplxAEPBAL.h CmplxCHOL.h CmplxDET.h CmplxHESS.h \
27a03373de41 [project @ 1995-10-12 07:22:26 by jwe]
jwe
parents: 1551
diff changeset
24 CmplxLU.h CmplxQR.h CmplxQRP.h CmplxSCHUR.h CmplxSVD.h EIG.h \
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1560
diff changeset
25 cMatrix.h \
535
2ce3b5a85b71 [project @ 1994-07-21 19:40:27 by jwe]
jwe
parents: 466
diff changeset
26 dColVector.h dDiagMatrix.h dMatrix.h dRowVector.h dbleAEPBAL.h \
2ce3b5a85b71 [project @ 1994-07-21 19:40:27 by jwe]
jwe
parents: 466
diff changeset
27 dbleCHOL.h dbleDET.h dbleGEPBAL.h dbleHESS.h dbleLU.h dbleQR.h \
2ce3b5a85b71 [project @ 1994-07-21 19:40:27 by jwe]
jwe
parents: 466
diff changeset
28 dbleQRP.h dbleSCHUR.h dbleSVD.h
466
05d84a40195d [project @ 1994-06-06 01:12:05 by jwe]
jwe
parents: 411
diff changeset
29
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
30 INCLUDES := Bounds.h CollocWt.h DAE.h DAEFunc.h FEGrid.h FSQP.h \
554
749e39bdb26d [project @ 1994-07-23 03:55:29 by jwe]
jwe
parents: 553
diff changeset
31 LinConst.h LP.h LPsolve.h NLConst.h NLEqn.h NLFunc.h NLP.h \
1666
90ee76b9fabe [project @ 1995-12-24 09:10:40 by jwe]
jwe
parents: 1650
diff changeset
32 NPSOL.h ODE.h ODEFunc.h Objective.h QP.h QPSOL.h \
1551
8f63ee44726c [project @ 1995-10-08 23:19:55 by jwe]
jwe
parents: 1548
diff changeset
33 Quad.h Range.h base-min.h f77-uscore.h idx-vector.h \
1650
23aa282707e8 [project @ 1995-12-20 06:53:12 by jwe]
jwe
parents: 1574
diff changeset
34 lo-error.h oct-cmplx.h sun-utils.h \
552
ec708469b7a2 [project @ 1994-07-23 03:28:58 by jwe]
jwe
parents: 535
diff changeset
35 $(MATRIX_INC)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
36
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
37 TEMPLATE_SRC := Array.cc MArray.cc
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 292
diff changeset
38
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
39 TI_SRC := Array-C.cc Array-c.cc Array-i.cc Array-d.cc Array-s.cc \
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1560
diff changeset
40 MArray-C.cc MArray-c.cc MArray-i.cc MArray-d.cc MArray-s.cc
759
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 651
diff changeset
41
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
42 MATRIX_SRC := Array-ext.cc CColVector.cc CDiagMatrix.cc CMatrix.cc \
1574
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1560
diff changeset
43 CRowVector.cc CmplxAEPBAL.cc CmplxCHOL.cc CmplxDET.cc \
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1560
diff changeset
44 CmplxHESS.cc CmplxLU.cc CmplxQR.cc CmplxQRP.cc CmplxSCHUR.cc \
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1560
diff changeset
45 CmplxSVD.cc EIG.cc cMatrix.cc dColVector.cc dDiagMatrix.cc \
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1560
diff changeset
46 dMatrix.cc dRowVector.cc dbleAEPBAL.cc dbleCHOL.cc \
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1560
diff changeset
47 dbleDET.cc dbleGEPBAL.cc dbleHESS.cc dbleLU.cc dbleQR.cc \
dd7d27461567 [project @ 1995-10-19 04:34:20 by jwe]
jwe
parents: 1560
diff changeset
48 dbleQRP.cc dbleSCHUR.cc dbleSVD.cc
466
05d84a40195d [project @ 1994-06-06 01:12:05 by jwe]
jwe
parents: 411
diff changeset
49
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
50 SOURCES := Bounds.cc CollocWt.cc DAE.cc FEGrid.cc FSQP.cc LinConst.cc \
1666
90ee76b9fabe [project @ 1995-12-24 09:10:40 by jwe]
jwe
parents: 1650
diff changeset
51 LPsolve.cc NLEqn.cc NPSOL.cc ODE.cc QPSOL.cc Quad.cc \
1551
8f63ee44726c [project @ 1995-10-08 23:19:55 by jwe]
jwe
parents: 1548
diff changeset
52 Range.cc idx-vector.cc lo-error.cc sun-utils.cc \
1533
fe059f3bae29 [project @ 1995-10-05 05:30:03 by jwe]
jwe
parents: 1530
diff changeset
53 $(TEMPLATE_SRC) \
fe059f3bae29 [project @ 1995-10-05 05:30:03 by jwe]
jwe
parents: 1530
diff changeset
54 $(TI_SRC) \
fe059f3bae29 [project @ 1995-10-05 05:30:03 by jwe]
jwe
parents: 1530
diff changeset
55 $(MATRIX_SRC)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
56
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
57 EXTRAS := mx-inlines.cc
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
58
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
59 DISTFILES := Makefile.in $(SOURCES) $(INCLUDES) $(EXTRAS)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
60
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
61 MAKEDEPS := $(patsubst %.cc, %.d, $(SOURCES))
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
62
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
63 OBJECTS := $(patsubst %.cc, %.o, $(SOURCES))
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
64
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
65 ifeq ($(SHARED_LIBS), true)
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
66 ifdef CXXPICFLAG
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
67 PICOBJ := $(addprefix pic/, $(OBJECTS))
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
68 else
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
69 PICOBJ := $(OBJECTS)
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
70 endif
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
71 endif
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
72
759
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 651
diff changeset
73 LIBOCTAVE_DEPEND := $(patsubst %, liboctave.a(%), $(OBJECTS))
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
74
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
75 all: stamp-picdir liboctave.a stamp-shared
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
76 .PHONY: all
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
77
1668
6e8ac624ed9b [project @ 1995-12-26 06:35:24 by jwe]
jwe
parents: 1666
diff changeset
78 stamp-picdir:
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
79 if [ -n "$(CXXPICFLAG)" ]; then \
1668
6e8ac624ed9b [project @ 1995-12-26 06:35:24 by jwe]
jwe
parents: 1666
diff changeset
80 if [ -d pic ]; then true; else mkdir pic ; fi ; \
6e8ac624ed9b [project @ 1995-12-26 06:35:24 by jwe]
jwe
parents: 1666
diff changeset
81 else true; fi
6e8ac624ed9b [project @ 1995-12-26 06:35:24 by jwe]
jwe
parents: 1666
diff changeset
82 touch stamp-picdir
6e8ac624ed9b [project @ 1995-12-26 06:35:24 by jwe]
jwe
parents: 1666
diff changeset
83
759
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 651
diff changeset
84 liboctave.a: $(OBJECTS)
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 651
diff changeset
85 $(AR) $(ARFLAGS) liboctave.a $(OBJECTS)
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 651
diff changeset
86 $(RANLIB) liboctave.a
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
87
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
88 stamp-shared:
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
89 if $(SHARED_LIBS); then \
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
90 $(CXX) -shared -o liboctave.$(SHLEXT) $(PICOBJ) \
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
91 -L../libcruft -lcruft; \
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
92 else true; fi
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
93 touch stamp-shared
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
94
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
95 check: all
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
96 .PHONY: check
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
97
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
98 install: all
810
1865b6725111 [project @ 1994-10-14 18:43:46 by jwe]
jwe
parents: 803
diff changeset
99 $(top_srcdir)/mkinstalldirs $(libdir) $(includedir)
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
100 rm -f $(libdir)/liboctave.a
759
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 651
diff changeset
101 $(INSTALL_DATA) liboctave.a $(libdir)/liboctave.a
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
102 $(RANLIB) $(libdir)/liboctave.a
1682
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
103 if $(SHARED_LIBS); then \
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
104 rm -f $(libdir)/liboctave.$(SHLEXT); \
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
105 $(INSTALL_DATA) liboctave.$(SHLEXT) $(libdir)/liboctave.$(SHLEXT); \
e436e535e295 [project @ 1995-12-30 03:42:27 by jwe]
jwe
parents: 1668
diff changeset
106 fi
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 292
diff changeset
107 for f in $(INCLUDES) $(TEMPLATE_SRC) ; do \
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
108 rm -f $(includedir)/$$f ; \
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
109 $(INSTALL_DATA) $(srcdir)/$$f $(includedir)/$$f ; \
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
110 done
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
111 .PHONY: install
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
112
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
113 uninstall:
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
114 rm -f $(libdir)/liboctave.a
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
115 for f in $(INCLUDES) ; do rm -f $(includedir)/$$f ; done
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
116 .PHONY: uninstall
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
117
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
118 tags: $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
119 ctags $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
120
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
121 TAGS: $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
122 etags $(SOURCES)
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
123
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
124 clean:
1668
6e8ac624ed9b [project @ 1995-12-26 06:35:24 by jwe]
jwe
parents: 1666
diff changeset
125 rm -f *.a *.o *.d pic/*.o
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
126 .PHONY: clean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
127
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
128 mostlyclean: clean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
129 .PHONY: mostlyclean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
130
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
131 distclean: clean
1460
fa8326a8eec8 [project @ 1995-09-20 06:11:06 by jwe]
jwe
parents: 1452
diff changeset
132 rm -f Makefile
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
133 .PHONY: distclean
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
134
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 1386
diff changeset
135 maintainer-clean: distclean
1460
fa8326a8eec8 [project @ 1995-09-20 06:11:06 by jwe]
jwe
parents: 1452
diff changeset
136 rm -f tags TAGS
1391
02a4e580de4e [project @ 1995-09-14 09:08:43 by jwe]
jwe
parents: 1386
diff changeset
137 .PHONY: maintainer-clean
3
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
138
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
139 local-dist:
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
140 ln $(DISTFILES) ../`cat ../.fname`/liboctave
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
141 .PHONY: local-dist
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
142
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
143 dist:
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
144 ln $(DISTFILES) ../`cat ../.fname`/liboctave
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
145 .PHONY: dist
9a4c07481e61 [project @ 1993-08-08 01:20:23 by jwe]
jwe
parents:
diff changeset
146
1393
a771d1785c2a [project @ 1995-09-14 09:31:16 by jwe]
jwe
parents: 1391
diff changeset
147 ifndef omit_deps
928
2f91e7098f8c [project @ 1994-11-15 21:53:40 by jwe]
jwe
parents: 810
diff changeset
148 -include $(MAKEDEPS)
1319
1270bf19f7fe [project @ 1995-08-22 00:43:02 by jwe]
jwe
parents: 1214
diff changeset
149 endif