1NULL= 2BUILT_SOURCES = 3CLEANFILES = 4DISTCLEANFILES = 5noinst_LIBRARIES = libntp.a @MAKE_LIBNTPSIM@ 6EXTRA_LIBRARIES = libntpsim.a 7 8noinst_HEADERS = \ 9 lib/isc/task_p.h \ 10 lib/isc/include/isc/app.h \ 11 lib/isc/include/isc/assertions.h \ 12 lib/isc/include/isc/backtrace.h \ 13 lib/isc/include/isc/bind9.h \ 14 lib/isc/include/isc/buffer.h \ 15 lib/isc/include/isc/boolean.h \ 16 lib/isc/include/isc/error.h \ 17 lib/isc/include/isc/event.h \ 18 lib/isc/include/isc/eventclass.h \ 19 lib/isc/include/isc/file.h \ 20 lib/isc/include/isc/formatcheck.h \ 21 lib/isc/include/isc/hash.h \ 22 lib/isc/include/isc/interfaceiter.h \ 23 lib/isc/include/isc/lang.h \ 24 lib/isc/include/isc/lib.h \ 25 lib/isc/include/isc/list.h \ 26 lib/isc/include/isc/log.h \ 27 lib/isc/include/isc/magic.h \ 28 lib/isc/include/isc/md5.h \ 29 lib/isc/include/isc/msgs.h \ 30 lib/isc/include/isc/msgcat.h \ 31 lib/isc/include/isc/namespace.h \ 32 lib/isc/include/isc/netscope.h \ 33 lib/isc/include/isc/netaddr.h \ 34 lib/isc/include/isc/ondestroy.h \ 35 lib/isc/include/isc/platform.h \ 36 lib/isc/include/isc/print.h \ 37 lib/isc/include/isc/random.h \ 38 lib/isc/include/isc/region.h \ 39 lib/isc/include/isc/result.h \ 40 lib/isc/include/isc/resultclass.h \ 41 lib/isc/include/isc/sha1.h \ 42 lib/isc/include/isc/sockaddr.h \ 43 lib/isc/include/isc/socket.h \ 44 lib/isc/include/isc/stdio.h \ 45 lib/isc/include/isc/string.h \ 46 lib/isc/include/isc/task.h \ 47 lib/isc/include/isc/timer.h \ 48 lib/isc/include/isc/types.h \ 49 lib/isc/include/isc/util.h \ 50 lib/isc/include/isc/xml.h \ 51 lib/isc/unix/errno2result.h \ 52 lib/isc/unix/include/isc/dir.h \ 53 lib/isc/unix/include/isc/int.h \ 54 lib/isc/unix/include/isc/net.h \ 55 lib/isc/unix/include/isc/offset.h \ 56 lib/isc/unix/include/isc/stat.h \ 57 lib/isc/unix/include/isc/stdtime.h \ 58 lib/isc/unix/include/isc/strerror.h \ 59 lib/isc/unix/include/isc/time.h \ 60 lib/isc/win32/include/isc/condition.h \ 61 lib/isc/win32/include/isc/dir.h \ 62 lib/isc/win32/include/isc/int.h \ 63 lib/isc/win32/include/isc/ipv6.h \ 64 lib/isc/win32/include/isc/mutex.h \ 65 lib/isc/win32/include/isc/net.h \ 66 lib/isc/win32/include/isc/offset.h \ 67 lib/isc/win32/include/isc/once.h \ 68 lib/isc/win32/include/isc/platform.h \ 69 lib/isc/win32/include/isc/stat.h \ 70 lib/isc/win32/include/isc/stdtime.h \ 71 lib/isc/win32/include/isc/strerror.h \ 72 lib/isc/win32/include/isc/thread.h \ 73 lib/isc/win32/include/isc/time.h \ 74 lib/isc/win32/include/isc/win32os.h \ 75 $(NULL) 76 77 78# ntp_crypto_rnd.c includes libevent headers for use when 79# neither OpenSSL nor arc4random_buf are available. Those 80# include event2/event-config.h which is built, so if we 81# are building our libevent tearoff, build it before this. 82 83if BUILD_LIBEVENT 84BUILT_SOURCES += libevent_first 85CLEANFILES += libevent_first 86 87libevent_first: 88 cd $(top_builddir)/sntp/libevent && $(MAKE) $(AM_MAKEFLAGS) 89 echo stamp > $@ 90endif 91 92 93libisc_SRCS = \ 94 lib/isc/assertions.c \ 95 lib/isc/buffer.c \ 96 lib/isc/backtrace-emptytbl.c \ 97 lib/isc/backtrace.c \ 98 lib/isc/unix/dir.c \ 99 lib/isc/error.c \ 100 lib/isc/unix/errno2result.c \ 101 lib/isc/event.c \ 102 lib/isc/unix/file.c \ 103 lib/isc/inet_ntop.c \ 104 lib/isc/inet_pton.c \ 105 lib/isc/unix/interfaceiter.c \ 106 lib/isc/lib.c \ 107 lib/isc/log.c \ 108 lib/isc/md5.c \ 109 lib/isc/nls/msgcat.c \ 110 lib/isc/unix/net.c \ 111 lib/isc/netaddr.c \ 112 lib/isc/netscope.c \ 113 lib/isc/ondestroy.c \ 114 lib/isc/random.c \ 115 lib/isc/result.c \ 116 lib/isc/unix/stdio.c \ 117 lib/isc/unix/stdtime.c \ 118 lib/isc/unix/strerror.c \ 119 lib/isc/task.c \ 120 lib/isc/unix/time.c \ 121 lib/isc/sha1.c \ 122 lib/isc/sockaddr.c \ 123 lib/isc/tsmemcmp.c \ 124 $(NULL) 125 126libisc_XTRA = \ 127 lib/isc/pthreads/condition.c \ 128 lib/isc/pthreads/mutex.c \ 129 lib/isc/pthreads/thread.c \ 130 lib/isc/nothreads/condition.c \ 131 lib/isc/nothreads/thread.c \ 132 $(NULL) 133 134if PTHREADS 135libisc_SRCS += \ 136 lib/isc/pthreads/condition.c \ 137 lib/isc/pthreads/mutex.c \ 138 lib/isc/pthreads/thread.c \ 139 $(NULL) 140else 141libisc_SRCS += \ 142 lib/isc/nothreads/condition.c \ 143 lib/isc/nothreads/thread.c \ 144 $(NULL) 145endif 146 147libntp_a_SRCS = \ 148 a_md5encrypt.c \ 149 adjtime.c \ 150 atoint.c \ 151 atolfp.c \ 152 atouint.c \ 153 audio.c \ 154 authkeys.c \ 155 authreadkeys.c \ 156 authusekey.c \ 157 bsd_strerror.c \ 158 buftvtots.c \ 159 caljulian.c \ 160 caltontp.c \ 161 calyearstart.c \ 162 clocktime.c \ 163 clocktypes.c \ 164 decodenetnum.c \ 165 dofptoa.c \ 166 dolfptoa.c \ 167 emalloc.c \ 168 findconfig.c \ 169 getopt.c \ 170 hextoint.c \ 171 hextolfp.c \ 172 humandate.c \ 173 icom.c \ 174 iosignal.c \ 175 is_ip_address.c \ 176 lib_strbuf.c \ 177 libssl_compat.c \ 178 machines.c \ 179 mktime.c \ 180 modetoa.c \ 181 mstolfp.c \ 182 msyslog.c \ 183 netof.c \ 184 ntp_calendar.c \ 185 ntp_calgps.c \ 186 ntp_crypto_rnd.c \ 187 ntp_intres.c \ 188 ntp_libopts.c \ 189 ntp_lineedit.c \ 190 ntp_random.c \ 191 ntp_realpath.c \ 192 ntp_rfc2553.c \ 193 ntp_worker.c \ 194 numtoa.c \ 195 octtoint.c \ 196 prettydate.c \ 197 refidsmear.c \ 198 recvbuff.c \ 199 refnumtoa.c \ 200 snprintf.c \ 201 socket.c \ 202 socktoa.c \ 203 socktohost.c \ 204 ssl_init.c \ 205 statestr.c \ 206 strdup.c \ 207 strl_obsd.c \ 208 syssignal.c \ 209 timespecops.c \ 210 timetoa.c \ 211 timevalops.c \ 212 timexsup.c \ 213 uglydate.c \ 214 vint64ops.c \ 215 work_fork.c \ 216 work_thread.c \ 217 xsbprintf.c \ 218 ymd2yd.c \ 219 $(libisc_SRCS) \ 220 $(NULL) 221 222libntp_a_SOURCES = systime.c $(libntp_a_SRCS) 223libntpsim_a_SOURCES = systime_s.c $(libntp_a_SRCS) 224 225EXTRA_libntp_a_SOURCES = \ 226 adjtimex.c \ 227 $(libisc_XTRA) \ 228 $(NULL) 229 230AM_CFLAGS = $(CFLAGS_NTP) 231AM_CFLAGS += $(NTP_HARD_CFLAGS) 232 233AM_CPPFLAGS = $(NTP_INCS) 234AM_CPPFLAGS += $(LIBOPTS_CFLAGS) 235AM_CPPFLAGS += $(CPPFLAGS_LIBEVENT) 236AM_CPPFLAGS += $(CPPFLAGS_NTP) 237AM_CPPFLAGS += $(NTP_HARD_CPPFLAGS) 238 239AM_LDFLAGS = $(NTP_HARD_LDFLAGS) 240 241EXTRA_DIST = \ 242 README \ 243 lib/isc/nothreads/include \ 244 lib/isc/pthreads/include \ 245 lib/isc/unix/ifiter_getifaddrs.c \ 246 lib/isc/unix/ifiter_ioctl.c \ 247 lib/isc/unix/ifiter_sysctl.c \ 248 lib/isc/win32/condition.c \ 249 lib/isc/win32/interfaceiter.c \ 250 lib/isc/win32/net.c \ 251 lib/isc/win32/once.c \ 252 lib/isc/win32/stdtime.c \ 253 lib/isc/win32/strerror.c \ 254 lib/isc/win32/thread.c \ 255 lib/isc/win32/time.c \ 256 lib/isc/win32/win32os.c \ 257 $(NULL) 258 259include $(top_srcdir)/depsver.mf 260include $(top_srcdir)/includes.mf 261