diff options
author | roberto <roberto@FreeBSD.org> | 2008-08-22 16:00:48 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2008-08-22 16:00:48 +0000 |
commit | e01fe39f04056ee9114cad5f8fcceafa3856c80c (patch) | |
tree | 09f1e02ba3375bb9d3a329705c08f20103f72e74 /usr.sbin/ntp/ntpdc/Makefile | |
parent | b85c7169a740b2edf0106ad59fdaa1b0160f823c (diff) | |
download | FreeBSD-src-e01fe39f04056ee9114cad5f8fcceafa3856c80c.zip FreeBSD-src-e01fe39f04056ee9114cad5f8fcceafa3856c80c.tar.gz |
Update the various files to sync with vendor import of 4.2.4p5.
sntp includes a copy of libopts in itself in vendor code, rewrite the
Makefile to compile and use only one copy. It is an internal library, not
installed.
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/ntp/ntpdc/Makefile')
-rw-r--r-- | usr.sbin/ntp/ntpdc/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/ntp/ntpdc/Makefile b/usr.sbin/ntp/ntpdc/Makefile index 1e42b43..75cfec0 100644 --- a/usr.sbin/ntp/ntpdc/Makefile +++ b/usr.sbin/ntp/ntpdc/Makefile @@ -7,12 +7,13 @@ NO_MAN= .PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc PROG= ntpdc -SRCS= ntpdc.c ntpdc_ops.c version.c +SRCS= ntpdc.c ntpdc_ops.c ntpdc-opts.c version.c -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ +CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \ + -I${.CURDIR}/../../../contrib/ntp/libopts -DPADD= ${LIBNTP} ${LIBMD} -LDADD= ${LIBNTP} -lmd +DPADD= ${LIBNTP} ${LIBM} ${LIBMD} ${LIBOPTS} +LDADD= ${LIBNTP} -lm -lmd ${LIBOPTS} .if ${MK_GNU_SUPPORT} != "no" DPADD+= ${LIBREADLINE} ${LIBTERMCAP} |