* Makefile.in (private-and-public-decls): New target file, created from
authorKen Raeburn <raeburn@mit.edu>
Sat, 20 Jan 2007 11:29:07 +0000 (11:29 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 20 Jan 2007 11:29:07 +0000 (11:29 +0000)
k5-int.h and krb5.h.
(verify-calling-conventions-krb5): Use it instead of krb5.h.
(clean-unix): Get rid of it.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19081 dc483132-0cff-0310-8789-dd5450dbe970

src/include/Makefile.in

index 47bdce823d8fd68d449fbb3fd17ada2d7dc9526f..da76528a4fb01d5373803f6d4ab38d6c1c175e7f 100644 (file)
@@ -85,8 +85,10 @@ krb5/krb5.h: $(srcdir)/krb5/krb5.hin krb5_err.h kdb5_err.h kv5m_err.h krb524_err
                asn1_err.h >> krb5/krb5.h
        echo "#endif /* KRB5_KRB5_H_INCLUDED */" >> krb5/krb5.h
 
-verify-calling-conventions-krb5: krb5/krb5.h
-       $(PERL) -w $(SRCTOP)/util/def-check.pl krb5/krb5.h $(SRCTOP)/lib/krb5_32.def
+verify-calling-conventions-krb5: private-and-public-decls
+       $(PERL) -w $(SRCTOP)/util/def-check.pl private-and-public-decls $(SRCTOP)/lib/krb5_32.def
+private-and-public-decls: krb5/krb5.h $(srcdir)/k5-int.h
+       cat krb5/krb5.h $(srcdir)/k5-int.h > private-and-public-decls
 
 #
 # Build the error table include files:
@@ -108,7 +110,7 @@ krb524_err.h: $(SRCTOP)/lib/krb5/error_tables/krb524_err.et
 
 clean-unix::
        $(RM) krb5/krb5.h krb5_err.h kdb5_err.h kv5m_err.h krb524_err.h \
-               asn1_err.h
+               asn1_err.h private-and-public-decls
        $(RM) $(ET_HEADERS) autoconf.stamp
 
 clean-windows::