Remove building with NOCRYPTO option
[minix3.git] / external / bsd / bind / binclude4netbsd
blob1dcc063ab551772f947ebd6c8503d2d07800648d
1 #!/bin/sh
3 # Use this script to update the bind include files used in the nameserver,
4 # after you've imported and built the latest bind code. After you run this,
5 # cvs import the resulting directory
7 # $ cd bind-X.Y.Z
8 # $ configure
9 # $ make
10 # $ ./binclude4netbsd . /tmp/include
11 # Fix manually the config.h file to disable things controlled by the Makefiles
12 # $ cd /tmp/include
13 # $ cvs -d cvs.netbsd.org:/cvsroot import src/external/bsd/bind/include -m "Include files for bind-X-Y-Z" ISC bind-X-Y-Z
16 PROG=$(basename $0)
17 if [ \( -z "$1" \) -o \( -z "$2" \) ]
18 then
19 echo "Usage: $PROG <bind-src> <include-dest>" 1>&2
20 exit 1
23 BIND=$1
24 INCLUDE=$2
26 mkdir -p $INCLUDE
27 cp $BIND/config.h $INCLUDE
29 mkdir -p $INCLUDE/dns
31 cp $BIND/lib/dns/code.h $INCLUDE/dns
33 for i in enumclass.h enumtype.h rdatastruct.h
35 cp $BIND/lib/dns/include/dns/$i $INCLUDE/dns
36 done
38 mkdir -p $INCLUDE/isc
40 cp $BIND/lib/isc/include/isc/platform.h $INCLUDE/isc
42 mkdir -p $INCLUDE/lwres
44 for i in netdb.h platform.h
46 cp $BIND/lib/lwres/include/lwres/$i $INCLUDE/lwres
47 done
49 cleantags $INCLUDE