pull up r19128 from trunk
authorTom Yu <tlyu@mit.edu>
Mon, 5 Feb 2007 23:44:50 +0000 (23:44 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 5 Feb 2007 23:44:50 +0000 (23:44 +0000)
 r19128@cathode-dark-space:  tlyu | 2007-01-30 16:40:20 -0500
 ticket: 5420
 status: open

 update def-check to look at preauth_plugin.h

ticket: 5420
status: open

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-6@19146 dc483132-0cff-0310-8789-dd5450dbe970

src/include/Makefile.in

index 47bdce823d8fd68d449fbb3fd17ada2d7dc9526f..4229c0ff540da7bd93778ea675bc9bdda1cd3f53 100644 (file)
@@ -85,8 +85,13 @@ 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
+
+HEADERS_TO_CHECK = krb5/krb5.h $(srcdir)/k5-int.h $(srcdir)/krb5/preauth_plugin.h
+
+private-and-public-decls: $(HEADERS_TO_CHECK)
+       cat $(HEADERS_TO_CHECK) > $@
 
 #
 # Build the error table include files: