summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/libntp/Makefile.am
blob: 874739a188460241c0b51c9d80e11ebaad0ad224 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
NULL=
BUILT_SOURCES =
CLEANFILES =
noinst_LIBRARIES = libntp.a @MAKE_LIBNTPSIM@
EXTRA_LIBRARIES = libntpsim.a

libisc_SRCS =								\
	$(srcdir)/../lib/isc/assertions.c				\
	$(srcdir)/../lib/isc/buffer.c					\
	$(srcdir)/../lib/isc/backtrace-emptytbl.c			\
	$(srcdir)/../lib/isc/backtrace.c				\
	$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c	\
	$(srcdir)/../lib/isc/unix/dir.c					\
	$(srcdir)/../lib/isc/error.c					\
	$(srcdir)/../lib/isc/unix/errno2result.c			\
	$(srcdir)/../lib/isc/event.c					\
	$(srcdir)/../lib/isc/unix/file.c				\
	$(srcdir)/../lib/isc/inet_ntop.c				\
	$(srcdir)/../lib/isc/inet_pton.c				\
	$(srcdir)/../lib/isc/unix/interfaceiter.c			\
	$(srcdir)/../lib/isc/lib.c					\
	$(srcdir)/../lib/isc/log.c					\
	$(srcdir)/../lib/isc/md5.c					\
	$(srcdir)/../lib/isc/nls/msgcat.c				\
	$(srcdir)/../lib/isc/unix/net.c					\
	$(srcdir)/../lib/isc/netaddr.c					\
	$(srcdir)/../lib/isc/netscope.c					\
	$(srcdir)/../lib/isc/ondestroy.c				\
	$(srcdir)/../lib/isc/random.c					\
	$(srcdir)/../lib/isc/result.c					\
	$(srcdir)/../lib/isc/unix/stdio.c				\
	$(srcdir)/../lib/isc/unix/stdtime.c				\
	$(srcdir)/../lib/isc/unix/strerror.c				\
	$(srcdir)/../lib/isc/task.c					\
	$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c	\
	$(srcdir)/../lib/isc/unix/time.c				\
	$(srcdir)/../lib/isc/sha1.c					\
	$(srcdir)/../lib/isc/sockaddr.c					\
	$(srcdir)/../lib/isc/tsmemcmp.c					\
	$(NULL)

if PTHREADS
libisc_SRCS += $(srcdir)/../lib/isc/pthreads/mutex.c
endif

libntp_a_SRCS =						\
	a_md5encrypt.c					\
	adjtime.c					\
	atoint.c					\
	atolfp.c					\
	atouint.c					\
	audio.c						\
	authkeys.c					\
	authreadkeys.c					\
	authusekey.c					\
	bsd_strerror.c					\
	buftvtots.c					\
	caljulian.c					\
	caltontp.c					\
	calyearstart.c					\
	clocktime.c					\
	clocktypes.c					\
	decodenetnum.c					\
	dofptoa.c					\
	dolfptoa.c					\
	emalloc.c					\
	findconfig.c					\
	getopt.c					\
	hextoint.c					\
	hextolfp.c					\
	humandate.c					\
	icom.c						\
	iosignal.c					\
	is_ip_address.c					\
	lib_strbuf.c					\
	libssl_compat.c					\
	machines.c					\
	mktime.c					\
	modetoa.c					\
	mstolfp.c					\
	msyslog.c					\
	netof.c						\
	ntp_calendar.c					\
	ntp_crypto_rnd.c				\
	ntp_intres.c					\
	ntp_libopts.c					\
	ntp_lineedit.c					\
	ntp_random.c					\
	ntp_rfc2553.c					\
	ntp_worker.c					\
	numtoa.c					\
	numtohost.c					\
	octtoint.c					\
	prettydate.c					\
	refidsmear.c					\
	recvbuff.c					\
	refnumtoa.c					\
	snprintf.c					\
	socket.c					\
	socktoa.c					\
	socktohost.c					\
	ssl_init.c					\
	statestr.c					\
	strdup.c					\
	strl_obsd.c					\
	syssignal.c					\
	timetoa.c					\
	timevalops.c					\
	uglydate.c					\
	vint64ops.c					\
	work_fork.c					\
	work_thread.c					\
	ymd2yd.c					\
	$(libisc_SRCS)					\
	$(NULL)

libntp_a_SOURCES = systime.c $(libntp_a_SRCS)
libntpsim_a_SOURCES = systime_s.c $(libntp_a_SRCS)
EXTRA_libntp_a_SOURCES = adjtimex.c

AM_CFLAGS = $(CFLAGS_NTP)

AM_CPPFLAGS  = $(NTP_INCS)
AM_CPPFLAGS += $(LIBOPTS_CFLAGS)
AM_CPPFLAGS += $(CPPFLAGS_NTP)

EXTRA_DIST = README

include $(top_srcdir)/depsver.mf
include $(top_srcdir)/includes.mf
OpenPOWER on IntegriCloud