xref: /freebsd/contrib/ntp/libntp/Makefile.am (revision af6a5351a1fdb1130f18be6c782c4d48916eb971)
1NULL=
2BUILT_SOURCES =
3CLEANFILES =
4noinst_LIBRARIES = libntp.a @MAKE_LIBNTPSIM@
5EXTRA_LIBRARIES = libntpsim.a
6
7libisc_SRCS =								\
8	$(srcdir)/../lib/isc/assertions.c				\
9	$(srcdir)/../lib/isc/buffer.c					\
10	$(srcdir)/../lib/isc/backtrace-emptytbl.c			\
11	$(srcdir)/../lib/isc/backtrace.c				\
12	$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c	\
13	$(srcdir)/../lib/isc/unix/dir.c					\
14	$(srcdir)/../lib/isc/error.c					\
15	$(srcdir)/../lib/isc/unix/errno2result.c			\
16	$(srcdir)/../lib/isc/event.c					\
17	$(srcdir)/../lib/isc/unix/file.c				\
18	$(srcdir)/../lib/isc/inet_ntop.c				\
19	$(srcdir)/../lib/isc/inet_pton.c				\
20	$(srcdir)/../lib/isc/unix/interfaceiter.c			\
21	$(srcdir)/../lib/isc/lib.c					\
22	$(srcdir)/../lib/isc/log.c					\
23	$(srcdir)/../lib/isc/md5.c					\
24	$(srcdir)/../lib/isc/nls/msgcat.c				\
25	$(srcdir)/../lib/isc/unix/net.c					\
26	$(srcdir)/../lib/isc/netaddr.c					\
27	$(srcdir)/../lib/isc/netscope.c					\
28	$(srcdir)/../lib/isc/ondestroy.c				\
29	$(srcdir)/../lib/isc/random.c					\
30	$(srcdir)/../lib/isc/result.c					\
31	$(srcdir)/../lib/isc/unix/stdio.c				\
32	$(srcdir)/../lib/isc/unix/stdtime.c				\
33	$(srcdir)/../lib/isc/unix/strerror.c				\
34	$(srcdir)/../lib/isc/task.c					\
35	$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c	\
36	$(srcdir)/../lib/isc/unix/time.c				\
37	$(srcdir)/../lib/isc/sha1.c					\
38	$(srcdir)/../lib/isc/sockaddr.c					\
39	$(srcdir)/../lib/isc/tsmemcmp.c					\
40	$(NULL)
41
42if PTHREADS
43libisc_SRCS += $(srcdir)/../lib/isc/pthreads/mutex.c
44endif
45
46libntp_a_SRCS =						\
47	a_md5encrypt.c					\
48	adjtime.c					\
49	atoint.c					\
50	atolfp.c					\
51	atouint.c					\
52	audio.c						\
53	authkeys.c					\
54	authreadkeys.c					\
55	authusekey.c					\
56	bsd_strerror.c					\
57	buftvtots.c					\
58	caljulian.c					\
59	caltontp.c					\
60	calyearstart.c					\
61	clocktime.c					\
62	clocktypes.c					\
63	decodenetnum.c					\
64	dofptoa.c					\
65	dolfptoa.c					\
66	emalloc.c					\
67	findconfig.c					\
68	getopt.c					\
69	hextoint.c					\
70	hextolfp.c					\
71	humandate.c					\
72	icom.c						\
73	iosignal.c					\
74	is_ip_address.c					\
75	lib_strbuf.c					\
76	libssl_compat.c					\
77	machines.c					\
78	mktime.c					\
79	modetoa.c					\
80	mstolfp.c					\
81	msyslog.c					\
82	netof.c						\
83	ntp_calendar.c					\
84	ntp_crypto_rnd.c				\
85	ntp_intres.c					\
86	ntp_libopts.c					\
87	ntp_lineedit.c					\
88	ntp_random.c					\
89	ntp_rfc2553.c					\
90	ntp_worker.c					\
91	numtoa.c					\
92	numtohost.c					\
93	octtoint.c					\
94	prettydate.c					\
95	refidsmear.c					\
96	recvbuff.c					\
97	refnumtoa.c					\
98	snprintf.c					\
99	socket.c					\
100	socktoa.c					\
101	socktohost.c					\
102	ssl_init.c					\
103	statestr.c					\
104	strdup.c					\
105	strl_obsd.c					\
106	syssignal.c					\
107	timetoa.c					\
108	timevalops.c					\
109	uglydate.c					\
110	vint64ops.c					\
111	work_fork.c					\
112	work_thread.c					\
113	ymd2yd.c					\
114	$(libisc_SRCS)					\
115	$(NULL)
116
117libntp_a_SOURCES = systime.c $(libntp_a_SRCS)
118libntpsim_a_SOURCES = systime_s.c $(libntp_a_SRCS)
119EXTRA_libntp_a_SOURCES = adjtimex.c
120
121AM_CFLAGS = $(CFLAGS_NTP)
122
123AM_CPPFLAGS  = $(NTP_INCS)
124AM_CPPFLAGS += $(LIBOPTS_CFLAGS)
125AM_CPPFLAGS += $(CPPFLAGS_NTP)
126
127EXTRA_DIST = README
128
129include $(top_srcdir)/depsver.mf
130include $(top_srcdir)/includes.mf
131