summaryrefslogtreecommitdiffstats
path: root/src/include/Makefile.in
diff options
context:
space:
mode:
authorTheodore Tso <tytso@mit.edu>1995-06-21 14:59:34 +0000
committerTheodore Tso <tytso@mit.edu>1995-06-21 14:59:34 +0000
commit3adffa78a175605d3e59179a82c32a122e8bb4a4 (patch)
tree524b65771f3fb383d7d330458e5eb099d271be82 /src/include/Makefile.in
parentdf60254643924ac572436245945bf05fd193c7bf (diff)
downloadkrb5-3adffa78a175605d3e59179a82c32a122e8bb4a4.tar.gz
krb5-3adffa78a175605d3e59179a82c32a122e8bb4a4.tar.xz
krb5-3adffa78a175605d3e59179a82c32a122e8bb4a4.zip
Makefile.in, krb5.hin: Don't include autoconf.h anymore; have the
Makefile include the few configure symbols which krb5.h needs. krb5.hin: Change PROTOTYPE -> KRB5_PROTOTYPE and NPROTOTYPE -> KRB5_NPROTOTYPE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6111 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/Makefile.in')
-rw-r--r--src/include/Makefile.in14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/include/Makefile.in b/src/include/Makefile.in
index cc6e3c969..1fa2b4cf0 100644
--- a/src/include/Makefile.in
+++ b/src/include/Makefile.in
@@ -17,8 +17,18 @@ all-windows::
-$(MAKE) -$(MFLAGS) LIBCMD=$(LIBCMD)
cd ..
-krb5.h: $(srcdir)/krb5.hin krb5_err.h kdb5_err.h kv5m_err.h asn1_err.h
- cat $(srcdir)/krb5.hin krb5_err.h kdb5_err.h kv5m_err.h \
+krb5-pro.h: krb5/autoconf.h
+ echo "/* This is the prologue to krb5.h */" > krb5-pro.h
+ echo "/* Unfortunately some of these defines are compiler dependent */" >> krb5-pro.h
+ grep SIZEOF krb5/autoconf.h >> krb5-pro.h
+ grep PROTOTYPES krb5/autoconf.h >> krb5-pro.h
+ grep HAS_VOID_TYPE krb5/autoconf.h >> krb5-pro.h
+ grep HAVE_STDARG_H krb5/autoconf.h >> krb5-pro.h
+ echo "/* End of prologue section */" >> krb5-pro.h
+
+krb5.h: krb5-pro.h $(srcdir)/krb5.hin krb5_err.h kdb5_err.h kv5m_err.h \
+ asn1_err.h
+ cat krb5-pro.h $(srcdir)/krb5.hin krb5_err.h kdb5_err.h kv5m_err.h \
asn1_err.h > krb5.h
#