xref: /freebsd/contrib/ntp/libntp/Makefile.am (revision d356ca0c3ffa363d5bfbc237b44f53b3f88fd415)
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	$(NULL)
40
41if PTHREADS
42libisc_SRCS += $(srcdir)/../lib/isc/pthreads/mutex.c
43endif
44
45libntp_a_SRCS =						\
46	a_md5encrypt.c					\
47	adjtime.c					\
48	atoint.c					\
49	atolfp.c					\
50	atouint.c					\
51	audio.c						\
52	authkeys.c					\
53	authreadkeys.c					\
54	authusekey.c					\
55	bsd_strerror.c					\
56	buftvtots.c					\
57	caljulian.c					\
58	caltontp.c					\
59	calyearstart.c					\
60	clocktime.c					\
61	clocktypes.c					\
62	decodenetnum.c					\
63	dofptoa.c					\
64	dolfptoa.c					\
65	emalloc.c					\
66	findconfig.c					\
67	getopt.c					\
68	hextoint.c					\
69	hextolfp.c					\
70	humandate.c					\
71	icom.c						\
72	iosignal.c					\
73	is_ip_address.c					\
74	lib_strbuf.c					\
75	machines.c					\
76	mktime.c					\
77	modetoa.c					\
78	mstolfp.c					\
79	msyslog.c					\
80	netof.c						\
81	ntp_calendar.c					\
82	ntp_crypto_rnd.c				\
83	ntp_intres.c					\
84	ntp_libopts.c					\
85	ntp_lineedit.c					\
86	ntp_random.c					\
87	ntp_rfc2553.c					\
88	ntp_worker.c					\
89	numtoa.c					\
90	numtohost.c					\
91	octtoint.c					\
92	prettydate.c					\
93	refidsmear.c					\
94	recvbuff.c					\
95	refnumtoa.c					\
96	snprintf.c					\
97	socket.c					\
98	socktoa.c					\
99	socktohost.c					\
100	ssl_init.c					\
101	statestr.c					\
102	strdup.c					\
103	strl_obsd.c					\
104	syssignal.c					\
105	timetoa.c					\
106	timevalops.c					\
107	uglydate.c					\
108	vint64ops.c					\
109	work_fork.c					\
110	work_thread.c					\
111	ymd2yd.c					\
112	$(libisc_SRCS)					\
113	$(NULL)
114
115libntp_a_SOURCES = systime.c $(libntp_a_SRCS)
116libntpsim_a_SOURCES = systime_s.c $(libntp_a_SRCS)
117EXTRA_libntp_a_SOURCES = adjtimex.c
118
119AM_CFLAGS = $(CFLAGS_NTP)
120
121AM_CPPFLAGS  = $(NTP_INCS)
122AM_CPPFLAGS += $(LIBOPTS_CFLAGS)
123AM_CPPFLAGS += $(CPPFLAGS_NTP)
124
125EXTRA_DIST = README
126
127include $(top_srcdir)/depsver.mf
128include $(top_srcdir)/includes.mf
129