annotate Makeconf.in @ 1232:5f1bb459e99c

[project @ 1995-04-10 05:20:52 by jwe] Initial revision
author jwe
date Mon, 10 Apr 1995 05:20:52 +0000
parents da83c9182359
children 579bec46ddeb
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
860
9f01b6c2a607 [project @ 1994-10-28 20:30:16 by jwe]
jwe
parents: 858
diff changeset
1 # @configure_input@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
2 #
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
3 # Common configuration rules for all of octave's Makefiles.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
4 #
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
5 # John W. Eaton
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
6 # jwe@che.utexas.edu
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
7 # Department of Chemical Engineering
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
8 # The University of Texas at Austin
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
9
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
10 SHELL = /bin/sh
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
11
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
12 #### Start of system configuration section. ####
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
13
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
14 LEX = @LEX@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
15 LFLAGS = @LFLAGS@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
16 LEXLIB = @LEXLIB@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
17
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
18 YACC = @YACC@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
19 YFLAGS = -dv
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
20
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
21 RANLIB = @RANLIB@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
22
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
23 RUNTEST = @RUNTEST@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
24
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
25 DEFAULT_PAGER = @DEFAULT_PAGER@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
26
702
45764610984a [project @ 1994-09-15 02:32:47 by jwe]
jwe
parents: 685
diff changeset
27 WITH_DLD = @use_dld@
45764610984a [project @ 1994-09-15 02:32:47 by jwe]
jwe
parents: 685
diff changeset
28
45764610984a [project @ 1994-09-15 02:32:47 by jwe]
jwe
parents: 685
diff changeset
29 OCTAVE_LITE = @lite_kernel@
45764610984a [project @ 1994-09-15 02:32:47 by jwe]
jwe
parents: 685
diff changeset
30
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
31 # Fortran to C translator and associated flags.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
32
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
33 F2C = @F2C@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
34 F2CFLAGS = @F2CFLAGS@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
35
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
36 # Fortran compiler flags.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
37
1163
f963aa9821b5 [project @ 1995-03-01 03:24:33 by jwe]
jwe
parents: 1105
diff changeset
38 FC = @FC@
798
0acec886a912 [project @ 1994-10-13 04:57:48 by jwe]
jwe
parents: 759
diff changeset
39 F77 = @F77@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
40 FFLAGS = @FFLAGS@
1177
da83c9182359 [project @ 1995-03-22 14:35:18 by jwe]
jwe
parents: 1166
diff changeset
41 FUGLY = @FUGLY@
da83c9182359 [project @ 1995-03-22 14:35:18 by jwe]
jwe
parents: 1166
diff changeset
42 ALL_FFLAGS = $(FUGLY) $(FFLAGS)
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
43
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
44 # cc and associated flags.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
45
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
46 # Clean up INCFLAGS a bit if we are not compiling in a separate
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
47 # directory.
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
48 ifeq ($(srcdir),.)
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
49 TMP_IF_1 = -I. -I../src
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
50 else
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
51 TMP_IF_1 = -I. -I$(srcdir) -I../src
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
52 endif
404
54741230fb83 [project @ 1994-04-20 05:38:17 by jwe]
jwe
parents: 325
diff changeset
53 ifeq ($(TOPDIR),$(top_srcdir))
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
54 TMP_IF_2 = -I$(TOPDIR) -I$(TOPDIR)/liboctave -I$(TOPDIR)/src
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
55 else
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
56 TMP_IF_2 = -I$(TOPDIR) -I$(TOPDIR)/liboctave -I$(TOPDIR)/src \
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
57 -I$(top_srcdir) -I$(top_srcdir)/liboctave -I$(top_srcdir)/src
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
58 endif
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
59 INCFLAGS = $(TMP_IF_1) $(TMP_IF_2)
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
60
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
61 LIBFLAGS = -L$(TOPDIR)
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
62
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
63 DEFS = @DEFS@
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
64 UGLY_DEFS = @UGLY_DEFS@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
65
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
66 CC = @CC@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
67 CFLAGS = @CFLAGS@
325
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
68 GCC_IEEE_FP_FLAG = @GCC_IEEE_FP_FLAG@
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
69 ALL_CFLAGS = $(INCFLAGS) $(DEFS) $(GCC_IEEE_FP_FLAG) $(CFLAGS)
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
70 UGLY_ALL_CFLAGS = $(INCFLAGS) $(UGLY_DEFS) $(GCC_IEEE_FP_FLAG) $(CFLAGS)
798
0acec886a912 [project @ 1994-10-13 04:57:48 by jwe]
jwe
parents: 759
diff changeset
71 BUG_CFLAGS = $(DEFS) $(GCC_IEEE_FP_FLAG) $(CFLAGS)
0acec886a912 [project @ 1994-10-13 04:57:48 by jwe]
jwe
parents: 759
diff changeset
72
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
73
198
e34910e90474 [project @ 1993-11-07 13:06:22 by jwe]
jwe
parents: 187
diff changeset
74 CXX = @CXX@
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
75 CXXCPP = @CXXCPP@
198
e34910e90474 [project @ 1993-11-07 13:06:22 by jwe]
jwe
parents: 187
diff changeset
76 CXXFLAGS = @CXXFLAGS@
759
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 727
diff changeset
77 NO_IMPLICIT_TEMPLATES = @NO_IMPLICIT_TEMPLATES@
1018
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
78 HOST_CXXFLAGS = @HOST_CXXFLAGS@
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
79 ALL_CXXFLAGS = $(INCFLAGS) $(DEFS) $(HOST_CXXFLAGS) \
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
80 $(NO_IMPLICIT_TEMPLATES) $(GCC_IEEE_FP_FLAG) $(CXXFLAGS)
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
81 UGLY_ALL_CXXFLAGS = $(INCFLAGS) $(UGLY_DEFS) $(HOST_CXXFLAGS) \
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
82 $(NO_IMPLICIT_TEMPLATES) $(GCC_IEEE_FP_FLAG) $(CXXFLAGS)
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
83 BUG_CXXFLAGS = $(DEFS) $(HOST_CXXFLAGS) $(NO_IMPLICIT_TEMPLATES) \
325
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
84 $(GCC_IEEE_FP_FLAG) $(CXXFLAGS)
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
85
858
a85ab265d138 [project @ 1994-10-28 19:52:07 by jwe]
jwe
parents: 827
diff changeset
86 CPPFLAGS = @CPPFLAGS@
a85ab265d138 [project @ 1994-10-28 19:52:07 by jwe]
jwe
parents: 827
diff changeset
87
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
88 LDFLAGS = @LDFLAGS@
708
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
89 LD_STATIC_FLAG = @LD_STATIC_FLAG@
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
90 ALL_LDFLAGS = $(LIBFLAGS) $(GCC_IEEE_FP_FLAG) $(LD_STATIC_FLAG) $(LDFLAGS)
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
91
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
92 FLIBS = @FLIBS@
708
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
93 FLIB_LIST = @FLIB_LIST@
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
94 FLIB_PATH = @FLIB_PATH@
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
95
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
96 CXXLIBS = @CXXLIBS@
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
97 CXXLIB_LIST = @CXXLIB_LIST@
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
98 CXXLIB_PATH = @CXXLIB_PATH@
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
99
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
100
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
101 # A shell command to extract the version number from version.h.
1105
05611efd5bfe [project @ 1995-02-14 22:37:27 by jwe]
jwe
parents: 1018
diff changeset
102 getversion = sed -e '/VERSION/!d' -e 's/.*"\(.*\)".*$$/\1/' -e q
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
103
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
104 # The version number. TOPDIR is something like `.' or `..' or `../..'
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
105 # and gets us back up to the top level of the source tree.
727
70e94717bd92 [project @ 1994-09-21 20:46:36 by jwe]
jwe
parents: 725
diff changeset
106 version := $(shell $(getversion) $(srcdir)/$(TOPDIR)/src/version.h)
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
107
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
108 # ==================== Where To Install Things ====================
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
109
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
110 # The default location for installation. Everything is placed in
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
111 # subdirectories of this directory. The default values for many of
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
112 # the variables below are expressed in terms of this one, so you may
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
113 # not need to change them. This defaults to /usr/local.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
114 prefix = @prefix@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
115
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
116 # Like `prefix', but used for architecture-specific files.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
117 exec_prefix = @exec_prefix@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
118
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
119 # Where to install Octave and other binaries that people will want to
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
120 # run directly.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
121 bindir = @bindir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
122
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
123 # Where to install architecture-independent data files. ${fcnfiledir}
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
124 # and ${localfcnfiledir} are subdirectories of this.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
125 datadir = @datadir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
126
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
127 # Where to install and expect libraries like libcruft.a, liboctave.a,
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
128 # and libreadline.a, executable files to be run by Octave rather than
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
129 # directly by users, and other architecture-dependent data.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
130 # ${archlibdir} is a subdirectory of this.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
131 libdir = @libdir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
132
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
133 # Where to install Octave's include files. The default is
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
134 # ${prefix}/include/octave
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
135 includedir = @includedir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
136
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
137 # Where to install Octave's man pages, and what extension they should
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
138 # have. The default is ${prefix}/man/man1
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
139 mandir = @mandir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
140 manext = 1
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
141
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
142 # Where to install and expect the info files describing Octave..
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
143 infodir = @infodir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
144
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
145 # ==================== Octave-specific directories ====================
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
146
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
147 # These variables hold the values Octave will actually use. They are
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
148 # based on the values of the standard Make variables above.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
149
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
150 # Where to install the function file distributed with
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
151 # Octave. This includes the Octave version, so that the
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
152 # function files for different versions of Octave will install
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
153 # themselves in separate directories.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
154 fcnfiledir = @fcnfiledir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
155
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
156 # Directories Octave should search for function files specific
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
157 # to this site (i.e. customizations), before consulting
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
158 # ${fcnfiledir}. This should be a colon-separated list of
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
159 # directories.
827
85039b726047 [project @ 1994-10-17 04:43:06 by jwe]
jwe
parents: 798
diff changeset
160 localfcnfiledir = @localfcnfiledir@
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
161 localfcnfilepath = @localfcnfilepath@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
162
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
163 # Where to put executables to be run by Octave rather than
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
164 # the user. This path usually includes the Octave version
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
165 # and configuration name, so that multiple configurations
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
166 # for multiple versions of Octave may be installed at once.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
167 archlibdir = @archlibdir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
168
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
169 # Where to put object files that will by dynamically loaded.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
170 # This path usually includes the Octave version and configuration
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
171 # name, so that multiple configurations for multiple versions of
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
172 # Octave may be installed at once.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
173 octfiledir = @octfiledir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
174
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
175 # Directories Octave should search for object files that will be
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
176 # dynamically loaded and that are specific to this site
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
177 # (i.e. customizations), before consulting ${octfiledir}. This should
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
178 # be a colon-separated list of directories.
827
85039b726047 [project @ 1994-10-17 04:43:06 by jwe]
jwe
parents: 798
diff changeset
179 localoctfiledir = @localoctfiledir@
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
180 localoctfilepath = @localoctfilepath@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
181
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
182 # Where Octave will search to find its function files. Before
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
183 # changing this, check to see if your purpose wouldn't
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
184 # better be served by changing localfcnfilepath. This
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
185 # should be a colon-separated list of directories.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
186 fcnfilepath = @fcnfilepath@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
187
685
eb88bf09a645 [project @ 1994-09-09 19:08:15 by jwe]
jwe
parents: 666
diff changeset
188 # Where Octave will search to find image files.es.
827
85039b726047 [project @ 1994-10-17 04:43:06 by jwe]
jwe
parents: 798
diff changeset
189 imagedir = @imagedir@
685
eb88bf09a645 [project @ 1994-09-09 19:08:15 by jwe]
jwe
parents: 666
diff changeset
190 imagepath = @imagepath@
eb88bf09a645 [project @ 1994-09-09 19:08:15 by jwe]
jwe
parents: 666
diff changeset
191
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
192 # The type of computer we are running on.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
193 target_host_type = @target_host_type@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
194
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
195 # The following pattern rules and the substitution functions require
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
196 # GNU make. If you don't have it, get it!
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
197
994
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
198 # Rules for making C source from Fortran source (if necessary).
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
199 #
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
200 # If we are using f2c there will be a command for the `%.c : %.f'
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
201 # pattern and no command for the `%.o : %.f' pattern, so that make
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
202 # will not invoke the fortran compiler by mistake.
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
203 #
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
204 # If we are not using f2c, it should be ok to have an empty rule for
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
205 # the pattern `%.c : %.f', but we don't want to replace make's default
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
206 # rule for making object from Fortran source files, so there should be
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
207 # no pattern or command for that.
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
208
994
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
209 %.c : %.f
996
24154cb763dc [project @ 1994-12-16 01:33:04 by jwe]
jwe
parents: 994
diff changeset
210 @DOT_C_FROM_DOT_F_CMD@
994
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
211
996
24154cb763dc [project @ 1994-12-16 01:33:04 by jwe]
jwe
parents: 994
diff changeset
212 @DOT_O_FROM_DOT_F_PAT@
1177
da83c9182359 [project @ 1995-03-22 14:35:18 by jwe]
jwe
parents: 1166
diff changeset
213 @DOT_O_FROM_DOT_F_CMD@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
214
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
215 # How to make .o files from .c files:
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
216
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
217 .c.o:
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
218 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
219
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
220 .cc.o:
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
221 $(CXX) -c $(CPPFLAGS) $(ALL_CXXFLAGS) $<
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
222
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
223 # Here is a rule for generating dependencies for .cc files:
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
224
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
225 %.d: %.cc
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
226 @echo making $@ from $<
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
227 @rm -f $@
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
228 @-if test "$(srcdir)" = "." ; then \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
229 $(CXX) -MM $(CPPFLAGS) $(ALL_CXXFLAGS) $< | \
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
230 sed -e 's/$*\.o/& $@/g' > $@.tmp ; \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
231 else \
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
232 $(CXX) -MM $(CPPFLAGS) $(ALL_CXXFLAGS) $< | \
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
233 sed -e 's/$*\.o/& $@/g' -e 's,$(srcdir)/,,g' > $@.tmp ; \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
234 fi
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
235 @mv $@.tmp $@
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
236
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
237 # And one for .c files.too:
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
238
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
239 %.d: %.c
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
240 @echo making $@ from $<
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
241 @rm -f $@
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
242 @-if test "$(srcdir)" = "." ; then \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
243 $(CC) -MM $(CPPFLAGS) $(ALL_CFLAGS) $< | \
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
244 sed -e 's/$*\.o/& $@/g' > $@.tmp ; \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
245 else \
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
246 $(CC) -MM $(CPPFLAGS) $(ALL_CFLAGS) $< | \
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
247 sed -e 's/$*\.o/& $@/g' -e 's,$(srcdir)/,,g' > $@.tmp ; \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
248 fi
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
249 @mv $@.tmp $@
1166
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
250
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
251 define SUBDIR_FOR_COMMAND
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
252 for dir in $(SUBDIRS); \
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
253 do \
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
254 echo making $@ in $$dir; \
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
255 cd $$dir; \
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
256 $(MAKE) $@; \
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
257 cd ..; \
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
258 done
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
259 endef