Home | History | Annotate | Line # | Download | only in sbin
      1 # $NetBSD: Makefile.inc,v 1.2 2019/03/29 14:38:30 christos Exp $
      2 
      3 .include "../Makefile.inc"
      4 
      5 BINDIR=/usr/sbin
      6 
      7 PROGDPLIBS+= nsd ${NSD}/../lib/libnsd
      8 PROGDPLIBS+= ${DPLIBS}
      9 
     10 .if defined(PROG)
     11 
     12 .if ${PROG} == "nsd" || ${PROG} == "nsd-checkzone"
     13 PROGDPLIBS+= xfrd ${NSD}/../lib/libxfrd
     14 PROGDPLIBS+= ${DPLIBS}
     15 .endif
     16 
     17 CLEANFILES+=${PROG}.8
     18 MAN+=${PROG}.8
     19 ${PROG}.8: ${PROG}.8.in __subst
     20 
     21 .endif
     22 
     23 
     24 .if defined(SCRIPTS)
     25 CLEANFILES+=${SCRIPTS}.sh
     26 ${SCRIPTS}.sh: ${SCRIPTS}.sh.in __subst
     27 .endif
     28