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