prototype generation for login

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6782 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-08-09 15:08:56 +00:00
parent 39b84c506a
commit 00aca0b177

View File

@@ -20,19 +20,27 @@ autoconf
autoheader autoheader
automake automake
(cd doc; makeinfo heimdal.texi) (cd doc; makeinfo heimdal.texi)
for i in krb5 hdb; do (cd lib/$i; perl ../../cf/make-proto.pl \
-o $i-protos.h -p $i-private.h `perl -e ' make_proto () {
do { (top=`pwd`
$_ = <>; cd $1
} until(/lib'$i'_la_SOURCES/); perl $top/cf/make-proto.pl -o $2 -p $3 `perl -e '
while(/\\\\\s*$/s){ do {
$_ = $_ . <>; $_ = <>;
} } until(/'$i'_.*SOURCES/);
s/\n//g; while(/\\\\\s*$/s){
s/\\\\//g; $_ = $_ . <>;
s/.*=//; }
s/\s+/ /g; s/\n//g;
print;' Makefile.in`) s/\\\\//g;
done s/.*=//;
s/\s+/ /g;
print;' Makefile.in`)
}
make_proto lib/krb5 krb5-protos.h krb5-private.h
make_proto lib/hdb hdb-protos.h hdb-private.h
make_proto appl/login login_protos.h /dev/null
rm fix-export make-release make-release.el rm fix-export make-release make-release.el
find . -name .cvsignore -print | xargs rm find . -name .cvsignore -print | xargs rm