xref: /freebsd/contrib/ntp/libntp/Makefile.am (revision 49dae58b287906be26f56ba3e3dc693c3ba8cf37)
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	machines.c					\
77	mktime.c					\
78	modetoa.c					\
79	mstolfp.c					\
80	msyslog.c					\
81	netof.c						\
82	ntp_calendar.c					\
83	ntp_crypto_rnd.c				\
84	ntp_intres.c					\
85	ntp_libopts.c					\
86	ntp_lineedit.c					\
87	ntp_random.c					\
88	ntp_rfc2553.c					\
89	ntp_worker.c					\
90	numtoa.c					\
91	numtohost.c					\
92	octtoint.c					\
93	prettydate.c					\
94	refidsmear.c					\
95	recvbuff.c					\
96	refnumtoa.c					\
97	snprintf.c					\
98	socket.c					\
99	socktoa.c					\
100	socktohost.c					\
101	ssl_init.c					\
102	statestr.c					\
103	strdup.c					\
104	strl_obsd.c					\
105	syssignal.c					\
106	timetoa.c					\
107	timevalops.c					\
108	uglydate.c					\
109	vint64ops.c					\
110	work_fork.c					\
111	work_thread.c					\
112	ymd2yd.c					\
113	$(libisc_SRCS)					\
114	$(NULL)
115
116libntp_a_SOURCES = systime.c $(libntp_a_SRCS)
117libntpsim_a_SOURCES = systime_s.c $(libntp_a_SRCS)
118EXTRA_libntp_a_SOURCES = adjtimex.c
119
120AM_CFLAGS = $(CFLAGS_NTP)
121
122AM_CPPFLAGS  = $(NTP_INCS)
123AM_CPPFLAGS += $(LIBOPTS_CFLAGS)
124AM_CPPFLAGS += $(CPPFLAGS_NTP)
125
126EXTRA_DIST = README
127
128include $(top_srcdir)/depsver.mf
129include $(top_srcdir)/includes.mf
130