diff --git a/kerberos5/tools/asn1_compile/Makefile b/kerberos5/tools/asn1_compile/Makefile index c03e6535060f..a8ffa3283c73 100644 --- a/kerberos5/tools/asn1_compile/Makefile +++ b/kerberos5/tools/asn1_compile/Makefile @@ -8,7 +8,7 @@ SRCS= gen.c \ gen_decode.c \ gen_encode.c \ gen_free.c \ - gen_glue.c \ + gen_glue-fixed.c \ gen_length.c \ hash.c \ emalloc.c \ @@ -40,6 +40,11 @@ roken.h: ../make-roken/make-roken ../make-roken/make-roken: .PHONY cd ${.CURDIR}/../make-roken && ${MAKE} +gen_glue-fixed.c: gen_glue.c + sed -e '106s/"/"#ifdef __PARSE_UNITS_H__\\n/;'\ + -e '106s/",/\\n#endif\\n",/' ${.ALLSRC} > ${.TARGET} +CLEANFILES+= gen_glue-fixed.c + .include # There are two print_version.c's, the one we need is in ${KRB5DIR}/lib/vers,