# Gate Specific Code -- BEGIN
#
# Copyright 1998-2003 Sun Microsystems, Inc.  All rights reserved.
# Use is subject to license terms.
#
#ident  "@(#)Makefile.dns 1.10     03/10/17 SMI"
# Gate Specific Code -- END
# Sun Cluster Data Services Builder template version 1.0
#
# Makefile for sample data service: DNS
#

# System commands
RMCMD=/usr/bin/rm
CPCMD=/usr/bin/cp
PKGMKCMD=/usr/bin/pkgmk

WORKING_DIR=

# Source files for DNS
PROG_SRCS = dns_svc_start.ksh \
	dns_svc_stop.ksh \
	dns_validate.ksh \
	dns_update.ksh \
	dns_mon_start.ksh \
	dns_mon_stop.ksh \
	dns_mon_check.ksh \
	dns_probe.ksh \
	gettime \
	gethostnames \
	simple_probe \
	hasp_check

# Make targets

all: $(PROG_SRCS)

# Make install rule will install DNS into WORKING_DIR
pkg: all
	$(PKGMKCMD) -o -d ../pkg -f ../etc/prototype -b $(WORKING_DIR)

$(PROG_SRCS): FRC
	$(CPCMD) $@ ../bin

FRC:
