all::
world::
- date
- make ${MFLAGS} mastermakefiles
- make ${MFLAGS} depend
- make ${MFLAGS} all
- date
+ @date
+ cd $(IMAKESRC); $(MAKE) $(MFLAGS) -f Makefile.ini clean; $(MAKE) $(MFLAGS) -f Makefile.ini BOOSTRAPCFLAGS="$(BOOTSTAPCFLAGS)"
+ -$(RM) Makefile.bak; $(MV) Makefile Makefile.bak
+ $(MAKE) $(MFLAGS) -f Makefile.bak Makefile
+ $(MAKE) ${MFLAGS} mastermakefiles
+ $(MAKE) ${MFLAGS} depend
+ $(MAKE) ${MFLAGS} all
+ @date
SUBDIRS = util include lib kdc admin kadmin slave clients appl tests \
config-files
#define MkCmdsCmd $(TOP)/util/ss/mk_cmds
#endif
#ifndef DependCmd
+#ifdef UseMakedependInstalled
#define DependCmd makedepend /* assume BINDIR in path */
+#else
+#define DependCmd $(DEPENDSRC)/makedepend
+#endif
#endif
#ifndef ImakeCmd
+#ifdef UseImakeInstalled
#define ImakeCmd imake
+#else
+#define ImakeCmd $(IMAKESRC)/imake
+#endif
#endif
#ifndef SSLib
#define SSLib $(TOPLIBD)/libss.a
TOP_INCLUDES = -I$(TOP)/include $(STDC_TOP_INCLUDES)
EXTRA_INCLUDES = ExtraIncludes
CONFIGSRC = $(TOP)/config
+ IMAKESRC = $(CONFIGSRC)
+ DEPENDSRC = $(TOP)/util/makedepend
PSYFLAGS = PepsyFlags
PEPSY = PepsyCmd
TOUCH = TouchCmd
#define PepsyCmd IsodeDir/@sys/bin/pepsy
#endif
-#define UseImakeInstalled /* -- turn on if you have imake installed */
-#define UseMakedependInstalled /* -- turn on if you have makedepend installed */
+/* #define UseImakeInstalled -- turn on if you have imake installed */
+/* #define UseMakedependInstalled -- turn on if you have makedepend installed */
#define Krb4ApplCompat /* turn this on if you want selected applications to
work with both v4 & v5 code */
#define Krb4KDCCompat /* turn this on if you want the KDC to provide v4