summaryrefslogtreecommitdiffstats
path: root/usr.sbin/xntpd/lib
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1993-12-21 19:42:19 +0000
committerwollman <wollman@FreeBSD.org>1993-12-21 19:42:19 +0000
commit95089ca73e6df7a17bb0f5510feec6e341a7fd60 (patch)
treebe9e8255d4bdebf019a05a1b426d9c27d46b05f2 /usr.sbin/xntpd/lib
parent3b752c69e0023cb11e999c08198e321e04c6f7be (diff)
downloadFreeBSD-src-95089ca73e6df7a17bb0f5510feec6e341a7fd60.zip
FreeBSD-src-95089ca73e6df7a17bb0f5510feec6e341a7fd60.tar.gz
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.)
Diffstat (limited to 'usr.sbin/xntpd/lib')
-rw-r--r--usr.sbin/xntpd/lib/Makefile29
-rw-r--r--usr.sbin/xntpd/lib/authdes.c.export1
2 files changed, 30 insertions, 0 deletions
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 <bsd.lib.mk>
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 <sys/types.h>
+#include "ntp_types.h"
/*
* This routine is normally called to compute the key schedule.
OpenPOWER on IntegriCloud