2 # $Id: distrib,v 8.19 2000/07/05 11:33:16 skimo Exp $ (Berkeley) $Date: 2000/07/05 11:33:16 $
4 # Build autoconf structure.
5 echo "Running autoheader"
6 autoheader
2>&1 |
sed '/warning: AC_TRY_RUN called without default/d'
9 echo "Running autoconf"
10 autoconf
2>&1 |
sed '/warning: AC_TRY_RUN called without default/d'
11 chmod 555 configure config.guess config.sub install-sh
13 msg
="/* Do not edit: automatically built by build/distrib. */"
14 # Build automatically generated header files.
19 awk -f ..
/ipc
/ipc.
awk ..
/ipc
/ipc_cmd.c
&&
20 awk -f ..
/ipc
/vipc.
awk ..
/ip
/ip_read.c
) > $f
27 perl
-n ..
/ip
/vipc.pl ..
/ip
/ip_read.c
) > $f
34 awk -f ..
/ex
/ex.
awk ..
/ex
/ex_cmd.c
) > $f
37 f
=..
/common
/options_def.h
41 awk -f ..
/common
/options.
awk ..
/common
/options.c
) > $f
44 # Build the automatically generated function prototype files.
45 for i
in cl common ex ip ipc motif motif_l perl_api tcl_api vi
; do
50 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/$i/*.c
) > $f
55 echo "Building tags files"
58 if test $USER = 'bostic'; then ctagsopt
= '-d'; fi
60 ..
/cl
/*.
[ch
] ..
/common
/*.
[ch
] ..
/ex
/*.
[ch
] ..
/ip
/*.
[ch
] \
61 ..
/ipc
/*.
[ch
] ..
/motif
/*.
[ch
] ..
/motif_l
/*.
[ch
] ..
/perl_api
/*.
[ch
] \
62 ..
/tcl_api
/*.
[ch
] ..
/vi
/*.
[ch
]