mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
* Makefile.tpl: Make subsituted variables more autoconfy. * Makefile.in: Regenerate. * configure: Make seds more autoconfy.
This commit is contained in:
parent
426ce14a22
commit
1ae955baac
@ -1,3 +1,9 @@
|
|||||||
|
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||||
|
|
||||||
|
* Makefile.tpl: Make subsituted variables more autoconfy.
|
||||||
|
* Makefile.in: Regenerate.
|
||||||
|
* configure: Make seds more autoconfy.
|
||||||
|
|
||||||
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
|
2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>
|
||||||
|
|
||||||
* Makefile.tpl: Rewrite substituted lines to look autoconfy.
|
* Makefile.tpl: Rewrite substituted lines to look autoconfy.
|
||||||
|
50
Makefile.in
50
Makefile.in
@ -26,29 +26,29 @@
|
|||||||
NOTPARALLEL = .NOTPARALLEL
|
NOTPARALLEL = .NOTPARALLEL
|
||||||
$(NOTPARALLEL):
|
$(NOTPARALLEL):
|
||||||
|
|
||||||
srcdir = .
|
srcdir = @srcdir@
|
||||||
|
|
||||||
prefix = /usr/local
|
prefix = @prefix@
|
||||||
exec_prefix = $(prefix)
|
exec_prefix = @exec_prefix@
|
||||||
|
|
||||||
bindir=${exec_prefix}/bin
|
bindir = @bindir@
|
||||||
sbindir=${exec_prefix}/sbin
|
sbindir = @sbindir@
|
||||||
libexecdir=${exec_prefix}/libexec
|
libexecdir = @libexecdir@
|
||||||
datadir=${prefix}/share
|
datadir = @datadir@
|
||||||
sysconfdir=${prefix}/etc
|
sysconfdir = @sysconfdir@
|
||||||
sharedstatedir=${prefix}/com
|
sharedstatedir = @sharedstatedir@
|
||||||
localstatedir=${prefix}/var
|
localstatedir = @localstatedir@
|
||||||
libdir=${exec_prefix}/lib
|
libdir = @libdir@
|
||||||
includedir=${prefix}/include
|
includedir = @includedir@
|
||||||
oldincludedir=/usr/include
|
oldincludedir = @oldincludedir@
|
||||||
infodir=${prefix}/info
|
infodir = @infodir@
|
||||||
mandir=${prefix}/man
|
mandir = @mandir@
|
||||||
gxx_include_dir=@gxx_include_dir@
|
gxx_include_dir=@gxx_include_dir@
|
||||||
|
|
||||||
tooldir = $(exec_prefix)/$(target_alias)
|
tooldir = @tooldir@
|
||||||
build_tooldir = $(exec_prefix)/$(target_alias)
|
build_tooldir = @build_tooldir@
|
||||||
|
|
||||||
program_transform_name =
|
program_transform_name = @program_transform_name@
|
||||||
|
|
||||||
man1dir = $(mandir)/man1
|
man1dir = $(mandir)/man1
|
||||||
man2dir = $(mandir)/man2
|
man2dir = $(mandir)/man2
|
||||||
@ -59,13 +59,11 @@ man6dir = $(mandir)/man6
|
|||||||
man7dir = $(mandir)/man7
|
man7dir = $(mandir)/man7
|
||||||
man8dir = $(mandir)/man8
|
man8dir = $(mandir)/man8
|
||||||
man9dir = $(mandir)/man9
|
man9dir = $(mandir)/man9
|
||||||
infodir = $(prefix)/info
|
|
||||||
includedir = $(prefix)/include
|
|
||||||
# Directory in which the compiler finds executables, libraries, etc.
|
# Directory in which the compiler finds executables, libraries, etc.
|
||||||
libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
|
libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
|
||||||
GDB_NLM_DEPS =
|
GDB_NLM_DEPS =
|
||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = @config_shell@
|
||||||
|
|
||||||
# pwd command to use. Allow user to override default by setting PWDCMD in
|
# pwd command to use. Allow user to override default by setting PWDCMD in
|
||||||
# the environment to account for automounters. The make variable must not
|
# the environment to account for automounters. The make variable must not
|
||||||
@ -130,9 +128,9 @@ BZIPPROG = bzip2
|
|||||||
MD5PROG = md5sum
|
MD5PROG = md5sum
|
||||||
|
|
||||||
# These values are substituted by configure.
|
# These values are substituted by configure.
|
||||||
DEFAULT_YACC = yacc
|
DEFAULT_YACC = @DEFAULT_YACC@
|
||||||
DEFAULT_LEX = lex
|
DEFAULT_LEX = @DEFAULT_LEX@
|
||||||
DEFAULT_M4 = m4
|
DEFAULT_M4 = @DEFAULT_M4@
|
||||||
|
|
||||||
BISON = `if [ -f $$r/bison/bison ] ; then \
|
BISON = `if [ -f $$r/bison/bison ] ; then \
|
||||||
echo $$r/bison/bison -L $$s/bison/ ; \
|
echo $$r/bison/bison -L $$s/bison/ ; \
|
||||||
@ -516,7 +514,7 @@ GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
|
|||||||
# macro for build!=host builds.
|
# macro for build!=host builds.
|
||||||
ALL_BUILD_MODULES_LIST = \
|
ALL_BUILD_MODULES_LIST = \
|
||||||
all-build-libiberty
|
all-build-libiberty
|
||||||
ALL_BUILD_MODULES =
|
ALL_BUILD_MODULES = @all_build_modules@
|
||||||
|
|
||||||
# This is a list of the configure targets for all of the modules which
|
# This is a list of the configure targets for all of the modules which
|
||||||
# are compiled using the native tools.
|
# are compiled using the native tools.
|
||||||
@ -1675,7 +1673,7 @@ all-gas: all-libiberty all-opcodes all-bfd all-intl
|
|||||||
all-gawk:
|
all-gawk:
|
||||||
all-gcc: all-bison all-byacc all-binutils all-gas all-ld all-zlib
|
all-gcc: all-bison all-byacc all-binutils all-gas all-ld all-zlib
|
||||||
all-bootstrap: all-libiberty all-texinfo all-bison all-byacc all-binutils all-gas all-ld all-zlib
|
all-bootstrap: all-libiberty all-texinfo all-bison all-byacc all-binutils all-gas all-ld all-zlib
|
||||||
GDB_TK = all-tk all-tcl all-itcl all-tix all-libgui
|
GDB_TK = @GDB_TK@
|
||||||
all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK)
|
all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK)
|
||||||
all-gettext:
|
all-gettext:
|
||||||
all-gnuserv:
|
all-gnuserv:
|
||||||
|
50
Makefile.tpl
50
Makefile.tpl
@ -29,29 +29,29 @@ in
|
|||||||
NOTPARALLEL = .NOTPARALLEL
|
NOTPARALLEL = .NOTPARALLEL
|
||||||
$(NOTPARALLEL):
|
$(NOTPARALLEL):
|
||||||
|
|
||||||
srcdir = .
|
srcdir = @srcdir@
|
||||||
|
|
||||||
prefix = /usr/local
|
prefix = @prefix@
|
||||||
exec_prefix = $(prefix)
|
exec_prefix = @exec_prefix@
|
||||||
|
|
||||||
bindir=${exec_prefix}/bin
|
bindir = @bindir@
|
||||||
sbindir=${exec_prefix}/sbin
|
sbindir = @sbindir@
|
||||||
libexecdir=${exec_prefix}/libexec
|
libexecdir = @libexecdir@
|
||||||
datadir=${prefix}/share
|
datadir = @datadir@
|
||||||
sysconfdir=${prefix}/etc
|
sysconfdir = @sysconfdir@
|
||||||
sharedstatedir=${prefix}/com
|
sharedstatedir = @sharedstatedir@
|
||||||
localstatedir=${prefix}/var
|
localstatedir = @localstatedir@
|
||||||
libdir=${exec_prefix}/lib
|
libdir = @libdir@
|
||||||
includedir=${prefix}/include
|
includedir = @includedir@
|
||||||
oldincludedir=/usr/include
|
oldincludedir = @oldincludedir@
|
||||||
infodir=${prefix}/info
|
infodir = @infodir@
|
||||||
mandir=${prefix}/man
|
mandir = @mandir@
|
||||||
gxx_include_dir=@gxx_include_dir@
|
gxx_include_dir=@gxx_include_dir@
|
||||||
|
|
||||||
tooldir = $(exec_prefix)/$(target_alias)
|
tooldir = @tooldir@
|
||||||
build_tooldir = $(exec_prefix)/$(target_alias)
|
build_tooldir = @build_tooldir@
|
||||||
|
|
||||||
program_transform_name =
|
program_transform_name = @program_transform_name@
|
||||||
|
|
||||||
man1dir = $(mandir)/man1
|
man1dir = $(mandir)/man1
|
||||||
man2dir = $(mandir)/man2
|
man2dir = $(mandir)/man2
|
||||||
@ -62,13 +62,11 @@ man6dir = $(mandir)/man6
|
|||||||
man7dir = $(mandir)/man7
|
man7dir = $(mandir)/man7
|
||||||
man8dir = $(mandir)/man8
|
man8dir = $(mandir)/man8
|
||||||
man9dir = $(mandir)/man9
|
man9dir = $(mandir)/man9
|
||||||
infodir = $(prefix)/info
|
|
||||||
includedir = $(prefix)/include
|
|
||||||
# Directory in which the compiler finds executables, libraries, etc.
|
# Directory in which the compiler finds executables, libraries, etc.
|
||||||
libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
|
libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
|
||||||
GDB_NLM_DEPS =
|
GDB_NLM_DEPS =
|
||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = @config_shell@
|
||||||
|
|
||||||
# pwd command to use. Allow user to override default by setting PWDCMD in
|
# pwd command to use. Allow user to override default by setting PWDCMD in
|
||||||
# the environment to account for automounters. The make variable must not
|
# the environment to account for automounters. The make variable must not
|
||||||
@ -133,9 +131,9 @@ BZIPPROG = bzip2
|
|||||||
MD5PROG = md5sum
|
MD5PROG = md5sum
|
||||||
|
|
||||||
# These values are substituted by configure.
|
# These values are substituted by configure.
|
||||||
DEFAULT_YACC = yacc
|
DEFAULT_YACC = @DEFAULT_YACC@
|
||||||
DEFAULT_LEX = lex
|
DEFAULT_LEX = @DEFAULT_LEX@
|
||||||
DEFAULT_M4 = m4
|
DEFAULT_M4 = @DEFAULT_M4@
|
||||||
|
|
||||||
BISON = `if [ -f $$r/bison/bison ] ; then \
|
BISON = `if [ -f $$r/bison/bison ] ; then \
|
||||||
echo $$r/bison/bison -L $$s/bison/ ; \
|
echo $$r/bison/bison -L $$s/bison/ ; \
|
||||||
@ -519,7 +517,7 @@ GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
|
|||||||
# macro for build!=host builds.
|
# macro for build!=host builds.
|
||||||
ALL_BUILD_MODULES_LIST = \
|
ALL_BUILD_MODULES_LIST = \
|
||||||
all-build-libiberty
|
all-build-libiberty
|
||||||
ALL_BUILD_MODULES =
|
ALL_BUILD_MODULES = @all_build_modules@
|
||||||
|
|
||||||
# This is a list of the configure targets for all of the modules which
|
# This is a list of the configure targets for all of the modules which
|
||||||
# are compiled using the native tools.
|
# are compiled using the native tools.
|
||||||
@ -1390,7 +1388,7 @@ all-gas: all-libiberty all-opcodes all-bfd all-intl
|
|||||||
all-gawk:
|
all-gawk:
|
||||||
all-gcc: all-bison all-byacc all-binutils all-gas all-ld all-zlib
|
all-gcc: all-bison all-byacc all-binutils all-gas all-ld all-zlib
|
||||||
all-bootstrap: all-libiberty all-texinfo all-bison all-byacc all-binutils all-gas all-ld all-zlib
|
all-bootstrap: all-libiberty all-texinfo all-bison all-byacc all-binutils all-gas all-ld all-zlib
|
||||||
GDB_TK = all-tk all-tcl all-itcl all-tix all-libgui
|
GDB_TK = @GDB_TK@
|
||||||
all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK)
|
all-gdb: all-libiberty all-opcodes all-bfd all-mmalloc all-readline all-bison all-byacc all-sim $(gdbnlmrequirements) $(GDB_TK)
|
||||||
all-gettext:
|
all-gettext:
|
||||||
all-gnuserv:
|
all-gnuserv:
|
||||||
|
50
configure
vendored
50
configure
vendored
@ -1365,21 +1365,21 @@ EOF
|
|||||||
rm -f ${subdir}/Makefile.tem
|
rm -f ${subdir}/Makefile.tem
|
||||||
mv ${subdir}/Makefile.tm2 ${subdir}/Makefile.tem
|
mv ${subdir}/Makefile.tm2 ${subdir}/Makefile.tem
|
||||||
fi
|
fi
|
||||||
sed -e "s|^prefix[ ]*=.*$|prefix = ${prefix}|" \
|
sed -e "s|@prefix@|${prefix}|" \
|
||||||
-e "s|^exec_prefix[ ]*=.*$|exec_prefix = ${exec_prefix}|" \
|
-e "s|@exec_prefix@|${exec_prefix}|" \
|
||||||
-e "s|^bindir[ ]*=.*$|bindir = ${bindir}|" \
|
-e "s|@bindir@|${bindir}|" \
|
||||||
-e "s|^sbindir[ ]*=.*$|sbindir = ${sbindir}|" \
|
-e "s|@sbindir@|${sbindir}|" \
|
||||||
-e "s|^libexecdir[ ]*=.*$|libexecdir = ${libexecdir}|" \
|
-e "s|@libexecdir@|${libexecdir}|" \
|
||||||
-e "s|^datadir[ ]*=.*$|datadir = ${datadir}|" \
|
-e "s|@datadir@|${datadir}|" \
|
||||||
-e "s|^sysconfdir[ ]*=.*$|sysconfdir = ${sysconfdir}|" \
|
-e "s|@sysconfdir@|${sysconfdir}|" \
|
||||||
-e "s|^sharedstatedir[ ]*=.*$|sharedstatedir = ${sharedstatedir}|" \
|
-e "s|@sharedstatedir@|${sharedstatedir}|" \
|
||||||
-e "s|^localstatedir[ ]*=.*$|localstatedir = ${localstatedir}|" \
|
-e "s|@localstatedir@|${localstatedir}|" \
|
||||||
-e "s|^libdir[ ]*=.*$|libdir = ${libdir}|" \
|
-e "s|@libdir@|${libdir}|" \
|
||||||
-e "s|^includedir[ ]*=.*$|includedir = ${includedir}|" \
|
-e "s|@includedir@|${includedir}|" \
|
||||||
-e "s|^oldincludedir[ ]*=.*$|oldincludedir = ${oldincludedir}|" \
|
-e "s|@oldincludedir@|${oldincludedir}|" \
|
||||||
-e "s|^infodir[ ]*=.*$|infodir = ${infodir}|" \
|
-e "s|@infodir@|${infodir}|" \
|
||||||
-e "s|^mandir[ ]*=.*$|mandir = ${mandir}|" \
|
-e "s|@mandir@|${mandir}|" \
|
||||||
-e "s|^ALL_BUILD_MODULES =.*|ALL_BUILD_MODULES =${all_build_modules}|" \
|
-e "s|@all_build_modules@|${all_build_modules}|" \
|
||||||
-e "/^CC[ ]*=/{
|
-e "/^CC[ ]*=/{
|
||||||
:loop1
|
:loop1
|
||||||
/\\\\$/ N
|
/\\\\$/ N
|
||||||
@ -1408,20 +1408,18 @@ EOF
|
|||||||
t loop4
|
t loop4
|
||||||
s%^CXXFLAGS[ ]*=.*$%CXXFLAGS = ${CXXFLAGS}%
|
s%^CXXFLAGS[ ]*=.*$%CXXFLAGS = ${CXXFLAGS}%
|
||||||
}" \
|
}" \
|
||||||
-e "s|^SHELL[ ]*=.*$|SHELL = ${config_shell}|" \
|
-e "s|@config_shell@|${config_shell}|" \
|
||||||
-e "s|^srcdir[ ]*=.*$|srcdir = ${makesrcdir}|" \
|
-e "s|@srcdir@|${makesrcdir}|" \
|
||||||
-e "s///" \
|
-e "s///" \
|
||||||
-e "s:^program_prefix[ ]*=.*$:program_prefix = ${program_prefix}:" \
|
-e "s:@program_transform_name@:${program_transform_name}:" \
|
||||||
-e "s:^program_suffix[ ]*=.*$:program_suffix = ${program_suffix}:" \
|
-e "s|@tooldir@|${tooldir}|" \
|
||||||
-e "s:^program_transform_name[ ]*=.*$:program_transform_name = ${program_transform_name}:" \
|
-e "s|@build_tooldir@|${tooldir}|" \
|
||||||
-e "s|^tooldir[ ]*=.*$|tooldir = ${tooldir}|" \
|
-e "s:@DEFAULT_YACC@:${DEFAULT_YACC}:" \
|
||||||
-e "s|^build_tooldir[ ]*=.*$|build_tooldir = ${tooldir}|" \
|
-e "s:@DEFAULT_LEX@:${DEFAULT_LEX}:" \
|
||||||
-e "s:^DEFAULT_YACC[ ]*=.*$:DEFAULT_YACC = ${DEFAULT_YACC}:" \
|
-e "s:@DEFAULT_M4@:${DEFAULT_M4}:" \
|
||||||
-e "s:^DEFAULT_LEX[ ]*=.*$:DEFAULT_LEX = ${DEFAULT_LEX}:" \
|
|
||||||
-e "s:^DEFAULT_M4[ ]*=.*$:DEFAULT_M4 = ${DEFAULT_M4}:" \
|
|
||||||
${subdir}/Makefile.tem >> ${Makefile}
|
${subdir}/Makefile.tem >> ${Makefile}
|
||||||
|
|
||||||
sed -e "s:^GDB_TK[ ]*=.*$:GDB_TK = ${GDB_TK}:" ${Makefile} >${Makefile}.tem
|
sed -e "s:@GDB_TK@:${GDB_TK}:" ${Makefile} >${Makefile}.tem
|
||||||
mv -f ${Makefile}.tem ${Makefile}
|
mv -f ${Makefile}.tem ${Makefile}
|
||||||
|
|
||||||
# If this is a Canadian Cross, preset the values of many more
|
# If this is a Canadian Cross, preset the values of many more
|
||||||
|
Loading…
x
Reference in New Issue
Block a user