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