normalize makefile
authorJohn Kohl <jtkohl@mit.edu>
Sat, 16 Feb 1991 12:04:21 +0000 (12:04 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Sat, 16 Feb 1991 12:04:21 +0000 (12:04 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1706 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/asn.1/Imakefile

index 2a36711d330d75417f5e081b806d3ae788063d14..4bb9cb88d0f0aa26663923022d4209b9aa200eec 100644 (file)
@@ -140,42 +140,16 @@ OBJS= \
 
 all:: includes
 
-#if HavePerl
-#ifdef TypesObjs
-#include "KRB5-oflist"
-#include "KRB5-cflist"
-#endif
+TYPESSRCS=  KRB5-001.c KRB5-002.c KRB5-003.c KRB5-004.c KRB5-005.c KRB5-006.c KRB5-007.c KRB5-008.c KRB5-009.c KRB5-010.c KRB5-011.c KRB5-012.c KRB5-013.c KRB5-014.c KRB5-015.c KRB5-016.c KRB5-017.c KRB5-018.c KRB5-019.c KRB5-020.c KRB5-021.c KRB5-022.c KRB5-023.c KRB5-024.c KRB5-025.c KRB5-026.c KRB5-027.c KRB5-028.c KRB5-029.c KRB5-030.c KRB5-031.c KRB5-032.c KRB5-033.c KRB5-034.c KRB5-035.c KRB5-036.c KRB5-037.c KRB5-038.c KRB5-039.c KRB5-040.c KRB5-041.c KRB5-042.c KRB5-043.c KRB5-044.c KRB5-045.c KRB5-046.c KRB5-047.c KRB5-048.c KRB5-049.c KRB5-050.c KRB5-051.c KRB5-052.c KRB5-053.c KRB5-054.c KRB5-055.c KRB5-056.c KRB5-057.c KRB5-058.c KRB5-059.c KRB5-060.c KRB5-061.c KRB5-062.c KRB5-063.c KRB5-064.c KRB5-065.c KRB5-066.c KRB5-067.c KRB5-068.c KRB5-069.c KRB5-070.c KRB5-071.c KRB5-072.c KRB5-073.c KRB5-074.c KRB5-075.c KRB5-076.c KRB5-077.c KRB5-078.c KRB5-079.c KRB5-080.c KRB5-081.c KRB5-082.c KRB5-083.c KRB5-084.c KRB5-085.c KRB5-086.c KRB5-087.c KRB5-088.c KRB5-089.c KRB5-090.c KRB5-091.c KRB5-092.c KRB5-093.c KRB5-094.c KRB5-095.c KRB5-096.c KRB5-097.c
 
-all:: KRB5-oflist Makefile
-#else /* no perl */
-TYPESOBJS= KRB5-types.o
-TYPESSRCS= KRB5-types.c
-#endif
+TYPESOBJS= KRB5-001.o KRB5-002.o KRB5-003.o KRB5-004.o KRB5-005.o KRB5-006.o KRB5-007.o KRB5-008.o KRB5-009.o KRB5-010.o KRB5-011.o KRB5-012.o KRB5-013.o KRB5-014.o KRB5-015.o KRB5-016.o KRB5-017.o KRB5-018.o KRB5-019.o KRB5-020.o KRB5-021.o KRB5-022.o KRB5-023.o KRB5-024.o KRB5-025.o KRB5-026.o KRB5-027.o KRB5-028.o KRB5-029.o KRB5-030.o KRB5-031.o KRB5-032.o KRB5-033.o KRB5-034.o KRB5-035.o KRB5-036.o KRB5-037.o KRB5-038.o KRB5-039.o KRB5-040.o KRB5-041.o KRB5-042.o KRB5-043.o KRB5-044.o KRB5-045.o KRB5-046.o KRB5-047.o KRB5-048.o KRB5-049.o KRB5-050.o KRB5-051.o KRB5-052.o KRB5-053.o KRB5-054.o KRB5-055.o KRB5-056.o KRB5-057.o KRB5-058.o KRB5-059.o KRB5-060.o KRB5-061.o KRB5-062.o KRB5-063.o KRB5-064.o KRB5-065.o KRB5-066.o KRB5-067.o KRB5-068.o KRB5-069.o KRB5-070.o KRB5-071.o KRB5-072.o KRB5-073.o KRB5-074.o KRB5-075.o KRB5-076.o KRB5-077.o KRB5-078.o KRB5-079.o KRB5-080.o KRB5-081.o KRB5-082.o KRB5-083.o KRB5-084.o KRB5-085.o KRB5-086.o KRB5-087.o KRB5-088.o KRB5-089.o KRB5-090.o KRB5-091.o KRB5-092.o KRB5-093.o KRB5-094.o KRB5-095.o KRB5-096.o KRB5-097.o
 
 OtherdirLibraryTarget($(TOP)/lib,krb5,$(OBJS))
 
-#if HavePerl
-#define IHaveSpecialMakefileTarget
 
-ImakeDependency(Makefile)
-
-Makefile:: KRB5-oflist Imakefile
-       $(IMAKE_CMD) -DTypesObjs -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)   -s 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
-
-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
+KRB5-001.c:: KRB5-types.py
        @echo '***Ignore the warning message "line XXXX: Warning: Can'\''t find UNIV.ph failed"'
+       $(PEPY) $(PYFLAGS) -b KRB5 KRB5-types.py
 KRB5-types.h: KRB5-types.c
 
 KRB5-types.py: KRB5-asn.py
@@ -184,4 +158,4 @@ KRB5-types.py:      KRB5-asn.py
 CopyHeader(KRB5-types.h,$(EHDRDIR))
 
 clean::
-       $(RM) KRB5-types.c KRB5.ph KRB5-types.py KRB5-types.h KRB5-pt*.c KRB5-oflist
+       $(RM) KRB5-types.c KRB5.ph KRB5-types.py KRB5-types.h KRB5-???.c KRB5-oflist