Mercurial > octave
comparison Makeconf.in @ 2993:91589ab98e37
[project @ 1997-05-21 21:44:54 by jwe]
author | jwe |
---|---|
date | Wed, 21 May 1997 21:51:38 +0000 |
parents | 1b219fa3c56a |
children | 5a9dd0a68b1d |
comparison
equal
deleted
inserted
replaced
2992:53b38bf1d443 | 2993:91589ab98e37 |
---|---|
167 | 167 |
168 # The prefix for Octave's include file directory. The default is | 168 # The prefix for Octave's include file directory. The default is |
169 # ${prefix}/include | 169 # ${prefix}/include |
170 includedir = @includedir@ | 170 includedir = @includedir@ |
171 | 171 |
172 # Where to install Octave's include files. The default is | |
173 # ${includedir}/octave-${version} | |
174 octincludedir = @octincludedir@ | |
175 | |
176 # Where to install Octave's man pages, and what extension they should | 172 # Where to install Octave's man pages, and what extension they should |
177 # have. The default is ${prefix}/man/man1 | 173 # have. The default is ${prefix}/man/man1 |
178 mandir = @mandir@ | 174 mandir = @mandir@ |
179 man1dir = @man1dir@ | 175 man1dir = @man1dir@ |
180 man1ext = @man1ext@ | 176 man1ext = @man1ext@ |
185 # The fill path to the default info file. | 181 # The fill path to the default info file. |
186 infofile = @infofile@ | 182 infofile = @infofile@ |
187 | 183 |
188 # ==================== Octave-specific directories ==================== | 184 # ==================== Octave-specific directories ==================== |
189 | 185 |
190 # These variables hold the values Octave will actually use. They are | 186 # These variables hold the values specific to Octave. They are |
191 # based on the values of the standard Make variables above. | 187 # based on the values of the standard Make variables above. |
188 | |
189 # Where to install Octave's library files. The default is | |
190 # ${libdir}/octave-${version} | |
191 octlibdir = @octlibdir@ | |
192 | |
193 # Where to install Octave's include files. The default is | |
194 # ${includedir}/octave-${version} | |
195 octincludedir = @octincludedir@ | |
192 | 196 |
193 # Where to install the function file distributed with | 197 # Where to install the function file distributed with |
194 # Octave. This includes the Octave version, so that the | 198 # Octave. This includes the Octave version, so that the |
195 # function files for different versions of Octave will install | 199 # function files for different versions of Octave will install |
196 # themselves in separate directories. | 200 # themselves in separate directories. |
318 -e "s;%FFLAGS%;\"${FFLAGS}\";" \ | 322 -e "s;%FFLAGS%;\"${FFLAGS}\";" \ |
319 -e "s;%FLIBS%;\"${FLIBS}\";" \ | 323 -e "s;%FLIBS%;\"${FLIBS}\";" \ |
320 -e "s;%FPICFLAG%;\"${FPICFLAG}\";" \ | 324 -e "s;%FPICFLAG%;\"${FPICFLAG}\";" \ |
321 -e "s;%GCC_IEEE_FP_FLAG%;\"${GCC_IEEE_FP_FLAG}\";" \ | 325 -e "s;%GCC_IEEE_FP_FLAG%;\"${GCC_IEEE_FP_FLAG}\";" \ |
322 -e "s;%HOST_CXXFLAGS%;\"${HOST_CXXFLAGS}\";" \ | 326 -e "s;%HOST_CXXFLAGS%;\"${HOST_CXXFLAGS}\";" \ |
323 -e "s;%INCFLAGS%;\"-I${includedir} -I${octincludedir}\";" \ | 327 -e "s;%INCFLAGS%;\"-I${octincludedir} -I${includedir}\";" \ |
324 -e "s;%LDFLAGS%;\"${LDFLAGS}\";" \ | 328 -e "s;%LDFLAGS%;\"${LDFLAGS}\";" \ |
325 -e "s;%LEXLIB%;\"${LEXLIB}\";" \ | 329 -e "s;%LEXLIB%;\"${LEXLIB}\";" \ |
326 -e "s;%LIBDLFCN%;\"${LIBDLFCN}\";" \ | 330 -e "s;%LIBDLFCN%;\"${LIBDLFCN}\";" \ |
327 -e "s;%LIBFLAGS%;\"-L${libdir}\";" \ | 331 -e "s;%LIBFLAGS%;\"-L${octlibdir} -L${libdir}\";" \ |
328 -e "s;%LIBPLPLOT%;\"${LIBPLPLOT}\";" \ | 332 -e "s;%LIBPLPLOT%;\"${LIBPLPLOT}\";" \ |
329 -e "s;%LIBS%;\"${LIBS}\";" \ | 333 -e "s;%LIBS%;\"${LIBS}\";" \ |
330 -e "s;%NO_IMPLICIT_TEMPLATES%;\"${NO_IMPLICIT_TEMPLATES}\";" \ | 334 -e "s;%NO_IMPLICIT_TEMPLATES%;\"${NO_IMPLICIT_TEMPLATES}\";" \ |
331 -e "s;%RLD_FLAG%;\"${RLD_FLAG}\";" \ | 335 -e "s;%RLD_FLAG%;\"${RLD_FLAG}\";" \ |
332 -e "s;%SH_LD%;\"${SH_LD}\";" \ | 336 -e "s;%SH_LD%;\"${SH_LD}\";" \ |
360 -e "s;%OCTAVE_OCTFILEDIR%;\"${octfiledir}\";" \ | 364 -e "s;%OCTAVE_OCTFILEDIR%;\"${octfiledir}\";" \ |
361 -e "s;%OCTAVE_PREFIX%;\"${prefix}\";" \ | 365 -e "s;%OCTAVE_PREFIX%;\"${prefix}\";" \ |
362 -e "s;%TARGET_HOST_TYPE%;\"${target_host_type}\";" | 366 -e "s;%TARGET_HOST_TYPE%;\"${target_host_type}\";" |
363 $(top_srcdir)/move-if-change $@.tmp $@ | 367 $(top_srcdir)/move-if-change $@.tmp $@ |
364 endef | 368 endef |
369 | |
370 # Make a relative symbolic link from $includedir/octave to $octincludedir. | |
371 | |
372 # XXX FIXME XXX -- this assumes that $octincludedir is a subdirectory | |
373 # of $includedir. | |
374 | |
375 define mk-includedir-link | |
376 src=`echo $(octincludedir) | sed 's|^$(includedir)/*||'` ; \ | |
377 if [ "$$src" = "octave" ] ; then \ | |
378 true ; \ | |
379 else \ | |
380 if [ -d $(includedir)/octave ] ; then \ | |
381 true ; \ | |
382 else \ | |
383 cd $(includedir) ; rm -f octave && $(LN_S) $$src octave ; \ | |
384 fi ; \ | |
385 fi | |
386 endef | |
387 | |
388 # Make a relative symbolic link from $libdir/octave to $octlibdir. | |
389 | |
390 # XXX FIXME XXX -- this assumes that $octlibdir is a subdirectory of $libdir. | |
391 | |
392 define mk-libdir-link | |
393 src=`echo $(octlibdir) | sed 's|^$(libdir)/*||'` ; \ | |
394 if [ "$$src" = "octave" ] ; then \ | |
395 true ; \ | |
396 else \ | |
397 if [ -d $(libdir)/octave ] ; then \ | |
398 true ; \ | |
399 else \ | |
400 cd $(libdir) ; rm -f octave && $(LN_S) $$src octave ; \ | |
401 fi ; \ | |
402 fi | |
403 endef |