# NAME:
#	GNUmakefile - GNU makefile for DNS 
#
# DESCRIPTION:
#	This makefile will work fine with GNU make.
#	It provides setup for dnsmagic.mk
#
# AUTHOR:
#	Simon J. Gerraty <sjg@crufty.net>
#

# RCSid:
#	$Id: GNUmakefile,v 1.52 2023/06/07 17:01:12 sjg Exp $
#
#	@(#) Copyright (c) 1995-2023 Simon J. Gerraty.
#
#	This file is provided in the hope that it will
#	be of use.  There is absolutely NO WARRANTY.
#	Permission to copy, redistribute or otherwise
#	use this file is hereby granted provided that 
#	the above copyright notice and this notice are
#	left intact. 
#      
#	Please send copies of changes and bug-fixes to:
#	sjg@crufty.net
#

# make sure this is the main/default target
all:

SHELL = /bin/sh

#
# GNU make appears to lack an exists() function
# but $(wildcard) does the trick
ifeq ($(wildcard backup.zones),backup.zones)
BZONES = backup.zones
PZONE_DEPS += .seconds
endif

-include GNUmakefile.inc
include dnsmagic.mk
include .depend

# do this here since dnsmagic.mk cannot
PATH := ./bin:${DNSMAGIC}/bin:${SHARE}/bin:${PATH}:${LOCAL}/bin:/etc/rc_d
export PATH
