1NULL = 2 3BUILT_SOURCES = 4DISTCLEANFILES = 5 6bin_PROGRAMS = $(NTPDATE_DB) 7libexec_PROGRAMS = $(NTPDATE_DL) 8sbin_PROGRAMS = $(NTPDATE_DS) 9 10EXTRA_PROGRAMS = ntpdate 11 12AM_CFLAGS = $(CFLAGS_NTP) 13AM_CFLAGS += $(NTP_HARD_CFLAGS) 14 15AM_CPPFLAGS = $(NTP_INCS) 16AM_CPPFLAGS += $(CPPFLAGS_NTP) 17AM_CPPFLAGS += $(NTP_HARD_CPPFLAGS) 18 19AM_LDFLAGS = $(LDFLAGS_NTP) 20AM_LDFLAGS += $(NTP_HARD_LDFLAGS) 21 22# LDADD might need RESLIB and ADJLIB 23LDADD = ../libntp/libntp.a 24ntpdate_LDADD = $(LDADD) $(LDADD_LIBNTP) $(PTHREAD_LIBS) $(LIBOPTS_LDADD) 25ntpdate_LDADD += $(LIBM) $(LDADD_NTP) 26CLEANFILES = .version version.c 27noinst_HEADERS= ntpdate.h 28 29ntpdate_SOURCES = ntpdate.c 30nodist_ntpdate_SOURCES = version.c 31 32version.c: Makefile $(top_srcdir)/sntp/scm-rev 33 $(AM_V_GEN)env CSET=`cat $(top_srcdir)/sntp/scm-rev` $(top_builddir)/scripts/build/mkver ntpdate 34 35include $(top_srcdir)/bincheck.mf 36include $(top_srcdir)/check-libntp.mf 37include $(top_srcdir)/check-scm-rev.mf 38include $(top_srcdir)/depsver.mf 39include $(top_srcdir)/includes.mf 40