File: Makefile

package info (click to toggle)
bind 1%3A8.4.6-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 19,752 kB
  • ctags: 22,385
  • sloc: ansic: 159,091; sh: 19,593; perl: 14,224; makefile: 5,554; yacc: 2,475; cpp: 2,154; csh: 848; awk: 753; tcl: 674; lex: 423; fortran: 240
file content (70 lines) | stat: -rw-r--r-- 2,630 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Copyright (c) 2004 by Internet Systems Consortium, Inc. ("ISC")
# Copyright (c) 1996,1999 by Internet Software Consortium
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
# OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

# $Id: Makefile,v 1.11 2004/01/16 00:56:17 vixie Exp $

# This is just for making distributions.  For the real Makefile, cd src.

all clean depend: FRC
	@echo go to the ./src directory, you cannot make '"'$@'"' here.
	@false

tar: bind-doc.tar.gz bind-src.tar.gz bind-contrib.tar.gz

pgp: bind-doc.tar.gz.asc bind-src.tar.gz.asc bind-contrib.tar.gz.asc

bind-doc.tar.gz: Makefile
	cd doc/bog; make clean file.psf file.lst
	cd doc/man; make clean all
	cd doc/man; make MANROFF="groff -t" OUT_EXT=psf clean all
	tar cf - Makefile doc | gzip > bind-doc.tar.gz
	cd doc/man; make clean
	cd doc/man; make MANROFF="groff -t" OUT_EXT=psf clean

bind-src.tar.gz: Makefile
	cd src; make distclean
	cd src/bin/nslookup; make commands.c
	cd src/bin/named; make ns_parser.c
	tar cf - Makefile src | gzip > bind-src.tar.gz

bind-contrib.tar.gz: Makefile
	tar cf - Makefile contrib | gzip > bind-contrib.tar.gz

bind-doc.tar.gz.asc: bind-doc.tar.gz
	rm -f bind-doc.tar.gz.asc
	pgp -u pgpkey@isc.org -sba bind-doc.tar.gz
	chmod o+r bind-doc.tar.gz.asc

bind-src.tar.gz.asc: bind-src.tar.gz
	rm -f bind-src.tar.gz.asc
	pgp -u pgpkey@isc.org -sba bind-src.tar.gz
	chmod o+r bind-src.tar.gz.asc

bind-contrib.tar.gz.asc: bind-contrib.tar.gz
	rm -f bind-contrib.tar.gz.asc
	pgp -u pgpkey@isc.org -sba bind-contrib.tar.gz
	chmod o+r bind-contrib.tar.gz.asc

noesw: src/Version src/lib/Makefile src/lib/dst/Makefile \
	src/lib/cylink/. src/lib/dnssafe/.
	perl -pi.BAK -e 's/$$/-NOESW/' src/Version
	perl -pi.BAK -e 's/ cylink dnssafe//' src/lib/Makefile
	perl -pi.BAK -e 's:-I../cylink::' src/lib/dst/Makefile
	perl -pi.BAK -e 's:-I../dnssafe::' src/lib/dst/Makefile
	perl -pi.BAK -e 's/-DCYLINK_DSS//' src/lib/dst/Makefile
	perl -pi.BAK -e 's/-DDNSSAFE//' src/lib/dst/Makefile
	rm -rf src/lib/cylink src/lib/dnssafe

FRC: