58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# Copyright (C) 1999-2001, 2004, 2007, 2012, 2016 Internet Systems Consortium, Inc. ("ISC")
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews#
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# This Source Code Form is subject to the terms of the Mozilla Public
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# License, v. 2.0. If a copy of the MPL was not distributed with this
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews# file, You can obtain one at http://mozilla.org/MPL/2.0/.
0c27b3fe77ac1d5094ba3521e8142d9e7973133fMark Andrews
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# $Id: b8t.mk,v 1.11 2007/06/19 23:46:59 tbox Exp $
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman#
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# bind 8 multi-host make
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman# PLATFORM set in the environment by cron
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman#
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund SivaramanMODULE = bind
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund SivaramanBASE = /build
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund SivaramanBDIR = $(BASE)/$(MODULE)
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund SivaramanRDIR = /proj/build-reports/bind8/hosts/$(PLATFORM)
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund SivaramanSDIR = $(HOME)/b8t/src
d0afc2d1c4d0e7cde0caf0aebbd3626cf37862aaMark AndrewsCVSROOT = /proj/cvs/isc
3ebda3f46b62b9644ef963e56c6c441e96693011Tinderbox User
3ebda3f46b62b9644ef963e56c6c441e96693011Tinderbox Userall: clobber populate config build
d0afc2d1c4d0e7cde0caf0aebbd3626cf37862aaMark Andrews
d0afc2d1c4d0e7cde0caf0aebbd3626cf37862aaMark Andrewsclobber:
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman @echo "CLOBBBER `date`"
d0afc2d1c4d0e7cde0caf0aebbd3626cf37862aaMark Andrews @if test ! -d $(BASE) ; then mkdir -p $(BASE) ; fi
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman @rm -fr $(BDIR)
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman @echo "DONE `date`"
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaramanpopulate:
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman @echo "POPULATE `date`"
58f7af60e79a5aaf58f6a8861c306d4c617fb1d1Mukund Sivaraman @( cd $(BASE) && tar -xvf $(SDIR)/$(MODULE).tar ) > $(RDIR)/.populate 2>&1
@echo "DONE `date`"
tarsrc:
@echo "TARSRC `date`"
@rm -fr $(SDIR)/$(MODULE)
@( cd $(SDIR) && cvs -d $(CVSROOT) checkout $(MODULE) )
@( cd $(SDIR) && tar -cvf $(MODULE).tar $(MODULE) )
@echo "DONE `date`"
config:
@echo "CONFIG `date`"
@( cd $(BDIR)/src && make SRC=$(BDIR)/src DST=$(BDIR)/dst links ) > $(RDIR)/.config 2>&1
@echo "DONE `date`"
build:
@echo "BUILD `date`"
@( cd $(BDIR)/dst && make -k clean depend all ) > $(RDIR)/.build 2>&1
@echo "DONE `date`"
test:
@echo "TEST `date`"
@touch $(RDIR)/.test
@echo "DONE `date`"