diff options
author | Paul Smith <psmith@gnu.org> | 2000-03-29 03:23:18 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2000-03-29 03:23:18 +0000 |
commit | c67266ceacbde449be807d23c6d8df465c763a1e (patch) | |
tree | 74238fe6c94bc9a4f6483f7e22e85d4dfcf34064 /build.template | |
parent | 4145bcbcda65dbc65a06bb51868b4033a5ca4231 (diff) | |
download | gunmake-c67266ceacbde449be807d23c6d8df465c763a1e.tar.gz |
* New config.sub and config.guess3.78.92
* Update version number for release
* Fixes to the build.sh to handle i18n/gettext
* Make dash-n more robust.
Diffstat (limited to 'build.template')
-rw-r--r-- | build.template | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/build.template b/build.template index a91a3c1..1cf7cd8 100644 --- a/build.template +++ b/build.template @@ -27,7 +27,6 @@ CC='@CC@' CFLAGS='@CFLAGS@' CPPFLAGS='@CPPFLAGS@' LDFLAGS='@LDFLAGS@' -defines='@DEFS@ -DLIBDIR="${libdir}" -DINCLUDEDIR="${includedir}"' ALLOCA='@ALLOCA@' LOADLIBES='@LIBS@' extras='@LIBOBJS@' @@ -37,12 +36,17 @@ GLOBLIB='@GLOBLIB@' # Common prefix for machine-independent installed files. prefix='@prefix@' # Common prefix for machine-dependent installed files. -exec_prefix='@exec_prefix@' +exec_prefix=`eval echo @exec_prefix@` # Directory to find libraries in for `-lXXX'. libdir=${exec_prefix}/lib # Directory to search by default for included makefiles. includedir=${prefix}/include +localedir=${prefix}/share/locale +aliaspath=${localedir}:. + +defines="-DALIASPATH=\"${aliaspath}\" -DLOCALEDIR=\"${localedir}\" -DLIBDIR=\"${libdir}\" -DINCLUDEDIR=\"${includedir}\""' @DEFS@' + # Exit as soon as any command fails. set -e @@ -51,13 +55,14 @@ objs="%objs% remote-${REMOTE}.o ${extras} ${ALLOCA}" if [ x"$GLOBLIB" != x ]; then objs="$objs %globobjs%" + globinc=-I${srcdir}/glob fi # Compile the source files into those objects. for file in `echo ${objs} | sed 's/\.o/.c/g'`; do echo compiling ${file}... $CC $defines $CPPFLAGS $CFLAGS \ - -c -I. -I${srcdir} ${srcdir}/$file + -c -I. -I${srcdir} ${globinc} ${srcdir}/$file done # The object files were actually all put in the current directory. |