6 bindir= ${exec_prefix}/${BINSUBDIR}
7 #bin_PROGRAMS= ntpdate ntptimeset
9 EXTRA_PROGRAMS= ntptimeset
11 ntptimeset_SOURCES= ntptimeset.c ntptime_config.c
13 AM_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/lib/isc/include \
14 -I$(top_srcdir)/lib/isc/nothreads/include \
15 -I$(top_srcdir)/lib/isc/unix/include
17 # LDADD might need RESLIB and ADJLIB
18 LDADD= version.o ../libntp/libntp.a
19 ntpdate_LDADD= $(LDADD) @LCRYPTO@
20 DISTCLEANFILES= .version version.c stamp-v
21 noinst_HEADERS= ntpdate.h
22 ETAGS_ARGS= Makefile.am
27 cd ../libntp && $(MAKE)
29 $(top_srcdir)/version :
30 cd $(top_srcdir) && $(MAKE) version
32 version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
33 env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate
34 $(COMPILE) -c version.c
36 include $(top_srcdir)/bincheck.mf
37 include $(top_srcdir)/depsver.mf