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