1# $FreeBSD: head/usr.sbin/ntp/ntpd/Makefile 265420 2014-05-06 04:22:01Z imp $
2
3MAN=
4
5.include <src.opts.mk>
6
7.PATH: ${.CURDIR}/../../../contrib/ntp/ntpd
8
9PROG= ntpd
--- 20 unchanged lines hidden (view full) ---
30 version.c
31
32CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
33 -I${.CURDIR}/../../../contrib/ntp/libopts -I${.CURDIR}
34
35DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBMD} ${LIBRT} ${LIBOPTS}
36LDADD= ${LIBPARSE} ${LIBNTP} -lm -lmd -lrt ${LIBOPTS}
37
38.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
39DPADD+= ${LIBCRYPTO}
40LDADD+= -lcrypto
41.endif
42
43CLEANFILES+= .version version.c
44
45version.c:
46 sh -e ${.CURDIR}/../scripts/mkver ntpd
47
48.include <bsd.prog.mk>
2
3MAN=
4
5.include <src.opts.mk>
6
7.PATH: ${.CURDIR}/../../../contrib/ntp/ntpd
8
9PROG= ntpd
--- 20 unchanged lines hidden (view full) ---
30 version.c
31
32CFLAGS+= -I${.CURDIR}/../../../contrib/ntp/include -I${.CURDIR}/../ \
33 -I${.CURDIR}/../../../contrib/ntp/libopts -I${.CURDIR}
34
35DPADD= ${LIBPARSE} ${LIBNTP} ${LIBM} ${LIBMD} ${LIBRT} ${LIBOPTS}
36LDADD= ${LIBPARSE} ${LIBNTP} -lm -lmd -lrt ${LIBOPTS}
37
38.if ${MK_OPENSSL} != "no" && !defined(RELEASE_CRUNCH)
39DPADD+= ${LIBCRYPTO}
40LDADD+= -lcrypto
41.endif
42
43CLEANFILES+= .version version.c
44
45version.c:
46 sh -e ${.CURDIR}/../scripts/mkver ntpd
47
48.include <bsd.prog.mk>