#define PassCDebugFlags
NormalLibraryObjectRule()
-SUBDIRS = error_tables asn.1 ccache keytab krb rcache free os kdb des \
+SUBDIRS1 = error_tables
+SUBDIRS2 = ccache keytab krb rcache free os kdb des \
des425 crc-32 krb425 rsa-md4 gssapi
+SUBDIRS = $(SUBDIRS1) asn.1 $(SUBDIRS2)
+
#ifdef HasVfprintf
VPOBJS=
VPSRCS=
MakeSubdirs($(SUBDIRS))
+/* This target will make all Makefiles except asn.1/Makefile. */
+#undef MakefileSubdirs
+#define MakefileSubdirs(dirs) @@\
+MakeMakeSubdirs($(SUBDIRS1) $(SUBDIRS2), Makefiles) @@\
+MakeNsubdirMakefiles()
+
+Makefiles::
+ $(MAKE) asn.1/Makefile TOP=../$(TOP) CURRENT_DIR=$(CURRENT_DIR)/asn.1
+
+asn.1/Makefile::
+ cd asn.1; set -e; \
+ $(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR) -s Makefile.new; \
+ sed 's/^@/ @/' Makefile.new > Makefile.newer && $(MV) Makefile.newer Makefile.new ;\
+ $(MAKE) -f Makefile.new noop; \
+ if [ -f Makefile ]; then \
+ echo "$(RM) Makefile.bak; $(MV) Makefile Makefile.bak"; \
+ $(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
+ fi ; \
+ $(MV) Makefile.new Makefile; \
+ $(RM) Makefile.new Makefile.newer
+
+
AdditiveLibraryTarget(krb5,$(OBJS))
RanlibLibraryTarget(des5)
+
+Krb5InstallLibrary(krb5,$(KRB5_LIBDIR))
+Krb5InstallLibrary(des5,$(KRB5_LIBDIR))