summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/xntpres/Makefile
blob: fc410474f1c6b6251bb22ac08b239e5918c863c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#
# $Id: Makefile,v 1.1 1993/12/21 20:38:27 wollman Exp $
#

CFLAGS+= -I${.CURDIR}/../include

.if exists(${.CURDIR}/../lib/obj)
LDADD+= -L${.CURDIR}/../lib/obj
DPADD+= -L${.CURDIR}/../lib/obj/libntp.a
.else
LDADD+= -L${.CURDIR}/../lib
DPADD+= -L${.CURDIR}/../lib/libntp.a
.endif

LDADD+= -lntp

PROG= xntpres
NOMAN=
CLEANFILES+= .version version.c

SRCS= xntpres.c version.c

beforedepend: version.c

version.c: ${.CURDIR}/../VERSION
	${.CURDIR}/../scripts/mkversion xntpres

.include <bsd.prog.mk>
OpenPOWER on IntegriCloud