defaulttargets=true
fi
+ host_makefile_frag=config/hmake-${host}
+
#### configure.in per-host parts come in here.
if [ ! -f xconfig/${host} ]; then
echo " target=\"${target}\""
fi
+ target_makefile_frag=config/tmake-${target}
+
#### configure.in per-target parts come in here.
if [ ! -f tconfig/${target} ]; then
# add "Makefile.in" (or whatever it's called)
cat ${srcdir}/${Makefile_in} >> ${Makefile}
- # and shake thoroughly.
- if [ -z "${host_makefile_frag}" ] ; then
- host_makefile_frag=config/hmake-${host}
- fi
-
- if [ -z "${target_makefile_frag}" ] ; then
- target_makefile_frag=config/tmake-${target}
- fi
-
# Conditionalize the makefile for this host.
if [ -f ${srcdir}/${host_makefile_frag} ] ; then
sed -e "/^####/ r ${srcdir}/${host_makefile_frag}" ${Makefile} > Makefile.tem
mv Makefile.tem ${Makefile}
fi
- # Remove all formfeeds, since some Makes get confused by them.
- sed "s/\f//" ${Makefile} >> Makefile.tem
- mv Makefile.tem ${Makefile}
-
# reset SUBDIRS
sed "s:^SUBDIRS =.*$:SUBDIRS = ${configdirs}:" ${Makefile} > Makefile.tem
mv Makefile.tem ${Makefile}
#
# $Log$
-# Revision 1.8 1991/07/05 00:04:58 gnu
+# Revision 1.9 1991/07/06 04:35:51 gnu
+# Fix bug in configure when iterating targets.
+# Depend on alldeps.mak, not ${srcdir}/alldeps.mak, so it can be found
+# in either spot.
+#
+# Revision 1.8 1991/07/05 00:04:58 gnu
# Thu Jul 4 14:47:06 1991 John Gilmore (gnu at cygint.cygnus.com)
#
# * configure.in, Makefile.in: Avoid rebuilding "depend" as much.