1#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies 2AUTOMAKE_OPTIONS = ../util/ansi2knr 3bin_PROGRAMS = ntpd 4INCLUDES = -I$(top_srcdir)/include 5# LDADD might need RESLIB and ADJLIB 6LDADD = version.o @LIBPARSE@ ../libntp/libntp.a @LIBRSAREF@ 7ntpd_LDADD = $(LDADD) -lm 8DISTCLEANFILES = .version version.c 9#EXTRA_DIST = ntpd.mak 10ETAGS_ARGS = Makefile.am 11### Y2Kfixes 12check_PROGRAMS = @MAKE_CHECK_Y2K@ 13EXTRA_PROGRAMS = check_y2k 14 15check-local: @MAKE_CHECK_Y2K@ 16 [ -z "@MAKE_CHECK_Y2K@" ] || ./@MAKE_CHECK_Y2K@ 17 18ntpd_SOURCES = map_vme.c ntp_config.c ntp_control.c ntp_io.c \ 19 ntp_loopfilter.c ntp_monitor.c ntp_peer.c ntp_proto.c \ 20 ntp_refclock.c ntp_request.c ntp_restrict.c ntp_timer.c \ 21 ntp_util.c ntp_intres.c ntp_filegen.c ntpd.c \ 22 refclock_conf.c refclock_chu.c refclock_local.c \ 23 refclock_pst.c refclock_wwvb.c refclock_mx4200.c \ 24 refclock_parse.c refclock_as2201.c refclock_bancomm.c \ 25 refclock_tpro.c refclock_leitch.c refclock_irig.c \ 26 refclock_msfees.c refclock_trak.c refclock_datum.c \ 27 refclock_acts.c refclock_heath.c refclock_nmea.c \ 28 refclock_atom.c refclock_ptbacts.c refclock_jupiter.c \ 29 refclock_usno.c refclock_true.c refclock_hpgps.c \ 30 refclock_shm.c refclock_gpsvme.c refclock_arbiter.c \ 31 refclock_arc.c refclock_palisade.c refclock_palisade.h \ 32 refclock_oncore.c refclock_chronolog.c refclock_dumbclock.c \ 33 refclock_ulink.c jupiter.h 34 35$(PROGRAMS): $(LDADD) 36 37../libntp/libntp.a: 38 cd ../libntp && $(MAKE) 39 40../libparse/libparse.a: 41 cd ../libparse && $(MAKE) 42 43version.o: $(ntpd_OBJECTS) ../libntp/libntp.a @LIBPARSE@ @LIBRSAREF@ Makefile 44 $(top_builddir)/scripts/mkver ntpd 45 $(COMPILE) -c version.c 46