annotate Makeconf.in @ 2488:d4eb39779b88

[project @ 1996-11-08 22:35:59 by jwe]
author jwe
date Fri, 08 Nov 1996 22:37:42 +0000
parents dc870b8b229f
children fda09c1e787e
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
1450
2f4a1acb555d [project @ 1995-09-20 03:55:17 by jwe]
jwe
parents: 1242
diff changeset
6 # jwe@bevo.che.wisc.edu
2f4a1acb555d [project @ 1995-09-20 03:55:17 by jwe]
jwe
parents: 1242
diff changeset
7 # University of Wisconsin-Madison
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
8 # Department of Chemical Engineering
1450
2f4a1acb555d [project @ 1995-09-20 03:55:17 by jwe]
jwe
parents: 1242
diff changeset
9
5
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
1462
8aa535221fa1 [project @ 1995-09-22 01:29:00 by jwe]
jwe
parents: 1450
diff changeset
21 AR = @AR@
8aa535221fa1 [project @ 1995-09-22 01:29:00 by jwe]
jwe
parents: 1450
diff changeset
22 ARFLAGS = @ARFLAGS@
8aa535221fa1 [project @ 1995-09-22 01:29:00 by jwe]
jwe
parents: 1450
diff changeset
23
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
24 RANLIB = @RANLIB@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
25
1722
d6c9a1db3f6b [project @ 1996-01-09 05:49:11 by jwe]
jwe
parents: 1720
diff changeset
26 LN_S = @LN_S@
d6c9a1db3f6b [project @ 1996-01-09 05:49:11 by jwe]
jwe
parents: 1720
diff changeset
27
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
28 RUNTEST = @RUNTEST@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
29
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
30 DEFAULT_PAGER = @DEFAULT_PAGER@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
31
1679
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
32 WITH_DL = @WITH_DL@
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
33 WITH_SHL = @WITH_SHL@
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
34
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
35 WITH_DYNAMIC_LINKING = @WITH_DYNAMIC_LINKING@
702
45764610984a [project @ 1994-09-15 02:32:47 by jwe]
jwe
parents: 685
diff changeset
36
1679
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
37 OCTAVE_LITE = @OCTAVE_LITE@
702
45764610984a [project @ 1994-09-15 02:32:47 by jwe]
jwe
parents: 685
diff changeset
38
1679
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
39 SHARED_LIBS = @SHARED_LIBS@
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
40 SHLEXT = @SHLEXT@
1667
f1b5a5086e46 [project @ 1995-12-26 04:14:18 by jwe]
jwe
parents: 1663
diff changeset
41
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
42 # Fortran to C translator and associated flags.
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 F2C = @F2C@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
45 F2CFLAGS = @F2CFLAGS@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
46
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
47 # Fortran compiler flags.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
48
1163
f963aa9821b5 [project @ 1995-03-01 03:24:33 by jwe]
jwe
parents: 1105
diff changeset
49 FC = @FC@
798
0acec886a912 [project @ 1994-10-13 04:57:48 by jwe]
jwe
parents: 759
diff changeset
50 F77 = @F77@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
51 FFLAGS = @FFLAGS@
1832
0c0d14cc90cd [project @ 1996-02-03 05:03:40 by jwe]
jwe
parents: 1722
diff changeset
52 FPICFLAG = @FPICFLAG@
1177
da83c9182359 [project @ 1995-03-22 14:35:18 by jwe]
jwe
parents: 1166
diff changeset
53 FUGLY = @FUGLY@
da83c9182359 [project @ 1995-03-22 14:35:18 by jwe]
jwe
parents: 1166
diff changeset
54 ALL_FFLAGS = $(FUGLY) $(FFLAGS)
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
55
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
56 # cc and associated flags.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
57
2064
424b95481a85 [project @ 1996-04-07 22:25:33 by jwe]
jwe
parents: 2054
diff changeset
58 DLFCN_INCFLAGS = @DLFCN_INCFLAGS@
424b95481a85 [project @ 1996-04-07 22:25:33 by jwe]
jwe
parents: 2054
diff changeset
59
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
60 # 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
61 # directory.
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
62 ifeq ($(srcdir),.)
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
63 TMP_IF_1 = -I. -I../src
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
64 else
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
65 TMP_IF_1 = -I. -I$(srcdir) -I../src
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
66 endif
404
54741230fb83 [project @ 1994-04-20 05:38:17 by jwe]
jwe
parents: 325
diff changeset
67 ifeq ($(TOPDIR),$(top_srcdir))
1832
0c0d14cc90cd [project @ 1996-02-03 05:03:40 by jwe]
jwe
parents: 1722
diff changeset
68 TMP_IF_2 = -I$(TOPDIR) -I$(TOPDIR)/liboctave -I$(TOPDIR)/src \
0c0d14cc90cd [project @ 1996-02-03 05:03:40 by jwe]
jwe
parents: 1722
diff changeset
69 -I$(TOPDIR)/glob
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
70 else
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
71 TMP_IF_2 = -I$(TOPDIR) -I$(TOPDIR)/liboctave -I$(TOPDIR)/src \
1832
0c0d14cc90cd [project @ 1996-02-03 05:03:40 by jwe]
jwe
parents: 1722
diff changeset
72 -I$(TOPDIR)/glob -I$(top_srcdir) -I$(top_srcdir)/liboctave \
0c0d14cc90cd [project @ 1996-02-03 05:03:40 by jwe]
jwe
parents: 1722
diff changeset
73 -I$(top_srcdir)/src -I$(top_srcdir)/glob
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
74 endif
2386
4fc9fd1424a9 [project @ 1996-10-12 18:31:34 by jwe]
jwe
parents: 2259
diff changeset
75 INCFLAGS = $(TMP_IF_1) $(TMP_IF_2) $(DLFCN_INCFLAGS)
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
76
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
77 LIBFLAGS = -L$(TOPDIR)
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
78
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
79 DEFS = @DEFS@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
80
2032
86d6c42c192a [project @ 1996-03-26 08:46:39 by jwe]
jwe
parents: 1984
diff changeset
81 UGLY_DEFS = @UGLY_DEFS@
86d6c42c192a [project @ 1996-03-26 08:46:39 by jwe]
jwe
parents: 1984
diff changeset
82
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
83 CC = @CC@
1891
96d926e193cf [project @ 1996-02-08 16:13:26 by jwe]
jwe
parents: 1832
diff changeset
84 CC_VERSION = @CC_VERSION@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
85 CFLAGS = @CFLAGS@
1832
0c0d14cc90cd [project @ 1996-02-03 05:03:40 by jwe]
jwe
parents: 1722
diff changeset
86 CPICFLAG = @CPICFLAG@
325
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
87 GCC_IEEE_FP_FLAG = @GCC_IEEE_FP_FLAG@
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
88 ALL_CFLAGS = $(INCFLAGS) $(DEFS) $(GCC_IEEE_FP_FLAG) $(CFLAGS)
798
0acec886a912 [project @ 1994-10-13 04:57:48 by jwe]
jwe
parents: 759
diff changeset
89 BUG_CFLAGS = $(DEFS) $(GCC_IEEE_FP_FLAG) $(CFLAGS)
0acec886a912 [project @ 1994-10-13 04:57:48 by jwe]
jwe
parents: 759
diff changeset
90
198
e34910e90474 [project @ 1993-11-07 13:06:22 by jwe]
jwe
parents: 187
diff changeset
91 CXX = @CXX@
1891
96d926e193cf [project @ 1996-02-08 16:13:26 by jwe]
jwe
parents: 1832
diff changeset
92 CXX_VERSION = @CXX_VERSION@
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
93 CXXCPP = @CXXCPP@
198
e34910e90474 [project @ 1993-11-07 13:06:22 by jwe]
jwe
parents: 187
diff changeset
94 CXXFLAGS = @CXXFLAGS@
1832
0c0d14cc90cd [project @ 1996-02-03 05:03:40 by jwe]
jwe
parents: 1722
diff changeset
95 CXXPICFLAG = @CXXPICFLAG@
759
3fc1ccd5a9db [project @ 1994-10-02 15:34:26 by jwe]
jwe
parents: 727
diff changeset
96 NO_IMPLICIT_TEMPLATES = @NO_IMPLICIT_TEMPLATES@
1018
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
97 HOST_CXXFLAGS = @HOST_CXXFLAGS@
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
98 ALL_CXXFLAGS = $(INCFLAGS) $(DEFS) $(HOST_CXXFLAGS) \
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
99 $(NO_IMPLICIT_TEMPLATES) $(GCC_IEEE_FP_FLAG) $(CXXFLAGS)
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
100 UGLY_ALL_CXXFLAGS = $(INCFLAGS) $(UGLY_DEFS) $(HOST_CXXFLAGS) \
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
101 $(NO_IMPLICIT_TEMPLATES) $(GCC_IEEE_FP_FLAG) $(CXXFLAGS)
9a64a46f2224 [project @ 1995-01-07 19:29:43 by jwe]
jwe
parents: 996
diff changeset
102 BUG_CXXFLAGS = $(DEFS) $(HOST_CXXFLAGS) $(NO_IMPLICIT_TEMPLATES) \
325
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
103 $(GCC_IEEE_FP_FLAG) $(CXXFLAGS)
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
104
858
a85ab265d138 [project @ 1994-10-28 19:52:07 by jwe]
jwe
parents: 827
diff changeset
105 CPPFLAGS = @CPPFLAGS@
a85ab265d138 [project @ 1994-10-28 19:52:07 by jwe]
jwe
parents: 827
diff changeset
106
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
107 LDFLAGS = @LDFLAGS@
708
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
108 LD_STATIC_FLAG = @LD_STATIC_FLAG@
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
109 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
110
1679
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
111 RLD_FLAG = @RLD_FLAG@
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
112
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
113 FLIBS = @FLIBS@
708
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
114
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
115 CXXLIBS = @CXXLIBS@
6caaaf4c5dd4 [project @ 1994-09-16 13:57:43 by jwe]
jwe
parents: 702
diff changeset
116
2147
678cb6a93368 [project @ 1996-05-13 06:14:14 by jwe]
jwe
parents: 2141
diff changeset
117 TERMLIBS = @TERMLIBS@
678cb6a93368 [project @ 1996-05-13 06:14:14 by jwe]
jwe
parents: 2141
diff changeset
118 LIBPLPLOT = @LIBPLPLOT@
678cb6a93368 [project @ 1996-05-13 06:14:14 by jwe]
jwe
parents: 2141
diff changeset
119 LIBDLFCN = @LIBDLFCN@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
120
2257
22f40c3d0600 [project @ 1996-05-22 20:55:43 by jwe]
jwe
parents: 2256
diff changeset
121 SH_FLIBS = @SH_FLIBS@
22f40c3d0600 [project @ 1996-05-22 20:55:43 by jwe]
jwe
parents: 2256
diff changeset
122 SH_TERMLIBS = @SH_TERMLIBS@
22f40c3d0600 [project @ 1996-05-22 20:55:43 by jwe]
jwe
parents: 2256
diff changeset
123 SH_LIBS = @SH_LIBS@
22f40c3d0600 [project @ 1996-05-22 20:55:43 by jwe]
jwe
parents: 2256
diff changeset
124
2155
85fd0a6f3c97 [project @ 1996-05-13 09:02:48 by jwe]
jwe
parents: 2147
diff changeset
125 # The arguments passed to configure.
2156
be6e76ca8a84 [project @ 1996-05-13 09:10:08 by jwe]
jwe
parents: 2155
diff changeset
126 config_opts = @config_opts@
2155
85fd0a6f3c97 [project @ 1996-05-13 09:02:48 by jwe]
jwe
parents: 2147
diff changeset
127
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
128 # 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
129 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
130
2488
d4eb39779b88 [project @ 1996-11-08 22:35:59 by jwe]
jwe
parents: 2439
diff changeset
131 # Look for version.h to get version information.
d4eb39779b88 [project @ 1996-11-08 22:35:59 by jwe]
jwe
parents: 2439
diff changeset
132 xfiles := $(TOPDIR)/src/version.h $(srcdir)/$(TOPDIR)/src/version.h
d4eb39779b88 [project @ 1996-11-08 22:35:59 by jwe]
jwe
parents: 2439
diff changeset
133 version_file := $(firstword $(foreach file, $(xfiles), $(wildcard $(file))))
d4eb39779b88 [project @ 1996-11-08 22:35:59 by jwe]
jwe
parents: 2439
diff changeset
134 version := $(shell $(getversion) $(version_file))
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
135
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
136 # ==================== Where To Install Things ====================
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
137
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
138 # The default location for installation. Everything is placed in
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
139 # 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
140 # 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
141 # 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
142 prefix = @prefix@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
143
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
144 # Like `prefix', but used for architecture-specific files.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
145 exec_prefix = @exec_prefix@
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 # 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
148 # run directly.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
149 bindir = @bindir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
150
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
151 # Where to install architecture-independent data files. ${fcnfiledir}
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
152 # and ${localfcnfiledir} are subdirectories of this.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
153 datadir = @datadir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
154
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
155 # Where to install and expect libraries like libcruft.a, liboctave.a,
1720
36df074f5274 [project @ 1996-01-09 05:38:18 by jwe]
jwe
parents: 1685
diff changeset
156 # and libreadline.a and other architecture-dependent data. The
36df074f5274 [project @ 1996-01-09 05:38:18 by jwe]
jwe
parents: 1685
diff changeset
157 # directory ${archlibdir} is a subdirectory of this.
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
158 libdir = @libdir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
159
1720
36df074f5274 [project @ 1996-01-09 05:38:18 by jwe]
jwe
parents: 1685
diff changeset
160 # Where to install and expect executable programs to be run by Octave
36df074f5274 [project @ 1996-01-09 05:38:18 by jwe]
jwe
parents: 1685
diff changeset
161 # rather than directly by users.
36df074f5274 [project @ 1996-01-09 05:38:18 by jwe]
jwe
parents: 1685
diff changeset
162 libexecdir = @libexecdir@
36df074f5274 [project @ 1996-01-09 05:38:18 by jwe]
jwe
parents: 1685
diff changeset
163
2141
420afeadbb45 [project @ 1996-05-13 04:29:02 by jwe]
jwe
parents: 2064
diff changeset
164 # The prefix for Octave's include file directory. The default is
420afeadbb45 [project @ 1996-05-13 04:29:02 by jwe]
jwe
parents: 2064
diff changeset
165 # ${prefix}/include
2223
57429a64a466 [project @ 1996-05-17 08:06:01 by jwe]
jwe
parents: 2160
diff changeset
166 includedir = @includedir@
2141
420afeadbb45 [project @ 1996-05-13 04:29:02 by jwe]
jwe
parents: 2064
diff changeset
167
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
168 # Where to install Octave's include files. The default is
2223
57429a64a466 [project @ 1996-05-17 08:06:01 by jwe]
jwe
parents: 2160
diff changeset
169 # ${includedir}/octave-${version}
57429a64a466 [project @ 1996-05-17 08:06:01 by jwe]
jwe
parents: 2160
diff changeset
170 octincludedir = @octincludedir@
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
171
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
172 # 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
173 # have. The default is ${prefix}/man/man1
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
174 mandir = @mandir@
2223
57429a64a466 [project @ 1996-05-17 08:06:01 by jwe]
jwe
parents: 2160
diff changeset
175 man1dir = @man1dir@
57429a64a466 [project @ 1996-05-17 08:06:01 by jwe]
jwe
parents: 2160
diff changeset
176 man1ext = @man1ext@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
177
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
178 # 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
179 infodir = @infodir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
180
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
181 # ==================== Octave-specific directories ====================
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
182
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
183 # 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
184 # 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
185
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
186 # Where to install the function file distributed with
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
187 # Octave. This includes the Octave version, so that the
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
188 # function files for different versions of Octave will install
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
189 # themselves in separate directories.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
190 fcnfiledir = @fcnfiledir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
191
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
192 # Directories Octave should search for function files specific
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
193 # to this site (i.e. customizations), before consulting
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
194 # ${fcnfiledir}. This should be a colon-separated list of
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
195 # directories.
827
85039b726047 [project @ 1994-10-17 04:43:06 by jwe]
jwe
parents: 798
diff changeset
196 localfcnfiledir = @localfcnfiledir@
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
197 localfcnfilepath = @localfcnfilepath@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
198
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
199 # 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
200 # the user. This path usually includes the Octave version
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
201 # and configuration name, so that multiple configurations
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
202 # 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
203 archlibdir = @archlibdir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
204
2439
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2386
diff changeset
205 # Where to put executables to be run by Octave rather than by the
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2386
diff changeset
206 # user that are specific to this site.
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2386
diff changeset
207 localarchlibdir = @localarchlibdir@
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2386
diff changeset
208
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
209 # 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
210 # This path usually includes the Octave version and configuration
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
211 # name, so that multiple configurations for multiple versions of
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
212 # Octave may be installed at once.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
213 octfiledir = @octfiledir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
214
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
215 # 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
216 # dynamically loaded and that are specific to this site
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
217 # (i.e. customizations), before consulting ${octfiledir}. This should
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
218 # be a colon-separated list of directories.
827
85039b726047 [project @ 1994-10-17 04:43:06 by jwe]
jwe
parents: 798
diff changeset
219 localoctfiledir = @localoctfiledir@
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
220 localoctfilepath = @localoctfilepath@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
221
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
222 # 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
223 # 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
224 # better be served by changing localfcnfilepath. This
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
225 # should be a colon-separated list of directories.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
226 fcnfilepath = @fcnfilepath@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
227
685
eb88bf09a645 [project @ 1994-09-09 19:08:15 by jwe]
jwe
parents: 666
diff changeset
228 # 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
229 imagedir = @imagedir@
685
eb88bf09a645 [project @ 1994-09-09 19:08:15 by jwe]
jwe
parents: 666
diff changeset
230 imagepath = @imagepath@
eb88bf09a645 [project @ 1994-09-09 19:08:15 by jwe]
jwe
parents: 666
diff changeset
231
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
232 # The type of computer we are running on.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
233 target_host_type = @target_host_type@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
234
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
235 # The following pattern rules and the substitution functions require
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
236 # GNU make. If you don't have it, get it!
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
237
1679
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
238 # Rules for making object files from Fortran source.
994
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
239 #
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
240 # 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
241 # 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
242 # will not invoke the fortran compiler by mistake.
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
243 #
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
244 # 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
245 # 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
246 # 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
247 # no pattern or command for that.
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
248
1679
7dbdf23e1d18 [project @ 1995-12-30 03:32:34 by jwe]
jwe
parents: 1668
diff changeset
249 @f77_rules_frag@
994
6ada1ed8eba6 [project @ 1994-12-16 01:24:27 by jwe]
jwe
parents: 860
diff changeset
250
1668
6e8ac624ed9b [project @ 1995-12-26 06:35:24 by jwe]
jwe
parents: 1667
diff changeset
251 # How to make .o files:
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
252
1984
1c121da7b952 [project @ 1996-02-29 14:57:47 by jwe]
jwe
parents: 1892
diff changeset
253 %.o : %.c
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
254 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
255
1984
1c121da7b952 [project @ 1996-02-29 14:57:47 by jwe]
jwe
parents: 1892
diff changeset
256 %.o : %.cc
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
257 $(CXX) -c $(CPPFLAGS) $(ALL_CXXFLAGS) $<
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
258
1984
1c121da7b952 [project @ 1996-02-29 14:57:47 by jwe]
jwe
parents: 1892
diff changeset
259 pic/%.o : %.c
1c121da7b952 [project @ 1996-02-29 14:57:47 by jwe]
jwe
parents: 1892
diff changeset
260 $(CC) -c $(CPPFLAGS) $(CPICFLAG) $(ALL_CFLAGS) $< -o $@
1c121da7b952 [project @ 1996-02-29 14:57:47 by jwe]
jwe
parents: 1892
diff changeset
261
1c121da7b952 [project @ 1996-02-29 14:57:47 by jwe]
jwe
parents: 1892
diff changeset
262 pic/%.o : %.cc
1c121da7b952 [project @ 1996-02-29 14:57:47 by jwe]
jwe
parents: 1892
diff changeset
263 $(CXX) -c $(CPPFLAGS) $(CXXPICFLAG) $(ALL_CXXFLAGS) $< -o $@
1c121da7b952 [project @ 1996-02-29 14:57:47 by jwe]
jwe
parents: 1892
diff changeset
264
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
265 # 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
266
1984
1c121da7b952 [project @ 1996-02-29 14:57:47 by jwe]
jwe
parents: 1892
diff changeset
267 %.d : %.cc
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
268 @echo making $@ from $<
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
269 @rm -f $@
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
270 @-if test "$(srcdir)" = "." ; then \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
271 $(CXX) -MM $(CPPFLAGS) $(ALL_CXXFLAGS) $< | \
2054
ec7dd9f85f42 [project @ 1996-04-07 03:45:40 by jwe]
jwe
parents: 2032
diff changeset
272 sed -e 's,$*\.o,pic/& & $@,g' > $@.tmp ; \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
273 else \
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
274 $(CXX) -MM $(CPPFLAGS) $(ALL_CXXFLAGS) $< | \
2054
ec7dd9f85f42 [project @ 1996-04-07 03:45:40 by jwe]
jwe
parents: 2032
diff changeset
275 sed -e 's,$*\.o,pic/& & $@,g' -e 's,$(srcdir)/,,g' > $@.tmp ; \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
276 fi
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
277 @mv $@.tmp $@
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
278
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
279 # And one for .c files.too:
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
280
1984
1c121da7b952 [project @ 1996-02-29 14:57:47 by jwe]
jwe
parents: 1892
diff changeset
281 %.d : %.c
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
282 @echo making $@ from $<
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
283 @rm -f $@
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
284 @-if test "$(srcdir)" = "." ; then \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
285 $(CC) -MM $(CPPFLAGS) $(ALL_CFLAGS) $< | \
2054
ec7dd9f85f42 [project @ 1996-04-07 03:45:40 by jwe]
jwe
parents: 2032
diff changeset
286 sed -e 's,$*\.o,pic/& & $@,g' > $@.tmp ; \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
287 else \
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
288 $(CC) -MM $(CPPFLAGS) $(ALL_CFLAGS) $< | \
2054
ec7dd9f85f42 [project @ 1996-04-07 03:45:40 by jwe]
jwe
parents: 2032
diff changeset
289 sed -e 's,$*\.o,pic/& & $@,g' -e 's,$(srcdir)/,,g' > $@.tmp ; \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
290 fi
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
291 @mv $@.tmp $@
1166
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
292
1685
5738406d6759 [project @ 1995-12-30 04:12:43 by jwe]
jwe
parents: 1679
diff changeset
293 define do-subdir-for-command
5738406d6759 [project @ 1995-12-30 04:12:43 by jwe]
jwe
parents: 1679
diff changeset
294 echo making $@ in $d; cd $d; $(MAKE) $@; cd ..;
1166
4e39d71f1ff2 [project @ 1995-03-10 16:32:58 by jwe]
jwe
parents: 1163
diff changeset
295 endef
1685
5738406d6759 [project @ 1995-12-30 04:12:43 by jwe]
jwe
parents: 1679
diff changeset
296
5738406d6759 [project @ 1995-12-30 04:12:43 by jwe]
jwe
parents: 1679
diff changeset
297 define subdir-for-command
5738406d6759 [project @ 1995-12-30 04:12:43 by jwe]
jwe
parents: 1679
diff changeset
298 $(foreach d, $(SUBDIRS), $(do-subdir-for-command))
5738406d6759 [project @ 1995-12-30 04:12:43 by jwe]
jwe
parents: 1679
diff changeset
299 endef
2157
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
300
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
301 define do-subst-config-vals
2223
57429a64a466 [project @ 1996-05-17 08:06:01 by jwe]
jwe
parents: 2160
diff changeset
302 echo "making $@ from $<"
2439
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2386
diff changeset
303 sed < $< \
2159
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
304 -e "s;%VERSION%;\"${version}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
305 -e "s;%config_opts%;\"${config_opts}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
306 -e "s;%TARGET_HOST_TYPE%;\"${target_host_type}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
307 -e "s;%F77%;\"${F77}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
308 -e "s;%FFLAGS%;\"${FFLAGS}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
309 -e "s;%FPICFLAG%;\"${FPICFLAG}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
310 -e "s;%F2C%;\"${F2C}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
311 -e "s;%F2CFLAGS%;\"${F2CFLAGS}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
312 -e "s;%FLIBS%;\"${FLIBS}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
313 -e "s;%CPPFLAGS%;\"${CPPFLAGS}\";" \
2223
57429a64a466 [project @ 1996-05-17 08:06:01 by jwe]
jwe
parents: 2160
diff changeset
314 -e "s;%INCFLAGS%;\"-I${includedir} -I${octincludedir}\";" \
2159
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
315 -e "s;%CC%;\"${CC}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
316 -e "s;%CC_VERSION%;\"${CC_VERSION}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
317 -e "s;%CFLAGS%;\"${BUG_CFLAGS}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
318 -e "s;%CPICFLAG%;\"${CPICFLAG}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
319 -e "s;%CXX%;\"${CXX}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
320 -e "s;%CXX_VERSION%;\"${CXX_VERSION}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
321 -e "s;%CXXFLAGS%;\"${CXXFLAGS}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
322 -e "s;%CXXPICFLAG%;\"${CXXPICFLAG}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
323 -e "s;%BUG_CXXFLAGS%;\"${BUG_CXXFLAGS}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
324 -e "s;%HOST_CXXFLAGS%;\"${HOST_CXXFLAGS}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
325 -e "s;%NO_IMPLICIT_TEMPLATES%;\"${NO_IMPLICIT_TEMPLATES}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
326 -e "s;%GCC_IEEE_FP_FLAG%;\"${GCC_IEEE_FP_FLAG}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
327 -e "s;%LDFLAGS%;\"${LDFLAGS}\";" \
2160
cb650e16f74a [project @ 1996-05-13 09:52:01 by jwe]
jwe
parents: 2159
diff changeset
328 -e "s;%LIBFLAGS%;\"-L${libdir}\";" \
2159
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
329 -e "s;%RLD_FLAG%;\"${RLD_FLAG}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
330 -e "s;%CXXLIBS%;\"${CXXLIBS}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
331 -e "s;%TERMLIBS%;\"${TERMLIBS}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
332 -e "s;%LIBS%;\"${LIBS}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
333 -e "s;%LEXLIB%;\"${LEXLIB}\";" \
aa04b4b4f285 [project @ 1996-05-13 09:30:35 by jwe]
jwe
parents: 2157
diff changeset
334 -e "s;%LIBPLPLOT%;\"${LIBPLPLOT}\";" \
2439
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2386
diff changeset
335 -e "s;%LIBDLFCN%;\"${LIBDLFCN}\";" | sed \
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2386
diff changeset
336 -e "s;%DEFS%;\"${UGLY_DEFS}\";" > $@.tmp
2157
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
337 $(top_srcdir)/move-if-change $@.tmp $@
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
338 endef
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
339
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
340 define do-subst-default-vals
2223
57429a64a466 [project @ 1996-05-17 08:06:01 by jwe]
jwe
parents: 2160
diff changeset
341 echo "making $@ from $<"
57429a64a466 [project @ 1996-05-17 08:06:01 by jwe]
jwe
parents: 2160
diff changeset
342 sed < $< > $@.tmp \
2157
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
343 -e "s;%DEFAULT_PAGER%;\"${DEFAULT_PAGER}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
344 -e "s;%OCTAVE_PREFIX%;\"${prefix}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
345 -e "s;%OCTAVE_EXEC_PREFIX%;\"${exec_prefix}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
346 -e "s;%OCTAVE_DATADIR%;\"${datadir}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
347 -e "s;%OCTAVE_BINDIR%;\"${bindir}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
348 -e "s;%OCTAVE_LIBDIR%;\"${libdir}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
349 -e "s;%OCTAVE_INFODIR%;\"${infodir}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
350 -e "s;%OCTAVE_FCNFILEDIR%;\"${fcnfiledir}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
351 -e "s;%OCTAVE_LOCALFCNFILEDIR%;\"${localfcnfiledir}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
352 -e "s;%OCTAVE_LOCALFCNFILEPATH%;\"${localfcnfilepath}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
353 -e "s;%OCTAVE_ARCHLIBDIR%;\"${archlibdir}\";" \
2439
dc870b8b229f [project @ 1996-10-30 07:57:31 by jwe]
jwe
parents: 2386
diff changeset
354 -e "s;%OCTAVE_LOCALARCHLIBDIR%;\"${localarchlibdir}\";" \
2157
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
355 -e "s;%OCTAVE_OCTFILEDIR%;\"${octfiledir}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
356 -e "s;%OCTAVE_LOCALOCTFILEPATH%;\"${localoctfilepath}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
357 -e "s;%OCTAVE_FCNFILEPATH%;\"${fcnfilepath}\";" \
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
358 -e "s;%OCTAVE_IMAGEPATH%;\"${imagepath}\";" \
2488
d4eb39779b88 [project @ 1996-11-08 22:35:59 by jwe]
jwe
parents: 2439
diff changeset
359 -e "s;%TARGET_HOST_TYPE%;\"${target_host_type}\";"
2157
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
360 $(top_srcdir)/move-if-change $@.tmp $@
a50f869537b9 [project @ 1996-05-13 09:17:52 by jwe]
jwe
parents: 2156
diff changeset
361 endef