xref: /freebsd/contrib/ntp/libntp/Makefile.am (revision 68ba7e87e74b00b0511b346607b464f318c91083)
12b15cb3dSCy SchubertNULL=
22b15cb3dSCy SchubertBUILT_SOURCES =
32b15cb3dSCy SchubertCLEANFILES =
49c2daa00SOllivier Robertnoinst_LIBRARIES = libntp.a @MAKE_LIBNTPSIM@
59c2daa00SOllivier RobertEXTRA_LIBRARIES = libntpsim.a
62b15cb3dSCy Schubert
72b15cb3dSCy Schubertlibisc_SRCS =								\
82b15cb3dSCy Schubert	$(srcdir)/../lib/isc/assertions.c				\
92b15cb3dSCy Schubert	$(srcdir)/../lib/isc/buffer.c					\
102b15cb3dSCy Schubert	$(srcdir)/../lib/isc/backtrace-emptytbl.c			\
112b15cb3dSCy Schubert	$(srcdir)/../lib/isc/backtrace.c				\
122b15cb3dSCy Schubert	$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/condition.c	\
132b15cb3dSCy Schubert	$(srcdir)/../lib/isc/unix/dir.c					\
142b15cb3dSCy Schubert	$(srcdir)/../lib/isc/error.c					\
152b15cb3dSCy Schubert	$(srcdir)/../lib/isc/unix/errno2result.c			\
162b15cb3dSCy Schubert	$(srcdir)/../lib/isc/event.c					\
172b15cb3dSCy Schubert	$(srcdir)/../lib/isc/unix/file.c				\
182b15cb3dSCy Schubert	$(srcdir)/../lib/isc/inet_ntop.c				\
192b15cb3dSCy Schubert	$(srcdir)/../lib/isc/inet_pton.c				\
202b15cb3dSCy Schubert	$(srcdir)/../lib/isc/unix/interfaceiter.c			\
212b15cb3dSCy Schubert	$(srcdir)/../lib/isc/lib.c					\
222b15cb3dSCy Schubert	$(srcdir)/../lib/isc/log.c					\
232b15cb3dSCy Schubert	$(srcdir)/../lib/isc/md5.c					\
242b15cb3dSCy Schubert	$(srcdir)/../lib/isc/nls/msgcat.c				\
252b15cb3dSCy Schubert	$(srcdir)/../lib/isc/unix/net.c					\
262b15cb3dSCy Schubert	$(srcdir)/../lib/isc/netaddr.c					\
272b15cb3dSCy Schubert	$(srcdir)/../lib/isc/netscope.c					\
282b15cb3dSCy Schubert	$(srcdir)/../lib/isc/ondestroy.c				\
292b15cb3dSCy Schubert	$(srcdir)/../lib/isc/random.c					\
302b15cb3dSCy Schubert	$(srcdir)/../lib/isc/result.c					\
312b15cb3dSCy Schubert	$(srcdir)/../lib/isc/unix/stdio.c				\
322b15cb3dSCy Schubert	$(srcdir)/../lib/isc/unix/stdtime.c				\
332b15cb3dSCy Schubert	$(srcdir)/../lib/isc/unix/strerror.c				\
342b15cb3dSCy Schubert	$(srcdir)/../lib/isc/task.c					\
352b15cb3dSCy Schubert	$(srcdir)/../lib/isc/$(LIBISC_PTHREADS_NOTHREADS)/thread.c	\
362b15cb3dSCy Schubert	$(srcdir)/../lib/isc/unix/time.c				\
372b15cb3dSCy Schubert	$(srcdir)/../lib/isc/sha1.c					\
382b15cb3dSCy Schubert	$(srcdir)/../lib/isc/sockaddr.c					\
392b15cb3dSCy Schubert	$(NULL)
402b15cb3dSCy Schubert
412b15cb3dSCy Schubertif PTHREADS
422b15cb3dSCy Schubertlibisc_SRCS += $(srcdir)/../lib/isc/pthreads/mutex.c
432b15cb3dSCy Schubertendif
442b15cb3dSCy Schubert
452b15cb3dSCy Schubertlibntp_a_SRCS =						\
462b15cb3dSCy Schubert	a_md5encrypt.c					\
472b15cb3dSCy Schubert	adjtime.c					\
482b15cb3dSCy Schubert	atoint.c					\
492b15cb3dSCy Schubert	atolfp.c					\
502b15cb3dSCy Schubert	atouint.c					\
512b15cb3dSCy Schubert	audio.c						\
522b15cb3dSCy Schubert	authkeys.c					\
532b15cb3dSCy Schubert	authreadkeys.c					\
542b15cb3dSCy Schubert	authusekey.c					\
552b15cb3dSCy Schubert	bsd_strerror.c					\
562b15cb3dSCy Schubert	buftvtots.c					\
572b15cb3dSCy Schubert	caljulian.c					\
582b15cb3dSCy Schubert	caltontp.c					\
592b15cb3dSCy Schubert	calyearstart.c					\
602b15cb3dSCy Schubert	clocktime.c					\
612b15cb3dSCy Schubert	clocktypes.c					\
622b15cb3dSCy Schubert	decodenetnum.c					\
632b15cb3dSCy Schubert	dofptoa.c					\
642b15cb3dSCy Schubert	dolfptoa.c					\
652b15cb3dSCy Schubert	emalloc.c					\
662b15cb3dSCy Schubert	findconfig.c					\
672b15cb3dSCy Schubert	getopt.c					\
682b15cb3dSCy Schubert	hextoint.c					\
692b15cb3dSCy Schubert	hextolfp.c					\
702b15cb3dSCy Schubert	humandate.c					\
712b15cb3dSCy Schubert	icom.c						\
722b15cb3dSCy Schubert	iosignal.c					\
73*68ba7e87SXin LI	is_ip_address.c					\
742b15cb3dSCy Schubert	lib_strbuf.c					\
752b15cb3dSCy Schubert	machines.c					\
762b15cb3dSCy Schubert	mktime.c					\
772b15cb3dSCy Schubert	modetoa.c					\
782b15cb3dSCy Schubert	mstolfp.c					\
792b15cb3dSCy Schubert	msyslog.c					\
802b15cb3dSCy Schubert	netof.c						\
812b15cb3dSCy Schubert	ntp_calendar.c					\
822b15cb3dSCy Schubert	ntp_crypto_rnd.c				\
832b15cb3dSCy Schubert	ntp_intres.c					\
842b15cb3dSCy Schubert	ntp_libopts.c					\
852b15cb3dSCy Schubert	ntp_lineedit.c					\
862b15cb3dSCy Schubert	ntp_random.c					\
872b15cb3dSCy Schubert	ntp_rfc2553.c					\
882b15cb3dSCy Schubert	ntp_worker.c					\
892b15cb3dSCy Schubert	numtoa.c					\
902b15cb3dSCy Schubert	numtohost.c					\
912b15cb3dSCy Schubert	octtoint.c					\
922b15cb3dSCy Schubert	prettydate.c					\
93276da39aSCy Schubert	refidsmear.c					\
942b15cb3dSCy Schubert	recvbuff.c					\
952b15cb3dSCy Schubert	refnumtoa.c					\
962b15cb3dSCy Schubert	snprintf.c					\
972b15cb3dSCy Schubert	socket.c					\
982b15cb3dSCy Schubert	socktoa.c					\
992b15cb3dSCy Schubert	socktohost.c					\
1002b15cb3dSCy Schubert	ssl_init.c					\
1012b15cb3dSCy Schubert	statestr.c					\
1022b15cb3dSCy Schubert	strdup.c					\
1032b15cb3dSCy Schubert	strl_obsd.c					\
1042b15cb3dSCy Schubert	syssignal.c					\
1052b15cb3dSCy Schubert	timetoa.c					\
1062b15cb3dSCy Schubert	timevalops.c					\
1072b15cb3dSCy Schubert	uglydate.c					\
1082b15cb3dSCy Schubert	vint64ops.c					\
1092b15cb3dSCy Schubert	work_fork.c					\
1102b15cb3dSCy Schubert	work_thread.c					\
1112b15cb3dSCy Schubert	ymd2yd.c					\
1122b15cb3dSCy Schubert	$(libisc_SRCS)					\
1132b15cb3dSCy Schubert	$(NULL)
1142b15cb3dSCy Schubert
1159c2daa00SOllivier Robertlibntp_a_SOURCES = systime.c $(libntp_a_SRCS)
1169c2daa00SOllivier Robertlibntpsim_a_SOURCES = systime_s.c $(libntp_a_SRCS)
117ea906c41SOllivier RobertEXTRA_libntp_a_SOURCES = adjtimex.c
118c0b746e5SOllivier Robert
1192b15cb3dSCy SchubertAM_CFLAGS = $(CFLAGS_NTP)
120c0b746e5SOllivier Robert
1212b15cb3dSCy SchubertAM_CPPFLAGS  = $(NTP_INCS)
1222b15cb3dSCy SchubertAM_CPPFLAGS += $(LIBOPTS_CFLAGS)
1232b15cb3dSCy SchubertAM_CPPFLAGS += $(CPPFLAGS_NTP)
124c0b746e5SOllivier Robert
125224ba2bdSOllivier RobertEXTRA_DIST = README
126c0b746e5SOllivier Robert
1272b15cb3dSCy Schubertinclude $(top_srcdir)/depsver.mf
1282b15cb3dSCy Schubertinclude $(top_srcdir)/includes.mf
129