annotate Makeconf.in @ 702:45764610984a

[project @ 1994-09-15 02:32:47 by jwe]
author jwe
date Thu, 15 Sep 1994 02:32:47 +0000
parents eb88bf09a645
children 6caaaf4c5dd4
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
1 #
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
2 # Common configuration rules for all of octave's Makefiles.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
3 #
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
4 # John W. Eaton
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
5 # jwe@che.utexas.edu
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
6 # Department of Chemical Engineering
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
7 # The University of Texas at Austin
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
8
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
9 SHELL = /bin/sh
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
10
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
11 #### Start of system configuration section. ####
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
12
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
13 LEX = @LEX@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
14 LFLAGS = @LFLAGS@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
15 LEXLIB = @LEXLIB@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
16
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
17 YACC = @YACC@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
18 YFLAGS = -dv
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
19
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
20 RANLIB = @RANLIB@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
21
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
22 RUNTEST = @RUNTEST@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
23
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
24 DEFAULT_PAGER = @DEFAULT_PAGER@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
25
702
45764610984a [project @ 1994-09-15 02:32:47 by jwe]
jwe
parents: 685
diff changeset
26 WITH_DLD = @use_dld@
45764610984a [project @ 1994-09-15 02:32:47 by jwe]
jwe
parents: 685
diff changeset
27
45764610984a [project @ 1994-09-15 02:32:47 by jwe]
jwe
parents: 685
diff changeset
28 OCTAVE_LITE = @lite_kernel@
45764610984a [project @ 1994-09-15 02:32:47 by jwe]
jwe
parents: 685
diff changeset
29
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
30 # Fortran to C translator and associated flags.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
31
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
32 F2C = @F2C@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
33 F2CFLAGS = @F2CFLAGS@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
34
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
35 # Fortran compiler flags.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
36
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
37 FFLAGS = @FFLAGS@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
38
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
39 # cc and associated flags.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
40
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
41 # 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
42 # directory.
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
43 ifeq ($(srcdir),.)
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
44 TMP_IF_1 = -I. -I../src
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
45 else
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
46 TMP_IF_1 = -I. -I$(srcdir) -I../src
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
47 endif
404
54741230fb83 [project @ 1994-04-20 05:38:17 by jwe]
jwe
parents: 325
diff changeset
48 ifeq ($(TOPDIR),$(top_srcdir))
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
49 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
50 else
507
68c580e45518 [project @ 1994-07-09 06:15:07 by jwe]
jwe
parents: 451
diff changeset
51 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
52 -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
53 endif
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
54 INCFLAGS = $(TMP_IF_1) $(TMP_IF_2)
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
55
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
56 LIBFLAGS = -L$(TOPDIR)
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
57
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
58 DEFS = @DEFS@
236
93bbd907de34 [project @ 1993-11-30 20:21:19 by jwe]
jwe
parents: 198
diff changeset
59 UGLY_DEFS = @UGLY_DEFS@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
60
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
61 CC = @CC@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
62 CFLAGS = @CFLAGS@
325
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
63 GCC_IEEE_FP_FLAG = @GCC_IEEE_FP_FLAG@
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
64 ALL_CFLAGS = $(INCFLAGS) $(DEFS) $(GCC_IEEE_FP_FLAG) $(CFLAGS)
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
65 UGLY_ALL_CFLAGS = $(INCFLAGS) $(UGLY_DEFS) $(GCC_IEEE_FP_FLAG) $(CFLAGS)
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
66
198
e34910e90474 [project @ 1993-11-07 13:06:22 by jwe]
jwe
parents: 187
diff changeset
67 CXX = @CXX@
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
68 CXXCPP = @CXXCPP@
198
e34910e90474 [project @ 1993-11-07 13:06:22 by jwe]
jwe
parents: 187
diff changeset
69 CXXFLAGS = @CXXFLAGS@
281
49a716824a86 [project @ 1994-01-09 05:34:26 by jwe]
jwe
parents: 236
diff changeset
70 EXTERNAL_TEMPLATES = @EXTERNAL_TEMPLATES@
324
7bf8cd7cafde [project @ 1994-02-02 10:58:58 by jwe]
jwe
parents: 308
diff changeset
71 ALL_CXXFLAGS = $(INCFLAGS) $(DEFS) $(EXTERNAL_TEMPLATES) \
325
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
72 $(GCC_IEEE_FP_FLAG) $(CXXFLAGS)
324
7bf8cd7cafde [project @ 1994-02-02 10:58:58 by jwe]
jwe
parents: 308
diff changeset
73 UGLY_ALL_CXXFLAGS = $(INCFLAGS) $(UGLY_DEFS) $(EXTERNAL_TEMPLATES) \
325
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
74 $(GCC_IEEE_FP_FLAG) $(CXXFLAGS)
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
75
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
76 LDFLAGS = @LDFLAGS@
325
76858c603790 [project @ 1994-02-02 11:06:54 by jwe]
jwe
parents: 324
diff changeset
77 ALL_LDFLAGS = $(LIBFLAGS) $(GCC_IEEE_FP_FLAG) $(LDFLAGS)
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
78
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
79 FLIBS = @FLIBS@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
80
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
81 # A shell command to extract the version number from version.h.
451
f4abf937d30c [project @ 1994-06-05 23:53:54 by jwe]
jwe
parents: 423
diff changeset
82 getversion = sed -e '/version_string/!d' -e 's/.*"\(.*\)".*/\1/' -e q
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
83
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
84 # The version number. TOPDIR is something like `.' or `..' or `../..'
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
85 # and gets us back up to the top level of the source tree.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
86 version = `$(getversion) $(srcdir)/$(TOPDIR)/src/version.h`
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
87
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
88 # ==================== Where To Install Things ====================
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
89
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
90 # The default location for installation. Everything is placed in
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
91 # 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
92 # 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
93 # 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
94 prefix = @prefix@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
95
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
96 # Like `prefix', but used for architecture-specific files.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
97 exec_prefix = @exec_prefix@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
98
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
99 # 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
100 # run directly.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
101 bindir = @bindir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
102
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
103 # Where to install architecture-independent data files. ${fcnfiledir}
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
104 # and ${localfcnfiledir} are subdirectories of this.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
105 datadir = @datadir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
106
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
107 # 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
108 # 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
109 # directly by users, and other architecture-dependent data.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
110 # ${archlibdir} is a subdirectory of this.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
111 libdir = @libdir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
112
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
113 # 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
114 # ${prefix}/include/octave
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
115 includedir = @includedir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
116
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
117 # 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
118 # have. The default is ${prefix}/man/man1
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
119 mandir = @mandir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
120 manext = 1
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
121
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
122 # 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
123 infodir = @infodir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
124
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
125 # ==================== Octave-specific directories ====================
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
126
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
127 # 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
128 # 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
129
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
130 # Where to install the function file distributed with
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
131 # Octave. This includes the Octave version, so that the
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
132 # function files for different versions of Octave will install
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
133 # themselves in separate directories.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
134 fcnfiledir = @fcnfiledir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
135
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
136 # Directories Octave should search for function files specific
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
137 # to this site (i.e. customizations), before consulting
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
138 # ${fcnfiledir}. This should be a colon-separated list of
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
139 # directories.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
140 localfcnfilepath = @localfcnfilepath@
5
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 put executables to be run by Octave rather than
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
143 # the user. This path usually includes the Octave version
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
144 # and configuration name, so that multiple configurations
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
145 # 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
146 archlibdir = @archlibdir@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
147
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
148 # 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
149 # This path usually includes the Octave version and configuration
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
150 # name, so that multiple configurations for multiple versions of
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
151 # Octave may be installed at once.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
152 octfiledir = @octfiledir@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
153
666
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
154 # 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
155 # dynamically loaded and that are specific to this site
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
156 # (i.e. customizations), before consulting ${octfiledir}. This should
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
157 # be a colon-separated list of directories.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
158 localoctfilepath = @localoctfilepath@
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
159
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
160 # 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
161 # 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
162 # better be served by changing localfcnfilepath. This
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
163 # should be a colon-separated list of directories.
fb4f6556b443 [project @ 1994-09-06 21:22:46 by jwe]
jwe
parents: 651
diff changeset
164 fcnfilepath = @fcnfilepath@
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
165
685
eb88bf09a645 [project @ 1994-09-09 19:08:15 by jwe]
jwe
parents: 666
diff changeset
166 # Where Octave will search to find image files.es.
eb88bf09a645 [project @ 1994-09-09 19:08:15 by jwe]
jwe
parents: 666
diff changeset
167 imagepath = @imagepath@
eb88bf09a645 [project @ 1994-09-09 19:08:15 by jwe]
jwe
parents: 666
diff changeset
168
5
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
169 # The type of computer we are running on.
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
170 target_host_type = @target_host_type@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
171
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
172 # The following pattern rules and the substitution functions require
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
173 # GNU make. If you don't have it, get it!
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
174
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
175 @DEFAULT_DOT_C_FROM_DOT_F@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
176
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
177 @DEFAULT_DOT_O_FROM_DOT_F@
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
178
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
179 # How to make .o files from .c files:
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
180
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
181 .c.o:
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
182 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) $<
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
183
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
184 .cc.o:
9c27e323492f [project @ 1993-08-08 01:29:13 by jwe]
jwe
parents:
diff changeset
185 $(CXX) -c $(CPPFLAGS) $(ALL_CXXFLAGS) $<
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
186
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
187 # 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
188
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
189 %.d: %.cc
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
190 @echo making $@ from $<
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
191 @rm -f $@
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
192 @-if test "$(srcdir)" = "." ; then \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
193 $(CXX) -MM $(CPPFLAGS) $(ALL_CXXFLAGS) $< | \
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
194 sed -e 's/$*\.o/& $@/g' > $@.tmp ; \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
195 else \
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
196 $(CXX) -MM $(CPPFLAGS) $(ALL_CXXFLAGS) $< | \
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
197 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
198 fi
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
199 @mv $@.tmp $@
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
200
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
201 # And one for .c files.too:
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
202
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
203 %.d: %.c
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
204 @echo making $@ from $<
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
205 @rm -f $@
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
206 @-if test "$(srcdir)" = "." ; then \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
207 $(CC) -MM $(CPPFLAGS) $(ALL_CFLAGS) $< | \
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
208 sed -e 's/$*\.o/& $@/g' > $@.tmp ; \
308
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
209 else \
3916fadea706 [project @ 1994-01-19 01:28:46 by jwe]
jwe
parents: 281
diff changeset
210 $(CC) -MM $(CPPFLAGS) $(ALL_CFLAGS) $< | \
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
211 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
212 fi
518
2349d5721cd9 [project @ 1994-07-19 14:31:14 by jwe]
jwe
parents: 507
diff changeset
213 @mv $@.tmp $@