xref: /freebsd/contrib/ntp/libntp/Makefile.am (revision 8d20be1e22095c27faf8fe8b2f0d089739cc742e)
1#AUTOMAKE_OPTIONS = ../ansi2knr no-dependencies
2AUTOMAKE_OPTIONS = ../util/ansi2knr
3noinst_LIBRARIES = libntp.a @MAKE_LIBNTPSIM@
4EXTRA_LIBRARIES = libntpsim.a
5libntp_a_SRCS = a_md5encrypt.c adjtime.c atoint.c atolfp.c atouint.c \
6	audio.c authkeys.c authreadkeys.c authusekey.c buftvtots.c \
7	caljulian.c caltontp.c calyearstart.c clocktime.c \
8	clocktypes.c decodenetnum.c dofptoa.c dolfptoa.c emalloc.c \
9	findconfig.c fptoa.c fptoms.c getopt.c hextoint.c \
10	hextolfp.c humandate.c icom.c inttoa.c iosignal.c \
11	lib_strbuf.c machines.c md5c.c memmove.c mfptoa.c \
12	mfptoms.c mktime.c modetoa.c mstolfp.c msutotsf.c msyslog.c netof.c \
13	ntp_rfc2553.c numtoa.c numtohost.c octtoint.c prettydate.c \
14	ntp_random.c recvbuff.c refnumtoa.c snprintf.c socktoa.c socktohost.c \
15	statestr.c strdup.c strerror.c strstr.c \
16	syssignal.c tsftomsu.c tstotv.c tvtoa.c tvtots.c \
17	uglydate.c uinttoa.c utvtoa.c ymd2yd.c \
18	$(srcdir)/../libisc/assertions.c $(srcdir)/../libisc/error.c \
19	$(srcdir)/../libisc/interfaceiter.c $(srcdir)/../libisc/lib.c \
20	$(srcdir)/../libisc/mem.c $(srcdir)/../libisc/msgcat.c \
21	$(srcdir)/../libisc/net.c $(srcdir)/../libisc/isc_strerror.c \
22	$(srcdir)/../libisc/inet_ntop.c \
23	$(srcdir)/../libisc/inet_pton.c \
24	$(srcdir)/../libisc/netaddr.c $(srcdir)/../libisc/sockaddr.c \
25	$(srcdir)/../libisc/netscope.c
26libntp_a_SOURCES = systime.c $(libntp_a_SRCS)
27libntpsim_a_SOURCES = systime_s.c $(libntp_a_SRCS)
28EXTRA_libntp_a_SOURCES = adjtimex.c
29INCLUDES = -I$(top_srcdir)/include -I../include
30ETAGS_ARGS = Makefile.am
31
32noinst_HEADERS = lib_strbuf.h
33
34../include/des.h:
35	touch ../include/des.h
36
37EXTRA_DIST = README
38
39