NetBSD/usr.sbin/bind/named/Makefile

29 lines
939 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.4 1998/12/15 01:06:04 tron Exp $
1998-10-05 22:01:57 +04:00
.PATH: ${.CURDIR}/../man
WARNS= 0
PROG= named
HDRS= db_defs.h db_glob.h ns_defs.h ns_glob.h named.h pathnames.h
SRCS= db_dump.c db_load.c db_lookup.c db_save.c db_update.c \
db_glue.c ns_parser.y ns_lexer.c ns_parseutil.c \
ns_forw.c ns_init.c ns_main.c ns_maint.c ns_req.c \
ns_resp.c ns_stats.c ns_ncache.c ns_xfr.c ns_glue.c \
ns_udp.c ns_config.c ns_update.c tmp_version.c
CPPFLAGS+= ${INCLUDE}
LDADD= ${LIBRARY}
CLEANFILES+= y.tab.h named-bootconf tmp_version.c
1998-11-20 00:11:45 +03:00
MAN= ${PROG}.8 named-bootconf.8
1998-10-05 22:01:57 +04:00
SCRIPTS= named-bootconf.sh
HOSTNAMECMD= hostname
tmp_version.c: ${.CURDIR}/version.c Makefile ../Makefile
1998-10-05 22:01:57 +04:00
(u=$${USER-root} d=`pwd` h=`${HOSTNAMECMD}` t=`date`; \
sed -e "s|%WHEN%|$${t}|" -e "s|%VERSION%|"${VER}"|" \
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
< ${.CURDIR}/version.c > tmp_version.c)
1998-10-05 22:01:57 +04:00
.include "../../Makefile.inc"
.include <bsd.prog.mk>