Makefile (11d38a5764295585a2472d5e861fa8abe1a11eb2) | Makefile (af6a5351a1fdb1130f18be6c782c4d48916eb971) |
---|---|
1# $FreeBSD$ 2 3MAN= 4 5.include <src.opts.mk> | 1# $FreeBSD$ 2 3MAN= 4 5.include <src.opts.mk> |
6.include <bsd.own.mk> | |
7 | 6 |
8.PATH: ${.CURDIR}/../../../contrib/ntp/ntpdc | 7.PATH: ${SRCTOP}/contrib/ntp/ntpdc |
9 10PROG= ntpdc 11SRCS= ntpdc.c ntpdc_ops.c ntpdc-opts.c version.c 12 | 8 9PROG= ntpdc 10SRCS= ntpdc.c ntpdc_ops.c ntpdc-opts.c version.c 11 |
13CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include \ 14 -I${.CURDIR}/../../../contrib/ntp/lib/isc/include \ 15 -I${.CURDIR}/../../../contrib/ntp/lib/isc/unix/include \ 16 -I${.CURDIR}/../../../contrib/ntp/lib/isc/pthreads/include \ 17 -I${.CURDIR}/../../../contrib/ntp/sntp/libopts \ 18 -I${.CURDIR}/../../../lib/libc/${MACHINE_ARCH} \ 19 -I${.CURDIR}/../ -I${.CURDIR} | 12CFLAGS+= -I${SRCTOP}/contrib/ntp/include \ 13 -I${SRCTOP}/contrib/ntp/lib/isc/include \ 14 -I${SRCTOP}/contrib/ntp/lib/isc/unix/include \ 15 -I${SRCTOP}/contrib/ntp/lib/isc/pthreads/include \ 16 -I${SRCTOP}/contrib/ntp/sntp/libopts \ 17 -I${.CURDIR}/lib/libc/${MACHINE_ARCH} \ 18 -I${.CURDIR:H} -I${.CURDIR} |
20 21LIBADD= edit ntp m opts pthread 22CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \ 23 -I${DESTDIR}/${INCLUDEDIR}/edit 24 25.if ${MK_OPENSSL} != "no" 26LIBADD+= crypto 27.else 28LIBADD+= md 29.endif 30 31CLEANFILES+= .version version.c 32 33version.c: 34 sh -e ${.CURDIR}/../scripts/mkver ntpdc 35 36.include <bsd.prog.mk> | 19 20LIBADD= edit ntp m opts pthread 21CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \ 22 -I${DESTDIR}/${INCLUDEDIR}/edit 23 24.if ${MK_OPENSSL} != "no" 25LIBADD+= crypto 26.else 27LIBADD+= md 28.endif 29 30CLEANFILES+= .version version.c 31 32version.c: 33 sh -e ${.CURDIR}/../scripts/mkver ntpdc 34 35.include <bsd.prog.mk> |