4c49e2a210
- reorganise the Makefiles: the order of variables was not the usual one. Explained gently by: bde
27 lines
389 B
Makefile
27 lines
389 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc
|
|
|
|
PROG= ntpdc
|
|
|
|
SRCS= ntpdc.c ntpdc_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 ntpdc
|
|
|
|
afterinstall:
|
|
rm -f ${DESTDIR}/usr/sbin/xntpdc
|
|
|
|
.include <bsd.prog.mk>
|