From 95089ca73e6df7a17bb0f5510feec6e341a7fd60 Mon Sep 17 00:00:00 2001 From: wollman Date: Tue, 21 Dec 1993 19:42:19 +0000 Subject: Add BSD-style Makefile for libntp, and make the ``exportable'' version of DES (actually just a dummy) compile. (DES should not actually be used in any case.) --- usr.sbin/xntpd/lib/Makefile | 29 +++++++++++++++++++++++++++++ usr.sbin/xntpd/lib/authdes.c.export | 1 + 2 files changed, 30 insertions(+) create mode 100644 usr.sbin/xntpd/lib/Makefile diff --git a/usr.sbin/xntpd/lib/Makefile b/usr.sbin/xntpd/lib/Makefile new file mode 100644 index 0000000..d42a4c2 --- /dev/null +++ b/usr.sbin/xntpd/lib/Makefile @@ -0,0 +1,29 @@ +# +# $Id$ +# + +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 getopt.c \ + gettstamp.c hextoint.c hextolfp.c humandate.c inttoa.c \ + lib_strbuf.c mfptoa.c mfptoms.c modetoa.c mstolfp.c \ + msutotsf.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 + +NOMAN= +NOPROFILE= +LIB= ntp + +install: + +authdes.c: authdes.c.export + cp authdes.c.export authdes.c + +.include diff --git a/usr.sbin/xntpd/lib/authdes.c.export b/usr.sbin/xntpd/lib/authdes.c.export index b0323a0..5dfbde8 100644 --- a/usr.sbin/xntpd/lib/authdes.c.export +++ b/usr.sbin/xntpd/lib/authdes.c.export @@ -15,6 +15,7 @@ * to its exportable state, copy this file to authdes.c . */ #include +#include "ntp_types.h" /* * This routine is normally called to compute the key schedule. -- cgit v1.1