1 #AUTOMAKE_OPTIONS= ../util/ansi2knr
3 bindir= ${exec_prefix}/${BINSUBDIR}
4 #bin_PROGRAMS= ntpdate ntptimeset
6 EXTRA_PROGRAMS= ntptimeset
8 ntptimeset_SOURCES= ntptimeset.c ntptime_config.c
9 AM_CPPFLAGS= -I$(top_srcdir)/include
10 # LDADD might need RESLIB and ADJLIB
11 LDADD= version.o ../libntp/libntp.a
12 DISTCLEANFILES= .version version.c stamp-v
13 noinst_HEADERS= ntpdate.h
14 ETAGS_ARGS= Makefile.am
19 cd ../libntp && $(MAKE)
21 $(top_srcdir)/version :
22 cd $(top_srcdir) && $(MAKE) version
24 version.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
28 include ../bincheck.mf