+Mon Sep 25 16:32:57 1995 Theodore Y. Ts'o <tytso@dcl>
+
+ * Makefile.in: Removed "foo:: foo-$(WHAT)" lines from the
+ Makefile.
+
+ * aclocal.m4 (MAKE_SUBDIRS, DO_SUBDIRS): MAKE_SUBDIRS now takes
+ three arguments; DO_SUBDIRS now generates target rules of
+ the form: "foo-unix: <for each subdirectory> make foo".
+ All of the macros which generated targets "all",
+ "install", "clean", etc. now generate targets "all-unix",
+ "install-unix", "clean-unix".
+
+ This scheme allows us to do multiple-platform builds,
+ while preserving ordering constraints that we need in
+ order to build library subdirectories correctly.
+
Sun Sep 24 12:00:00 1995 John Rivlin <jrivlin@fusion.com>
* Makefile.in: Update CLEANUP list to clean up files created
dnl
dnl append subdir rule -- MAKE_SUBDIRS("making",all)
dnl
-define(_MAKE_SUBDIRS,[dnl
+define(MAKE_SUBDIRS,[dnl
AC_PUSH_MAKEFILE()dnl
changequote(<<<,>>>)dnl
changequote([,])dnl
AC_POP_MAKEFILE()dnl
])dnl
-define(MAKE_SUBDIRS,[dnl
-_MAKE_SUBDIRS($1, $2, $2)])dnl
dnl
dnl take saved makefile stuff and put it in the Makefile
dnl
dnl drop in standard subdirectory rules
dnl
define(DO_SUBDIRS,[dnl
-MAKE_SUBDIRS("making",all)
-MAKE_SUBDIRS("cleaning",clean)
-MAKE_SUBDIRS("installing",install)
-MAKE_SUBDIRS("checking",check)
+MAKE_SUBDIRS("making",all-unix, all)
+MAKE_SUBDIRS("cleaning",clean-unix, clean)
+MAKE_SUBDIRS("installing",install-unix, install)
+MAKE_SUBDIRS("checking",check-unix, check)
])dnl
dnl
dnl drop in standard rules for all configure files -- CONFIG_RULES
define(SubdirLibraryRule,[
AC_PUSH_MAKEFILE()dnl
-all:: DONE
+all-unix:: DONE
DONE:: $1
@if test x'$1' = x && test -r [$]@; then :;\
(set -x; echo $1 > [$]@) \
fi
-clean::
+clean-unix::
$(RM) DONE
AC_POP_MAKEFILE()dnl
])dnl
(set -x; [$](RM) $2/$1; [$](CP) $1 $2/$1) \
fi
-clean::
+clean-unix::
$(RM) $2/$1
AC_POP_MAKEFILE()dnl
(set -x; [$](RM) $2/$1; [$](CP) $(srcdir)/$1 $2/$1) \
fi
-clean::
+clean-unix::
$(RM) $2/$1
AC_POP_MAKEFILE()dnl
dnl Krb5InstallHeaders(headers,destdir)
define(Krb5InstallHeaders,[
AC_PUSH_MAKEFILE()dnl
-install:: $1
+install-unix:: $1
@set -x; for f in $1 ; \
do [$](INSTALL_DATA) [$$]f $2/[$$]f ; \
done
DO_MAKE_SHLIB="$1.\$""(SHEXT)"
AC_PUSH_MAKEFILE()dnl
-all:: [$](DO_MAKE_SHLIB) [$](SHLIB_STATIC_TARGET)
+all-unix:: [$](DO_MAKE_SHLIB) [$](SHLIB_STATIC_TARGET)
-clean::
+clean-unix::
$(RM) $1.[$](SHEXT) [$](SHLIB_STATIC_TARGET)
$1.[$](SHEXT): [$](LIBDONE) [$](DEPLIBS)
AC_SUBST(STEXT)
DO_MAKE_SHLIB=
AC_PUSH_MAKEFILE()
-all:: [$](DO_MAKE_SHLIB) [$](SHLIB_STATIC_TARGET)
+all-unix:: [$](DO_MAKE_SHLIB) [$](SHLIB_STATIC_TARGET)
-clean::
+clean-unix::
$(RM) $1.[$](STEXT)
AC_POP_MAKEFILE()
])dnl