aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/xntpd/lib/Makefile
blob: 19b01ddb4275c46076bcfe4f36eec10090d52c39 (plain) (blame)
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
29
30
31
32
33
34
35
#
# $FreeBSD$
#

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

SRCS=	atoint.c atolfp.c atouint.c auth12crypt.c authdecrypt.c authdes.c \
	authencrypt.c authkeys.c authparity.c authreadkeys.c authusekey.c \
	buftvtots.c caljulian.c calleapwhen.c caltontp.c calyearstart.c \
	clocktime.c dofptoa.c dolfptoa.c emalloc.c fptoa.c fptoms.c \
	gettstamp.c hextoint.c hextolfp.c humandate.c inttoa.c \
	lib_strbuf.c mfptoa.c mfptoms.c modetoa.c mstolfp.c \
	msutotsf.c netof.c numtoa.c refnumtoa.c numtohost.c octtoint.c \
	prettydate.c ranny.c tsftomsu.c tstotv.c tvtoa.c tvtots.c \
	uglydate.c uinttoa.c utvtoa.c clocktypes.c \
	md5.c a_md5encrypt.c a_md5decrypt.c \
	a_md512crypt.c decodenetnum.c systime.c msyslog.c syssignal.c \
	findconfig.c getopt.c

NOMAN=
NOPROFILE=
LIB= ntp
CLEANFILES+=authdes.c

.if !defined(NOCRYPT) && exists(${.CURDIR}/../../../secure/usr.sbin/xntpd/lib)
.PATH:	${.CURDIR}/../../../secure/usr.sbin/xntpd/lib
.else
authdes.c: authdes.c.export
	cp ${.CURDIR}/authdes.c.export authdes.c
.endif

# don't install this anywhere
install:

.include <bsd.lib.mk>