diff options
author | peter <peter@FreeBSD.org> | 1996-12-31 19:51:17 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1996-12-31 19:51:17 +0000 |
commit | b13db018fbb01d60dabb34ce9bd3f06994fd81b7 (patch) | |
tree | a2327c4e40b3c074798fd7f0ddd86f66879ceab5 /contrib/bind/Makefile | |
parent | 2d3cf9fcaf1ca2528c5fe3ba683d1f6c1268dc41 (diff) | |
download | FreeBSD-src-b13db018fbb01d60dabb34ce9bd3f06994fd81b7.zip FreeBSD-src-b13db018fbb01d60dabb34ce9bd3f06994fd81b7.tar.gz |
Import Paul Vixie/ISC's bind-4.9.5-patch1 onto the vendor branch.
This has some (all?) of the DNSSEC key management/distribution mechanism
in place. (The SIG and KEY RR's)
Obtained from: Paul Vixie / ISC / ftp.isc.org
Diffstat (limited to 'contrib/bind/Makefile')
-rw-r--r-- | contrib/bind/Makefile | 238 |
1 files changed, 211 insertions, 27 deletions
diff --git a/contrib/bind/Makefile b/contrib/bind/Makefile index 1f01a42..f684ffb 100644 --- a/contrib/bind/Makefile +++ b/contrib/bind/Makefile @@ -1,7 +1,7 @@ # Makefile for BIND>=4.9 top level # vixie@decwrl December, 1992 [original] # -# $Id: Makefile,v 8.39 1996/08/05 08:31:20 vixie Exp $ +# $Id: Makefile,v 8.48 1996/11/26 10:11:13 vixie Exp $ ## ++Copyright++ 1989 ## - @@ -56,7 +56,7 @@ ## - ## --Copyright-- -VER = 4.9.4-P1 +VER = 4.9.5-P1 SHELL = /bin/sh MAKE = make DESTDIR = @@ -101,11 +101,12 @@ PS = ps IOT = ABRT SHCC = SHLD = +PIC = # (NetBSD - for details on shared library building, see shres/netbsd/INSTALL) #uncomment next three lines to build a shared library version of libresolv #SHRES = shres/netbsd -#SHCC = cc +#SHCC = cc $(CPPFLAGS) #PIC = -fpic #(Linux - on modern systems, all you need to do is rename or remove @@ -113,13 +114,27 @@ SHLD = #CC = gcc $(CPPFLAGS) #CDEBUG = -g #CPPFLAGS = -DSYSV +#LEX=flex -8 -I +#INSTALL_COMPAT = install-compat #LIBS = -lfl #DESTEXEC = /usr/sbin #DESTMAN = /usr/man +#MANDIR = man +#MANROFF = cat #DESTHELP = /usr/lib #CATEXT = $$$$N #PS = ps -p #IOT = IOT +#uncomment next line to build a shared library version of libresolv +#SHRES = shres/linux +#uncomment next line to build tools and named with shared libresolv +#RES = $(SHRES)/libresolv.so +# ... and then (for shared) uncomment these lines too: +#SHCC = gcc $(CPPFLAGS) -fomit-frame-pointer -pipe +#PIC= -fpic +#SHMAJVER=4 +#SHVER=$(SHMAJVER).9.5.0.4 +#SHLD= gcc -shared -Wl,-rpath,$(DESTDIR)$(DESTLIB),-soname,libresolv.so.$(SHMAJVER) -lfl #(CRAY) #CDEBUG = -g @@ -145,9 +160,9 @@ SHLD = #(DEC AXP OSF/1 Version 3.0 and after) #CC = cc $(CPPFLAGS) -std #CDEBUG = -g3 -O2 -Olimit 2000 -#CPPFLAGS = +#CPPFLAGS = -DCHECK_UDP_SUM #LEX = lex -#LIBS = -ll -lutil +#LIBS = -ll -lutil -lmld #DESTEXEC = /usr/sbin #COMPINCL = compat/include #INSTALL_COMPAT = install-compat @@ -157,13 +172,16 @@ SHLD = #CATEXT = $$$$N #PS = ps -p #IOT = IOT +#KSYMS = /vmunix +#KMEM = /dev/kmem +#UDPSUM = udpcksum #(irix4) #CC = cc $(CPPFLAGS) -xansi -signed #CDEBUG = -g -#CPPFLAGS = -D__STDC__ -D_BSD_SIGNALS -DSIG_FN=int +#CPPFLAGS = -D__STDC__ -D_BSD_SIGNALS -DSIG_FN=int -DCHECK_UDP_SUM -DKMAP #LEX = lex -#LIBS = -ll +#LIBS = -ll -lmld #DESTSBIN = /usr/etc #DESTEXEC = /usr/etc #DESTMAN = /usr/catman/local @@ -173,13 +191,17 @@ SHLD = #PS = ps -p #(bsdinstall.sh is in conf/) #IOT = IOT +#KSYMS = /unix +#KMEM = /dev/kmem +#UDPSUM = udpcksum -#(irix5) +#(irix5 and irix6.2) #CC = cc $(CPPFLAGS) -xansi -signed #CDEBUG = -g -#CPPFLAGS = -D__STDC__ -D_BSD_SIGNALS -DSIG_FN=void -D__BIT_TYPES_DEFINED__ +#CPPFLAGS = -D__STDC__ -D_BSD_SIGNALS -DSIG_FN=void -D__BIT_TYPES_DEFINED__ \ +# -DCHECK_UDP_SUM -DKMAP #LEX = lex -#LIBS = -ll +#LIBS = -ll -lelf #DESTSBIN = /usr/etc #DESTEXEC = /usr/etc #DESTMAN = /usr/share/catman/local @@ -189,11 +211,20 @@ SHLD = #PS = ps -p #(bsdinstall.sh is in conf/) #IOT = IOT +#KSYMS = /unix +#KMEM = /dev/kmem +#UDPSUM = udpcksum +# shared libresolv.o options below. +# they could work under irix6, if the cmplr didn't change alot +#SHRES = shres/irix +#SHCC = $(CC) $(CPPFLAGS) +#SHLD = ld -shared +#RES = $(SHRES)/libresolv.so #(sunos4.x) -#CC = /usr/bin/cc +#CC = /usr/bin/cc $(CPPFLAGS) #CDEBUG = -g -#CPPFLAGS = -DSUNOS4 -DSPRINTF_CHAR +#CPPFLAGS = -DSUNOS4 -DSPRINTF_CHAR -DCHECK_UDP_SUM -Dconst= #INDOT = in. #XFER_INDOT = in. #LEX = lex @@ -211,6 +242,9 @@ SHLD = #INSTALL_COMPAT = install-compat #INSTALL = install #IOT = IOT +#KSYMS = /vmunix +#KMEM = /dev/kmem +#UDPSUM = _udp_cksum # (for details on shared library building, see shres/sunos/INSTALL; # note that shres/solaris/INSTALL has some good testing notes for sunos) #uncomment next line to build a shared library version of libresolv @@ -219,7 +253,7 @@ SHLD = # -- if you use gcc (recommended) # (if -fpic doesn't work, see shres/sunos/PROBLEMS) #SHCC = gcc -DSUNSECURITY $(CPPFLAGS) -#PIC= -fpic -D_res=_res_shlib +#PIC= -B/usr/bin/ -fpic -D_res=_res_shlib # -- if you use Sun's cc #SHCC = /usr/bin/cc -DSUNSECURITY $(CPPFLAGS) #PIC = -pic -D_res=_res_shlib @@ -229,7 +263,7 @@ SHLD = #(ULTRIX, other 4.[23]bsd-alikes) #CDEBUG = -g -#CPPFLAGS = +#CPPFLAGS = -DCHECK_UDP_SUM #LEX = lex #LIBS = -ll #PIDDIR = /etc @@ -244,6 +278,9 @@ SHLD = #MANDIR = man #MANROFF = cat #IOT = IOT +#KSYMS = /vmunix +#KMEM = /dev/kmem +#UDPSUM = udpcksum #(solaris2.x/sunos5.x) #be careful with installation - note in particular that the system ships @@ -258,17 +295,20 @@ SHLD = #LEX = lex #uncomment next line for Sun C compiler #CC = /opt/SUNWspro/bin/cc $(CPPFLAGS) -R$(DESTLIB) -#uncomment next line for GNU C compiler -#CC = gcc $(CPPFLAGS) -Xlinker -R$(DESTLIB) +#uncomment next two lines for GNU C compiler +#CC = gcc $(CPPFLAGS) +#LDFLAGS=-Xlinker -R$(DESTLIB) #otherwise uncomment the next line and hope for the best #CC = cc $(CPPFLAGS) #CDEBUG = -g -#CPPFLAGS = -DSVR4 -D_SYS_STREAM_H $(SOLCOMPAT) +#CPPPFLAGS = -DSVR4 -D_SYS_STREAM_H +#CPPFLAGS = $(CPPPFLAGS) $(SOLCOMPAT) #INDOT = in. #XFER_INDOT = #LIBS = -ll -lnsl -lsocket #DESTEXEC = /usr/sbin #DESTHELP = /usr/lib +#INSTALL_COMPAT = install-compat #LDS = : #INSTALL = /usr/ucb/install #RANLIB = : @@ -295,18 +335,18 @@ SHLD = # uncomment only one of the triplets of lines below # -- if you use gcc (recommended) # (if -fpic doesn't work, see shres/solaris/ISSUES) -#SHCC = gcc -DSVR4 -D_SYS_STREAM_H +#SHCC = gcc -B/usr/ccs/bin/ $(CPPPFLAGS) #PIC= -fpic #SHLD = /usr/ccs/bin/ld -G # -- if you use Sun's cc -#SHCC = /opt/SUNWspro/bin/cc -DSVR4 -D_SYS_STREAM_H +#SHCC = /opt/SUNWspro/bin/cc $(CPPPFLAGS) #PIC = -Kpic #SHLD = /opt/SUNWspro/bin/cc -G #(hpux7.0,hpux8.0,hpux9.0,) #CC = cc $(CPPFLAGS) #CDEBUG = -g -#CPPFLAGS = +#CPPFLAGS = -DCHECK_UDP_SUM #LEX = lex #LIBS = -ll -lBSD #PIDDIR = /etc @@ -318,6 +358,28 @@ SHLD = #RANLIB = : #MANROFF = cat #PS = ps -p +#KSYMS = /hp-ux +#KMEM = /dev/kmem +#UDPSUM = udpcksum +#(bsdinstall.sh is in conf/) + +#(hpux10.10) +#CC = cc $(CPPFLAGS) +#CDEBUG = -g +#CPPFLAGS = -Dconst= +#LEX = lex +#LIBS = -ll +#PIDDIR = /etc +#DESTSBIN = /usr/sbin +#DESTEXEC = /usr/sbin +#DESTMAN = /usr/man +#DESTHELP = /usr/lib +#LDS = : +#INSTALL = bsdinstall.sh +#RANLIB = : +#MANROFF = cat +#PS = ps -p +#INSTALL_COMPAT = install-install #(bsdinstall.sh is in conf/) #(apollo domainos) @@ -346,6 +408,18 @@ SHLD = #PS = ps -p #IOT = IOT +#(AIX4) +#CC = cc $(CPPFLAGS) +#CDEBUG = -g +#CPPFLAGS = -D_BSD=44 +#LIBS = -ll -lbsd +#DESTEXEC = /usr/sbin +#INSTALL = /usr/ucb/install +#CATEXT = $$$$N +#LEX = lex +#PS = ps -p +#IOT = IOT + # (ConvexOS-10.x) #CC = gcc $(CPPFLAGS) -g -O2 -fpcc-struct-return -fno-builtin -funsigned-char #CDEBUG = -g @@ -398,10 +472,19 @@ SHLD = #PS = ps -p #IOT = IOT -# SCO Unix 3.4.2 / ODT 3.0 using gcc (the only choice for now) +# SCO OSE5, SCO ODT 3.0, SCO Unix 3.2v4.2 +# uncomment only one set of the CC/CDEBUG lines below +# -- OSE5 using SCO's cc +#CC = cc $(CPPFLAGS) +#CDEBUG=-O3 +# -- ODT 3.0 / 3.2v4.2 using SCO's cc ( lots of warnings during compilation ) +#CC = cc $(CPPFLAGS) +#CDEBUG=-O +# -- if you use gcc ( gcc highly recommended on 3.2v4.2 / ODT 3.0 ) #CC = gcc $(CPPFLAGS) -#CPPFLAGS = -DSYSV -DSYSV3 #CDEBUG=-O6 +# For the time being, the rest is common for all supported SCO flavors +#CPPFLAGS = -DSYSV -DSYSV3 #LDFLAGS=-s #INDOT= #LEX=lex @@ -586,8 +669,8 @@ SHLD = #IOT = IOT #(ISC4.0 using GCC) -#CC = gcc -DISC -posix -#CPPFLAGS = +#CC = gcc $(CPPFLAGS) -posix +#CPPFLAGS = -DISC #CDEBUG = -g #LEX = flex -I #LIBS = -lbsd @@ -649,6 +732,98 @@ SHLD = #PS = ps -p #IOT = IOT +#NCR System Vr4.3 3.x +#also, use 'make install' at your own risk. +#PIDDIR = /etc/inet +#LEX = lex +#CC = cc $(CPPFLAGS) +#CDEBUG = -g +#CPPFLAGS = -DSVR4 -Hnocopyr -DPOSIX_SIGNALS -DNO_SA_LEN -DNCR -w +#INDOT = in. +#XFER_INDOT = in. +#LIBS = -ll -lnsl -lsocket +#DESTEXEC = /usr/sbin +#LDS = : +#RANLIB = : +#ARPREF = `lorder +#ARSUFF = | tsort` +#CATEXT = $$$$N +#PS = ps -p +#IOT = IOT + +#NCR System Vr4.3-3.0 +#also, use 'make install' at your own risk. +#PIDDIR = /etc/inet +#LEX = lex +#CC = cc $(CPPFLAGS) +#CDEBUG = -g +#CPPFLAGS = -DSVR4 -Hnocopyr -DPOSIX_SIGNALS -DNO_SA_LEN -DNCR -w +#INDOT = in. +#XFER_INDOT = in. +#LIBS = -ll -lnsl -lsocket +#DESTEXEC = /usr/sbin +#LDS = : +#RANLIB = : +#ARPREF = `lorder +#ARSUFF = | tsort` +#CATEXT = $$$$N +#PS = ps -p +#IOT = IOT +#SHCC = cc $(CPPPFLAGS) +#PIC = -Kpic +#SHLD = cc -G +#SHRES = shres/ncr + +#NCR System Vr4.3-2.03 +#also, use 'make install' at your own risk. +#PIDDIR = /etc +#LEX = lex +#CC = cc $(CPPFLAGS) +#CDEBUG = -g +#CPPFLAGS = -DSVR4 -Hnocopyr -DPOSIX_SIGNALS -DNO_SA_LEN -DNCR -w +#INDOT = +#XFER_INDOT = +#LIBS = -ll -lnsl -lsocket +#DESTSBIN = /usr/etc +#DESTEXEC = /usr/etc +#LDS = : +#RANLIB = : +#ARPREF = `lorder +#ARSUFF = | tsort` +#CATEXT = $$$$N +#PS = ps -p +#IOT = IOT +#SHCC = cc $(CPPPFLAGS) +#PIC = -Kpic +#SHLD = cc -G +#SHRES = shres/ncr + +#(UXP/DS) +#PIDDIR = /etc +#LEX = lex +#CC = cc $(CPPFLAGS) +#CDEBUG = -O +#CPPFLAGS = -DSVR4 -D_SYS_STREAM_H -DUSE_POSIX +#INDOT = in. +#XFER_INDOT = +#LIBS = -ll -lnsl -lsocket +#LDS = : +#COMPINCL = compat/include +#AR = ar -cru +## for V10L20 +#INSTALL = /usr/ucb/install -g sys +## for V20L10 +#INSTALL = /usr/ucb/install +#RANLIB = : +#ARPREF = `lorder +#ARSUFF = | tsort` +#CATEXT = $$$$N +#PS = ps -p +#IOT = IOT +#PIC = -Kpic +#MANROFF = ( tbl | nroff -man ) +#MANDIR = man + #################################################################### ############ no user servicable parts beyond this point ############ #################################################################### @@ -666,7 +841,8 @@ MARGS = "VER=${VER}" "CC=${CC}" "CDEBUG=${CDEBUG}" "LIBS=${LIBS}" \ "DESTHELP=${DESTHELP}" "PIC=${PIC}" "SHCC=${SHCC}" "SHLD=${SHLD}" \ "AR=${AR}" "RANLIB=${RANLIB}" "LDS=${LDS}" 'ARPREF=${ARPREF}' \ 'ARSUFF=${ARSUFF}' $(MANARGS) PS="${PS}" "IOT=${IOT}" \ - "CPPFLAGS=${CPPFLAGS}" + "CPPFLAGS=${CPPFLAGS}" "KSYMS=${KSYMS}" "KMEM=${KMEM}" \ + "UDPSUM=${UDPSUM}" "SHVER=${SHVER}" "SHMAJVER=${SHMAJVER}" MACHINE = native DST = $(MACHINE).b @@ -694,8 +870,10 @@ clean:: FRC depend:: FRC mkdirs: FRC - -set +e; for x in $(DESTBIN) $(DESTSBIN) $(DESTEXEC) \ - $(DESTMAN) $(DESTHELP) $(DESTLIB) $(DESTINC); do \ + -set +e; for x in $(DESTDIR)$(DESTBIN) $(DESTDIR)$(DESTSBIN) \ + $(DESTDIR)$(DESTEXEC) $(DESTDIR)$(DESTMAN) \ + $(DESTDIR)$(DESTHELP) $(DESTDIR)$(DESTLIB) \ + $(DESTDIR)$(DESTINC); do \ test -d $$x || mkdir -p $$x; \ done @@ -770,6 +948,12 @@ $(DST): FRC ( mkdir solaris; cd solaris; ln -s ../../SRC/shres/solaris SRC; \ cp SRC/Makefile .; chmod +w Makefile; \ ); \ + ( mkdir irix; cd irix; ln -s ../../SRC/shres/irix SRC; \ + cp SRC/Makefile .; chmod +w Makefile; \ + ); \ + ( mkdir linux; cd linux; ln -s ../../SRC/shres/linux SRC; \ + cp SRC/Makefile .; chmod +w Makefile; \ + ); \ ); \ ( mkdir man; cd man; ln -s ../SRC/man SRC; \ cp SRC/Makefile .; chmod +w Makefile; \ |