2014-12-20 22:52:39 +00:00
|
|
|
NULL =
|
2008-08-18 14:26:05 +00:00
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
BUILT_SOURCES =
|
2023-05-11 18:17:53 +00:00
|
|
|
DISTCLEANFILES =
|
2013-12-04 21:33:17 +00:00
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
bin_PROGRAMS = $(NTPDATE_DB)
|
|
|
|
libexec_PROGRAMS = $(NTPDATE_DL)
|
|
|
|
sbin_PROGRAMS = $(NTPDATE_DS)
|
2013-12-04 21:33:17 +00:00
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
EXTRA_PROGRAMS = ntpdate
|
2008-08-18 14:26:05 +00:00
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
AM_CFLAGS = $(CFLAGS_NTP)
|
2017-03-23 05:19:00 +00:00
|
|
|
AM_CFLAGS += $(NTP_HARD_CFLAGS)
|
2013-12-04 21:33:17 +00:00
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
AM_CPPFLAGS = $(NTP_INCS)
|
|
|
|
AM_CPPFLAGS += $(CPPFLAGS_NTP)
|
2017-03-23 05:19:00 +00:00
|
|
|
AM_CPPFLAGS += $(NTP_HARD_CPPFLAGS)
|
2014-12-20 22:52:39 +00:00
|
|
|
|
|
|
|
AM_LDFLAGS = $(LDFLAGS_NTP)
|
2017-03-23 05:19:00 +00:00
|
|
|
AM_LDFLAGS += $(NTP_HARD_LDFLAGS)
|
2013-12-04 21:33:17 +00:00
|
|
|
|
1999-12-09 13:01:21 +00:00
|
|
|
# LDADD might need RESLIB and ADJLIB
|
2023-05-11 18:17:53 +00:00
|
|
|
LDADD = ../libntp/libntp.a
|
2014-12-20 22:52:39 +00:00
|
|
|
ntpdate_LDADD = $(LDADD) $(LDADD_LIBNTP) $(PTHREAD_LIBS) $(LIBOPTS_LDADD)
|
|
|
|
ntpdate_LDADD += $(LIBM) $(LDADD_NTP)
|
2023-05-11 18:17:53 +00:00
|
|
|
CLEANFILES = .version version.c
|
2008-08-18 14:26:05 +00:00
|
|
|
noinst_HEADERS= ntpdate.h
|
1999-12-09 13:01:21 +00:00
|
|
|
|
2023-05-11 18:17:53 +00:00
|
|
|
ntpdate_SOURCES = ntpdate.c
|
|
|
|
nodist_ntpdate_SOURCES = version.c
|
1999-12-09 13:01:21 +00:00
|
|
|
|
2023-05-11 18:17:53 +00:00
|
|
|
version.c: Makefile $(top_srcdir)/sntp/scm-rev
|
|
|
|
$(AM_V_GEN)env CSET=`cat $(top_srcdir)/sntp/scm-rev` $(top_builddir)/scripts/build/mkver ntpdate
|
2014-12-20 22:52:39 +00:00
|
|
|
|
2013-12-04 21:33:17 +00:00
|
|
|
include $(top_srcdir)/bincheck.mf
|
2023-05-11 18:17:53 +00:00
|
|
|
include $(top_srcdir)/check-libntp.mf
|
|
|
|
include $(top_srcdir)/check-scm-rev.mf
|
2013-12-04 21:33:17 +00:00
|
|
|
include $(top_srcdir)/depsver.mf
|
2014-12-20 22:52:39 +00:00
|
|
|
include $(top_srcdir)/includes.mf
|