diff options
author | roberto <roberto@FreeBSD.org> | 2000-01-01 23:58:01 +0000 |
---|---|---|
committer | roberto <roberto@FreeBSD.org> | 2000-01-01 23:58:01 +0000 |
commit | 034f4c18839b7e3aba2de93e8676d439a367f35e (patch) | |
tree | dc367cfcc407ca7ff8edce9f9cc76b544a571f5a /usr.sbin/ntp | |
parent | 4c3a41624f578d83b51feb6fa563d8381b2cd081 (diff) | |
download | FreeBSD-src-034f4c18839b7e3aba2de93e8676d439a367f35e.zip FreeBSD-src-034f4c18839b7e3aba2de93e8676d439a367f35e.tar.gz |
- remove trace of libkvm. It is not used at all.
- reorganise the Makefiles: the order of variables was not the usual one.
Explained gently by: bde
Diffstat (limited to 'usr.sbin/ntp')
-rw-r--r-- | usr.sbin/ntp/libntp/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/ntp/libparse/Makefile | 4 | ||||
-rw-r--r-- | usr.sbin/ntp/ntpd/Makefile | 16 | ||||
-rw-r--r-- | usr.sbin/ntp/ntpdate/Makefile | 14 | ||||
-rw-r--r-- | usr.sbin/ntp/ntpdc/Makefile | 14 | ||||
-rw-r--r-- | usr.sbin/ntp/ntpq/Makefile | 16 | ||||
-rw-r--r-- | usr.sbin/ntp/ntptime/Makefile | 11 | ||||
-rw-r--r-- | usr.sbin/ntp/ntptimeset/Makefile | 14 | ||||
-rw-r--r-- | usr.sbin/ntp/ntptrace/Makefile | 14 |
9 files changed, 60 insertions, 47 deletions
diff --git a/usr.sbin/ntp/libntp/Makefile b/usr.sbin/ntp/libntp/Makefile index 15c46d7..0e18a67 100644 --- a/usr.sbin/ntp/libntp/Makefile +++ b/usr.sbin/ntp/libntp/Makefile @@ -4,8 +4,6 @@ .PATH: ${.CURDIR}/../../../contrib/ntp/libntp -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ - SRCS= a_md5encrypt.c adjtime.c atoint.c \ atolfp.c atouint.c authencrypt.c authkeys.c \ authparity.c authreadkeys.c authusekey.c binio.c \ @@ -24,6 +22,8 @@ SRCS= a_md5encrypt.c adjtime.c atoint.c \ tsftomsu.c tstotv.c tvtoa.c tvtots.c \ uglydate.c uinttoa.c utvtoa.c ymd2yd.c +CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ + NOMAN= true NOPROFILE= true INTERNALLIB= true diff --git a/usr.sbin/ntp/libparse/Makefile b/usr.sbin/ntp/libparse/Makefile index ced28a8..dd0b645 100644 --- a/usr.sbin/ntp/libparse/Makefile +++ b/usr.sbin/ntp/libparse/Makefile @@ -4,8 +4,6 @@ .PATH: ${.CURDIR}/../../../contrib/ntp/libparse -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ - SRCS= parse.c parse_conf.c \ clk_computime.c clk_dcf7000.c clk_hopf6021.c \ clk_meinberg.c clk_rawdcf.c clk_rcc8000.c \ @@ -13,6 +11,8 @@ SRCS= parse.c parse_conf.c \ clk_varitext.c clk_wharton.c data_mbg.c \ info_trimble.c trim_info.c +CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ + NOMAN= true NOPROFILE= true INTERNALLIB= true diff --git a/usr.sbin/ntp/ntpd/Makefile b/usr.sbin/ntp/ntpd/Makefile index 0bff100..fd1e393 100644 --- a/usr.sbin/ntp/ntpd/Makefile +++ b/usr.sbin/ntp/ntpd/Makefile @@ -4,14 +4,7 @@ .PATH: ${.CURDIR}/../../../contrib/ntp/ntpd -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ - -DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBKVM} -LDADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBKVM} - PROG= ntpd -NOMAN= yes -CLEANFILES+= .version version.c SRCS= map_vme.c ntp_config.c \ ntp_control.c ntp_filegen.c ntp_intres.c \ @@ -31,6 +24,15 @@ SRCS= map_vme.c ntp_config.c \ refclock_trak.c refclock_true.c refclock_usno.c \ refclock_wwvb.c version.c +CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ + +NOMAN= yes + +DPADD= ${LIBPARSE} ${LIBNTP} -lm +LDADD= ${LIBPARSE} ${LIBNTP} -lm + +CLEANFILES+= .version version.c + version.c: sh -e ${.CURDIR}/../scripts/mkver ntpd diff --git a/usr.sbin/ntp/ntpdate/Makefile b/usr.sbin/ntp/ntpdate/Makefile index 015b14d..22c7cf0 100644 --- a/usr.sbin/ntp/ntpdate/Makefile +++ b/usr.sbin/ntp/ntpdate/Makefile @@ -4,16 +4,18 @@ .PATH: ${.CURDIR}/../../../contrib/ntp/ntpdate -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ +PROG= ntpdate -DPADD= ${LIBNTP} ${LIBKVM} -LDADD= ${LIBNTP} ${LIBKVM} +SRCS= ntpdate.c version.c + +CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ -PROG= ntpdate NOMAN= yes -CLEANFILES+= .version version.c -SRCS= ntpdate.c version.c +DPADD= ${LIBNTP} +LDADD= ${LIBNTP} + +CLEANFILES+= .version version.c version.c: sh -e ${.CURDIR}/../scripts/mkver ntpdate diff --git a/usr.sbin/ntp/ntpdc/Makefile b/usr.sbin/ntp/ntpdc/Makefile index 93d8194..97756af 100644 --- a/usr.sbin/ntp/ntpdc/Makefile +++ b/usr.sbin/ntp/ntpdc/Makefile @@ -4,16 +4,18 @@ .PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ +PROG= ntpdc -DPADD= ${LIBNTP} ${LIBKVM} -LDADD= ${LIBNTP} ${LIBKVM} +SRCS= ntpdc.c ntpdc_ops.c version.c + +CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ -PROG= ntpdc NOMAN= yes -CLEANFILES+= .version version.c -SRCS= ntpdc.c ntpdc_ops.c version.c +DPADD= ${LIBNTP} +LDADD= ${LIBNTP} + +CLEANFILES+= .version version.c version.c: sh -e ${.CURDIR}/../scripts/mkver ntpdc diff --git a/usr.sbin/ntp/ntpq/Makefile b/usr.sbin/ntp/ntpq/Makefile index 551dbec6b..29f16e0 100644 --- a/usr.sbin/ntp/ntpq/Makefile +++ b/usr.sbin/ntp/ntpq/Makefile @@ -4,18 +4,20 @@ .PATH: ${.CURDIR}/../../../contrib/ntp/ntpq -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ - -DPADD= ${LIBNTP} ${LIBKVM} -LDADD= ${LIBNTP} ${LIBKVM} - PROG= ntpq -NOMAN= yes -CLEANFILES+= .version version.c BINDIR= /usr/bin SRCS= ntpq.c ntpq_ops.c version.c +CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ + +NOMAN= yes + +DPADD= ${LIBNTP} +LDADD= ${LIBNTP} + +CLEANFILES+= .version version.c + version.c: sh -e ${.CURDIR}/../scripts/mkver ntpq diff --git a/usr.sbin/ntp/ntptime/Makefile b/usr.sbin/ntp/ntptime/Makefile index d4e45eb..6d57ec2 100644 --- a/usr.sbin/ntp/ntptime/Makefile +++ b/usr.sbin/ntp/ntptime/Makefile @@ -4,14 +4,15 @@ .PATH: ${.CURDIR}/../../../contrib/ntp/util -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ +PROG= ntptime -DPADD= ${LIBNTP} ${LIBKVM} -LDADD= ${LIBNTP} ${LIBKVM} +SRCS= ntptime.c + +CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ -PROG= ntptime NOMAN= yes -SRCS= ntptime.c +DPADD= ${LIBNTP} +LDADD= ${LIBNTP} .include <bsd.prog.mk> diff --git a/usr.sbin/ntp/ntptimeset/Makefile b/usr.sbin/ntp/ntptimeset/Makefile index 80e421b..7e2dc93 100644 --- a/usr.sbin/ntp/ntptimeset/Makefile +++ b/usr.sbin/ntp/ntptimeset/Makefile @@ -4,16 +4,18 @@ .PATH: ${.CURDIR}/../../../contrib/ntp/ntpdate -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ +PROG= ntptimeset -DPADD= ${LIBNTP} ${LIBKVM} -LDADD= ${LIBNTP} ${LIBKVM} +SRCS= ntptimeset.c ntptime_config.c version.c + +CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ -PROG= ntptimeset NOMAN= yes -CLEANFILES+= .version version.c -SRCS= ntptimeset.c ntptime_config.c version.c +DPADD= ${LIBNTP} +LDADD= ${LIBNTP} + +CLEANFILES+= .version version.c version.c: sh -e ${.CURDIR}/../scripts/mkver ntptimeset diff --git a/usr.sbin/ntp/ntptrace/Makefile b/usr.sbin/ntp/ntptrace/Makefile index 219ae9b..9bb0bde 100644 --- a/usr.sbin/ntp/ntptrace/Makefile +++ b/usr.sbin/ntp/ntptrace/Makefile @@ -4,16 +4,18 @@ .PATH: ${.CURDIR}/../../../contrib/ntp/ntptrace -CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ +PROG= ntptrace -DPADD= ${LIBNTP} ${LIBKVM} -LDADD= ${LIBNTP} ${LIBKVM} +SRCS= ntptrace.c version.c + +CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ -PROG= ntptrace NOMAN= yes -CLEANFILES+= .version version.c -SRCS= ntptrace.c version.c +DPADD= ${LIBNTP} +LDADD= ${LIBNTP} + +CLEANFILES+= .version version.c version.c: sh -e ${.CURDIR}/../scripts/mkver ntptrace |