Makefile.am revision 1.1.1.4
1NULL = 2 3BUILT_SOURCES = 4CLEANFILES = 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 = version.o ../libntp/libntp.a 24ntpdate_LDADD = $(LDADD) $(LDADD_LIBNTP) $(PTHREAD_LIBS) $(LIBOPTS_LDADD) 25ntpdate_LDADD += $(LIBM) $(LDADD_NTP) 26DISTCLEANFILES= .version version.c stamp-v 27noinst_HEADERS= ntpdate.h 28 29$(PROGRAMS): $(LDADD) 30 31$(top_srcdir)/sntp/scm-rev: 32 cd ../sntp && $(MAKE) $(AM_MAKEFLAGS) check-scm-rev 33 34version.c: $(ntpdate_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/sntp/scm-rev 35 env CSET=`cat $(top_srcdir)/sntp/scm-rev` $(top_builddir)/scripts/build/mkver ntpdate 36 37version.o: version.c 38 env CCACHE_DISABLE=1 $(COMPILE) -c version.c -o version.o 39 40include $(top_srcdir)/bincheck.mf 41include $(top_srcdir)/sntp/check-libntp.mf 42include $(top_srcdir)/depsver.mf 43include $(top_srcdir)/includes.mf 44