Home | History | Annotate | Line # | Download | only in ntp-keygen
Makefile revision 1.3
      1  1.3  plunky #	$NetBSD: Makefile,v 1.3 2011/02/26 19:17:37 plunky Exp $
      2  1.1  kardel 
      3  1.1  kardel NOGCCERROR=yes
      4  1.1  kardel 
      5  1.1  kardel .include <bsd.own.mk>
      6  1.1  kardel 
      7  1.1  kardel 
      8  1.1  kardel PROG=	ntp-keygen
      9  1.2  kardel MAN=	ntp-keygen.8
     10  1.1  kardel BINDIR=	/usr/sbin
     11  1.1  kardel 
     12  1.1  kardel SRCS=	ntp-keygen-opts.c	\
     13  1.1  kardel 	ntp-keygen.c
     14  1.1  kardel 
     15  1.1  kardel LDADD+=		-L${LIBNTP} -lntp -L${LIBISC} -liscntp -lm
     16  1.1  kardel DPADD+=		${LIBISC}/libiscntp.a ${LIBOPTS}/libopts.a  ${LIBNTP}/libntp.a ${LIBM} ${LIBUTIL}
     17  1.1  kardel 
     18  1.1  kardel .include "${.CURDIR}/../Makefile.inc"
     19  1.1  kardel 
     20  1.1  kardel DIST=${IDIST}/util
     21  1.1  kardel 
     22  1.1  kardel CPPFLAGS+=-I${IDIST}/include -I${IDIST}/libopts
     23  1.1  kardel 
     24  1.1  kardel .PATH: ${DIST}
     25  1.1  kardel 
     26  1.2  kardel ntp-keygen.8:	ntp-keygen.1
     27  1.3  plunky 	${_MKTARGET_BUILD}
     28  1.3  plunky 	${TOOL_SED} -e "s,NTP-KEYGEN 1,NTP-KEYGEN 8," $? > $@
     29  1.3  plunky 
     30  1.3  plunky CLEANFILES+=ntp-keygen.8
     31  1.2  kardel 
     32  1.1  kardel .include <bsd.prog.mk>
     33