2 # $Id: distrib,v 8.24 2001/06/25 11:20:24 skimo Exp $ (Berkeley) $Date: 2001/06/25 11:20:24 $
4 echo "Building aclocal.m4"
8 # Build autoconf structure.
9 echo "Running autoheader"
10 autoheader
2>&1 |
sed '/warning: AC_TRY_RUN called without default/d'
13 echo "Running autoconf"
14 autoconf
2>&1 |
sed '/warning: AC_TRY_RUN called without default/d'
15 chmod 555 configure config.guess config.sub install-sh
16 echo "Running automake"
17 automake
-a -c --foreign $@
19 msg
="/* Do not edit: automatically built by build/distrib. */"
20 # Build automatically generated header files.
25 awk -f ..
/ipc
/ipc.
awk ..
/ipc
/ipc_cmd.c
&&
26 awk -f ..
/ipc
/vipc.
awk ..
/ip
/ip_read.c
) > $f
33 perl
-n ..
/ip
/vipc.pl ..
/ip
/ip_read.c
) > $f
40 awk -f ..
/ex
/ex.
awk ..
/ex
/ex_cmd.c
) > $f
43 f
=..
/common
/options_def.h
47 awk -f ..
/common
/options.
awk ..
/common
/options.c
) > $f
50 # Build the automatically generated function prototype files.
51 for i
in cl common ex gtk ip ipc motif motif_l tcl_api vi
; do
56 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/$i/*.c
) > $f
60 # Build the automatically generated function prototype files.
61 for i
in perl_api
; do
66 sed -n "s/^ \* PUBLIC: \(.*\)/\1/p" ..
/$i/*.c ..
/$i/*.xs
) > $f
71 echo "Building tags files"
74 if test $USER = 'bostic'; then ctagsopt
= '-d'; fi
76 ..
/cl
/*.
[ch
] ..
/common
/*.
[ch
] ..
/ex
/*.
[ch
] ..
/gtk
/*.
[ch
] ..
/ip
/*.
[ch
] \
77 ..
/ipc
/*.
[ch
] ..
/motif
/*.
[ch
] ..
/motif_l
/*.
[ch
] ..
/perl_api
/*.
[ch
] \
78 ..
/tcl_api
/*.
[ch
] ..
/vi
/*.
[ch
]