add mk_cmds, pepy, posy, & support
authorJohn Kohl <jtkohl@mit.edu>
Tue, 1 May 1990 17:18:40 +0000 (17:18 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 1 May 1990 17:18:40 +0000 (17:18 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@662 dc483132-0cff-0310-8789-dd5450dbe970

src/config/Project.tmpl

index 0a8f97b29444df835741a92cbd5e585ce571fd6d..ebb5d14ef48d0dda3bc11f806afd447bc3c2a947 100644 (file)
@@ -6,6 +6,28 @@
 #ifndef CompileEtCmd
 #define CompileEtCmd $(ETSRC)/compile_et
 #endif
+#ifndef MkCmdsCmd
+#define MkCmdsCmd $(SSMKSRC)/mk_cmds
+#endif
+#ifndef PosyFlags
+#define PosyFlags -f -h2 -a -s
+#endif
+#ifndef PepyFlags
+#define PepyFlags -a PY_advise -s -r
+#endif
+#ifndef PepyCmd
+#define PepyCmd $(ISODE)/@sys/bin/pepy
+#endif
+#ifndef PosyCmd
+#define PosyCmd $(ISODE)/@sys/bin/posy
+#endif
+
+#ifndef PepyPosyRules
+#define        PepyPosyRules()                                                 @@\
+.SUFFIXES:     .py                                                     @@\
+.py.c:                                                                 @@\
+       $(PEPY) $(PYFLAGS) $<
+#endif /* PepyPosyRules */
 
 /*
  * Default Definitions.
         CONFIGSRC = $(TOP)/config
          IMAKESRC = $(CONFIGSRC)
             ISODE = /mit/isode/isode-6.0
+          POFLAGS = PosyFlags
+          PYFLAGS = PepyFlags
+             PEPY = PepyCmd
+             POSY = PosyCmd
             ETSRC = $(TOP)/lib/comerr/compile_et
+         SSCMDSRC = $(TOP)/lib/ss/mk_cmds
           DEPKLIB = $(TOP)/lib/krb/libkrb.a \
                     $(TOP)/lib/ccache/libcred.a \
                     $(TOP)/lib/ccache/file/libfcc.a \
@@ -30,7 +57,7 @@
                     $(TOP)/asn.1/libasn1.a \
                     $(TOP)/lib/free/libkfree.a
 
-             KLIB = $(DEPKLIB) $(ISODE)/libisode.a -ldes -lcom_err
+             KLIB = $(DEPKLIB) $(ISODE)/@sys/lib/libisode.a -ldes -lcom_err
            KDBLIB = $(TOP)/lib/kdb/libkdb.a
 
 #ifdef UseInstalled
            DEPEND = makedepend         /* assume BINDIR in path */
         MKDIRHIER = BourneShell $(BINDIR)/mkdirhier.sh
        COMPILE_ET = compile_et
+          MK_CMDS = mk_cmds
 #else
             IMAKE = $(IMAKESRC)/imake
            DEPEND = DependCmd
         MKDIRHIER = BourneShell $(SCRIPTSRC)/mkdirhier.sh
        COMPILE_ET = CompileEtCmd
+          MK_CMDS = MkCmdsCmd
 #endif
 
 #ifndef ErrorTableObjectRule
        $(COMPILE_ET) $*.et
 
 #endif
+
+#ifndef CmdTableObjectRule
+
+#define CmdTableObjectRule()                                           @@\
+.SUFFIXES: .ct                                                         @@\
+                                                                       @@\
+.ct.c:                                                                         @@\
+       $(MK_CMDS) $*.ct
+
+#endif
+