+Thu Jun 13 23:02:23 1996 Tom Yu <tlyu@voltage-multiplier.mit.edu>
+
+ * post.in,pre.in: break some things out from aclocal.m4 and put
+ them here
+
Wed Jun 12 20:19:49 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
* windows.in (PAGESIZE): New variable which is used to control the
clean-windows::
$(RM) *.$(OBJEXT)
$(RM) msvc.pdb *.err
+
+Makefiles:: Makefile
+
+Makefile: $(srcdir)/Makefile.in $(thisconfigdir)/config.status \
+ $(SRCTOP)/config/pre.in $(SRCTOP)/config/post.in
+ cd $(thisconfigdir) && $(SHELL) config.status
+$(thisconfigdir)/config.status: $(srcdir)/$(thisconfigdir)/configure
+ cd $(thisconfigdir) && $(SHELL) config.status --recheck
+$(srcdir)/$(thisconfigdir)/configure: $(srcdir)/$(thisconfigdir)/configure.in \
+ $(SRCTOP)/aclocal.m4
+ cd $(srcdir)/$(thisconfigdir) && \
+ $(SHELL) $(SRCTOP)/util/autoconf/autoconf \
+ --localdir=$(BUILDTOP) \
+ --macrodir=$(BUILDTOP)/util/autoconf
+
+#These don't work well with some versions of GNU make.
+#all-unix clean-unix install-unix check-unix Makefiles::
+# @case "`echo '$(MAKEFLAGS)'|sed -e 's/ --.*$$//'`" in \
+# *[ik]*) e=:;; *) e="exit 1";; esac;
+
+@RECURSE_TARGETS@::
+ @e="exit 1"; \
+ for i in $(SUBDIRS) ; do \
+ if test -d $$i ; then \
+ target=`echo $@|sed s/-unix//`; \
+ echo "making $$target in $(CURRENT_DIR)$$i..."; \
+ if (cd $$i ; $(MAKE) CC="$(CC)" CCOPTS="$(CCOPTS)" \
+ CURRENT_DIR=$(CURRENT_DIR)$$i/ $$target) then :; \
+ else $$e; fi; \
+ else \
+ echo "Skipping missing directory $(CURRENT_DIR)$$i" ; \
+ fi \
+ done
## common prefix for all Makefile.in in the Kerberos V5 tree.
WHAT = unix
+SHELL=/bin/sh
all:: all-$(WHAT)
LIBEXT = a
EXEEXT =
+# error table rules
+#
+### /* these are invoked as $(...) foo.et, which works, but could be better */
+COMPILE_ET_H= $(AWK) -f $(SRCTOP)/util/et/et_h.awk outfile=$@
+COMPILE_ET_C= $(AWK) -f $(SRCTOP)/util/et/et_c.awk outfile=$@
+
+.SUFFIXES: .h .c .et .ct
+
+.et.h:
+ $(AWK) -f $(SRCTOP)/util/et/et_h.awk outfile=$*.h $<
+
+.et.c:
+ $(AWK) -f $(SRCTOP)/util/et/et_c.awk outfile=$*.c $<
+
+# ss command table rules
+#
+MAKE_COMMANDS= $(BUILDTOP)/util/ss/mk_cmds
+
+.ct.c:
+ @if [ $< != "$*.ct" ]; then \
+ (set -x; cp $< "$*.ct" && $(MAKE_COMMANDS) "$*.ct" && $(RM) "$*.ct") || exit 1; \
+ else \
+ (set -x; $(MAKE_COMMANDS) "$*.ct") || exit 1; \
+ fi
+
all::
clean::
install::