NetBSD/usr.sbin/named/Makefile

28 lines
847 B
Makefile
Raw Normal View History

1993-07-31 00:50:20 +04:00
# from: @(#)Makefile 5.8 (Berkeley) 7/28/90
1994-12-22 14:32:57 +03:00
# $Id: Makefile,v 1.6 1994/12/22 11:36:58 cgd Exp $
1993-03-21 12:45:37 +03:00
### -DALLOW_T_UNSPEC -Dmalloc=rt_malloc -Dfree=rt_free
### ALLOC=storage.o
PROG= named
1994-12-22 14:32:57 +03:00
MAN= named.8
1993-04-25 12:13:28 +04:00
CFLAGS+=-DDEBUG -DSTATS
1993-03-21 12:45:37 +03:00
SRCS= db_dump.c db_glue.c db_load.c db_lookup.c db_reload.c db_save.c \
db_update.c ns_forw.c ns_init.c ns_main.c ns_maint.c ns_req.c \
ns_resp.c ns_sort.c ns_stats.c
OBJS+= version.o
CLEANFILES+=version.c version.o
SUBDIR= tools xfer
version.c: ${.CURDIR}/Version.c
(u=$${USER-root} d=`pwd |sed -e 's|/obj/|/src/|'` \
h=`hostname` t=`date`; \
sed -e "s|%WHEN%|$${t}|" \
-e "s|%WHOANDWHERE%|$${u}@$${h}:$${d}|" \
< ${.CURDIR}/Version.c > version.c)
afterinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m 555 ${.CURDIR}/named.restart \
${.CURDIR}/named.reload ${DESTDIR}${BINDIR}
.include <bsd.prog.mk>