Makefile.am revision 1.1.1.2
1NULL= 2AUTOMAKE_OPTIONS= 3 4BUILT_SOURCES= 5CLEANFILES= 6 7if NTP_BINSUBDIR_IS_BIN 8bin_PROGRAMS= ntpdate 9else 10sbin_PROGRAMS= ntpdate 11endif 12 13EXTRA_PROGRAMS= ntptimeset 14 15ntptimeset_SOURCES= ntptimeset.c ntptime_config.c 16 17AM_CPPFLAGS= -I$(top_srcdir)/include -I$(top_srcdir)/lib/isc/include \ 18 -I$(top_srcdir)/lib/isc/nothreads/include \ 19 -I$(top_srcdir)/lib/isc/unix/include 20 21# LDADD might need RESLIB and ADJLIB 22LDADD= version.o ../libntp/libntp.a 23ntpdate_LDADD= $(LDADD) @LCRYPTO@ 24DISTCLEANFILES= .version version.c stamp-v 25noinst_HEADERS= ntpdate.h 26ETAGS_ARGS= Makefile.am 27 28$(PROGRAMS): $(LDADD) 29 30../libntp/libntp.a: 31 cd ../libntp && $(MAKE) 32 33$(top_srcdir)/version : 34 cd $(top_srcdir) && $(MAKE) version 35 36version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version 37 env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdate 38 $(COMPILE) -c version.c 39 40include $(top_srcdir)/bincheck.mf 41include $(top_srcdir)/depsver.mf 42