etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / bin / tests / b8t.mk
blob89fc6493966dda65250242c6a6750d7ba6579c54
1 # Copyright (C) 2004, 2007, 2012 Internet Systems Consortium, Inc. ("ISC")
2 # Copyright (C) 1999-2001 Internet Software Consortium.
4 # Permission to use, copy, modify, and/or distribute this software for any
5 # purpose with or without fee is hereby granted, provided that the above
6 # copyright notice and this permission notice appear in all copies.
8 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
9 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
10 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
11 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
12 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
13 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
14 # PERFORMANCE OF THIS SOFTWARE.
16 # Id: b8t.mk,v 1.11 2007/06/19 23:46:59 tbox Exp
19 # bind 8 multi-host make
20 # PLATFORM set in the environment by cron
23 MODULE = bind
24 BASE = /build
25 BDIR = $(BASE)/$(MODULE)
26 RDIR = /proj/build-reports/bind8/hosts/$(PLATFORM)
27 SDIR = $(HOME)/b8t/src
28 CVSROOT = /proj/cvs/isc
30 all: clobber populate config build
32 clobber:
33 @echo "CLOBBBER `date`"
34 @if test ! -d $(BASE) ; then mkdir -p $(BASE) ; fi
35 @rm -fr $(BDIR)
36 @echo "DONE `date`"
38 populate:
39 @echo "POPULATE `date`"
40 @( cd $(BASE) && tar -xvf $(SDIR)/$(MODULE).tar ) > $(RDIR)/.populate 2>&1
41 @echo "DONE `date`"
43 tarsrc:
44 @echo "TARSRC `date`"
45 @rm -fr $(SDIR)/$(MODULE)
46 @( cd $(SDIR) && cvs -d $(CVSROOT) checkout $(MODULE) )
47 @( cd $(SDIR) && tar -cvf $(MODULE).tar $(MODULE) )
48 @echo "DONE `date`"
50 config:
51 @echo "CONFIG `date`"
52 @( cd $(BDIR)/src && make SRC=$(BDIR)/src DST=$(BDIR)/dst links ) > $(RDIR)/.config 2>&1
53 @echo "DONE `date`"
55 build:
56 @echo "BUILD `date`"
57 @( cd $(BDIR)/dst && make -k clean depend all ) > $(RDIR)/.build 2>&1
58 @echo "DONE `date`"
60 test:
61 @echo "TEST `date`"
62 @touch $(RDIR)/.test
63 @echo "DONE `date`"