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