1#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies 2AUTOMAKE_OPTIONS = ../util/ansi2knr 3#bin_PROGRAMS = ntpdate ntptimeset 4bin_PROGRAMS = ntpdate 5EXTRA_PROGRAMS = ntptimeset 6ntptimeset_SOURCES = ntptimeset.c ntptime_config.c 7INCLUDES = -I$(top_srcdir)/include 8# LDADD might need RESLIB and ADJLIB 9LDADD = version.o ../libntp/libntp.a 10DISTCLEANFILES = .version version.c stamp-v 11noinst_HEADERS = ntpdate.h 12#EXTRA_DIST = ntpdate.mak 13ETAGS_ARGS = Makefile.am 14 15$(PROGRAMS): $(LDADD) 16 17../libntp/libntp.a: 18 cd ../libntp && $(MAKE) 19 20version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version 21 env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate 22 $(COMPILE) -c version.c 23