perl option changes
authorJohn Kohl <jtkohl@mit.edu>
Tue, 9 Oct 1990 18:26:48 +0000 (18:26 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 9 Oct 1990 18:26:48 +0000 (18:26 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1193 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/asn.1/Imakefile

index 00184a3e627d6034ce5f2f7edc8d84979a515e48..32a2cadd2a8b5929580aaba53b52c1abb4bd45d9 100644 (file)
@@ -124,23 +124,21 @@ OBJS= \
        trep2ktrep.o    \
        u2gen.o
 
+#if HavePerl
 #ifdef TypesObjs
 #include "KRB5-oflist"
 #include "KRB5-cflist"
 #endif
 
 all:: KRB5-oflist Makefile
+#else /* no perl */
+TYPESOBJS= KRB5-types.o
+TYPESSRCS= KRB5-types.c
+#endif
 
 OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
 
-
-#$(TOP)/lib/libkrb5.a:: KRB5-oflist KRB5-pt0.o
-#      $(ARADD) $@ `cat KRB5-oflist`
-#      $(TOUCH) fookrb5
-
-#KRB5-pt0.o:   KRB5-pt0.c KRB5-cflist
-#      $(CC) -c $(CFLAGS) `cat KRB5-cflist`
-
+#if HavePerl
 #define IHaveSpecialMakefileTarget
 
 ImakeDependency(Makefile)
@@ -158,6 +156,7 @@ noop::
 
 KRB5-pt0.c KRB5-cflist KRB5-oflist:    KRB5-types.c process.perl
        $(PERL) process.perl KRB5-types.c KRB5-pt KRB5-cflist KRB5-oflist
+#endif
 
 KRB5-types.c: KRB5-types.py