Home | History | Annotate | Line # | Download | only in ntpq
Makefile revision 1.2
      1  1.1  kardel #	$NetBSD: Makefile,v 1.2 2010/08/28 15:42:45 kardel 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 PROG=	ntpq
      8  1.2  kardel MAN=	ntpq.8
      9  1.1  kardel BINDIR=	/usr/sbin
     10  1.1  kardel 
     11  1.1  kardel SRCS=	ntpq.c					\
     12  1.1  kardel 	ntpq-subs.c				\
     13  1.1  kardel 	ntpq-opts.c
     14  1.1  kardel 
     15  1.1  kardel LDADD+=		-L${LIBNTP} -lntp -L${LIBOPTS} -lopts -L${LIBISC} -liscntp -ledit -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}/ntpq
     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 ntpq.8:	ntpq.1
     27  1.2  kardel 	@cp $? $@
     28  1.2  kardel 
     29  1.1  kardel .include <bsd.prog.mk>
     30