2014-12-20 22:52:39 +00:00
|
|
|
ACLOCAL_AMFLAGS = -I sntp/m4 -I sntp/libevent/m4 -I sntp/libopts/m4
|
2008-08-18 14:26:05 +00:00
|
|
|
|
2013-12-04 21:33:17 +00:00
|
|
|
NULL =
|
2008-08-18 14:26:05 +00:00
|
|
|
|
2015-02-05 20:53:33 +00:00
|
|
|
# moved sntp first to get libtool and libevent built.
|
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
SUBDIRS = \
|
2015-02-05 20:53:33 +00:00
|
|
|
sntp \
|
2008-08-18 14:26:05 +00:00
|
|
|
scripts \
|
|
|
|
include \
|
|
|
|
libntp \
|
2004-07-20 15:01:56 +00:00
|
|
|
libparse \
|
2008-08-18 14:26:05 +00:00
|
|
|
ntpd \
|
|
|
|
ntpdate \
|
|
|
|
ntpdc \
|
|
|
|
ntpq \
|
2013-12-04 21:33:17 +00:00
|
|
|
ntpsnmpd \
|
2004-07-20 15:01:56 +00:00
|
|
|
parseutil \
|
|
|
|
adjtimed \
|
|
|
|
clockstuff \
|
2008-08-18 14:26:05 +00:00
|
|
|
kernel \
|
|
|
|
util \
|
2014-12-20 22:52:39 +00:00
|
|
|
tests \
|
2008-08-18 14:26:05 +00:00
|
|
|
$(NULL)
|
|
|
|
|
2015-10-21 19:16:13 +00:00
|
|
|
DISTCHECK_CONFIGURE_FLAGS = -C --with-sntp --enable-local-libevent $(NTP_DCF)
|
2013-12-04 21:33:17 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = \
|
|
|
|
$(srcdir)/COPYRIGHT \
|
|
|
|
ChangeLog \
|
|
|
|
CommitLog \
|
|
|
|
CommitLog-4.1.0 \
|
|
|
|
NEWS \
|
|
|
|
NOTES.y2kfixes \
|
|
|
|
README.bk \
|
|
|
|
README.hackers \
|
2015-07-01 03:12:13 +00:00
|
|
|
README.leapsmear \
|
2013-12-04 21:33:17 +00:00
|
|
|
README.patches \
|
|
|
|
README.refclocks \
|
|
|
|
README.versions \
|
|
|
|
TODO \
|
|
|
|
WHERE-TO-START \
|
|
|
|
bootstrap \
|
|
|
|
build \
|
|
|
|
config.h.in \
|
|
|
|
dot.emacs \
|
|
|
|
flock-build \
|
|
|
|
packageinfo.sh \
|
|
|
|
readme.y2kfixes \
|
2008-08-18 14:26:05 +00:00
|
|
|
results.y2kfixes \
|
|
|
|
\
|
2013-12-04 21:33:17 +00:00
|
|
|
conf \
|
|
|
|
html \
|
|
|
|
lib/isc \
|
2014-12-20 22:52:39 +00:00
|
|
|
libjsmn \
|
2013-12-04 21:33:17 +00:00
|
|
|
ports \
|
2008-08-18 14:26:05 +00:00
|
|
|
\
|
2013-12-04 21:33:17 +00:00
|
|
|
deps-ver \
|
2008-08-18 14:26:05 +00:00
|
|
|
\
|
|
|
|
$(NULL)
|
|
|
|
|
2013-12-04 21:33:17 +00:00
|
|
|
CLEANFILES =
|
2008-08-18 14:26:05 +00:00
|
|
|
DISTCLEANFILES = .gcc-warning
|
|
|
|
|
|
|
|
# HMS: Keep .gcc-warning first, as that way it gets printed first.
|
2013-12-04 21:33:17 +00:00
|
|
|
BUILT_SOURCES = \
|
|
|
|
.gcc-warning \
|
|
|
|
libtool \
|
2014-12-20 22:52:39 +00:00
|
|
|
html/.datecheck \
|
2013-12-04 21:33:17 +00:00
|
|
|
$(srcdir)/COPYRIGHT \
|
|
|
|
$(srcdir)/.checkChangeLog \
|
|
|
|
$(NULL)
|
1999-12-09 13:01:21 +00:00
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
.gcc-warning:
|
|
|
|
@echo "Compiling with GCC now generates lots of new warnings."
|
|
|
|
@echo " "
|
|
|
|
@echo "Don't be concerned. They're just warnings."
|
|
|
|
@echo " "
|
|
|
|
@echo "Don't send bug reports about the warnings, either."
|
|
|
|
@echo " "
|
|
|
|
@echo "Feel free to send patches that fix these warnings, though."
|
|
|
|
@echo " "
|
|
|
|
@sleep 1
|
|
|
|
@touch $@
|
|
|
|
|
|
|
|
html/.datecheck: FRC.html
|
|
|
|
cd $(srcdir)/html && \
|
|
|
|
../scripts/build/checkHtmlFileDates
|
|
|
|
|
|
|
|
libtool: $(LIBTOOL_DEPS)
|
|
|
|
./config.status --recheck
|
|
|
|
|
|
|
|
sntp/built-sources-only: FRC.sntp
|
|
|
|
@cd sntp && $(MAKE) $(AM_MAKEFLAGS) built-sources-only
|
|
|
|
|
2004-07-20 15:01:56 +00:00
|
|
|
$(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html
|
2013-12-04 21:33:17 +00:00
|
|
|
{ echo "This file is automatically generated from html/copyright.html" ; \
|
|
|
|
lynx -dump $(srcdir)/html/copyright.html ;} > COPYRIGHT.new \
|
|
|
|
&& mv -f COPYRIGHT.new $(srcdir)/COPYRIGHT
|
|
|
|
|
|
|
|
COPYRIGHT-please: $(srcdir)/COPYRIGHT
|
|
|
|
@: do-nothing action to prevent default \
|
|
|
|
This target is needed by sntp/Makefile.am on decrepit \
|
|
|
|
FreeBSD 6.x make which fails with "make COPYRIGHT" \
|
|
|
|
configured in $(srcdir) but "make ./COPYRIGHT" succeeds. \
|
|
|
|
Rather than determine our $(srcdir) from sntp/Makefile.am \
|
|
|
|
COPYRIGHT-please serves as a fixed target.
|
1999-12-09 13:01:21 +00:00
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
$(srcdir)/.checkChangeLog: $(srcdir)/ChangeLog $(srcdir)/scripts/build/checkChangeLog
|
2013-12-04 21:33:17 +00:00
|
|
|
cd $(srcdir) && \
|
2014-12-20 22:52:39 +00:00
|
|
|
./scripts/build/checkChangeLog
|
2013-12-04 21:33:17 +00:00
|
|
|
|
1999-12-09 13:01:21 +00:00
|
|
|
dist-hook:
|
2002-10-29 19:58:12 +00:00
|
|
|
@find $(distdir) -type d -name SCCS -print | xargs rm -rf
|
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
install-data-local:
|
2015-07-01 03:12:13 +00:00
|
|
|
@echo "Installing stand-alone HTML documentation"
|
|
|
|
@( cd $(srcdir) && \
|
|
|
|
for i in `find html -type d | grep -v SCCS` ; \
|
|
|
|
do $(INSTALL) -d $(DESTDIR)$(htmldir)/$$i ; done )
|
|
|
|
@( cd $(srcdir) && \
|
|
|
|
for i in `find html -type f | grep -v SCCS` ; \
|
|
|
|
do $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; done )
|
2014-12-20 22:52:39 +00:00
|
|
|
|
|
|
|
uninstall-local:
|
|
|
|
rm -rf $(DESTDIR)$(htmldir)/html
|
2008-08-18 14:26:05 +00:00
|
|
|
|
|
|
|
CommitLog: FRC.CommitLog
|
|
|
|
cd $(srcdir) \
|
2013-12-04 21:33:17 +00:00
|
|
|
&& $(PATH_TEST) -e CommitLog \
|
2008-08-18 14:26:05 +00:00
|
|
|
-a SCCS/s.ChangeSet -ot CommitLog \
|
2014-12-20 22:52:39 +00:00
|
|
|
|| scripts/build/genCommitLog
|
1999-12-09 13:01:21 +00:00
|
|
|
|
2002-10-29 19:58:12 +00:00
|
|
|
# HMS: The following seems to be a work-in-progress...
|
1999-12-09 13:01:21 +00:00
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
CVO=`$(srcdir)/sntp/libevent/build-aux/config.guess`
|
1999-12-09 13:01:21 +00:00
|
|
|
|
|
|
|
.buildcvo:
|
|
|
|
echo "$(CVO)" > .buildcvo
|
|
|
|
|
|
|
|
.checkcvo: .buildcvo FRC.checkcvo
|
|
|
|
@if [ "`cat .buildcvo`" != "$(CVO)" ];then \
|
|
|
|
echo "This directory was configured for `cat .buildcvo`"; \
|
|
|
|
echo "but this machine is a $(CVO)"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
BHOST=`(hostname || uname -n)`
|
|
|
|
|
|
|
|
.buildhost:
|
|
|
|
echo "$(BHOST)" > .buildhost
|
|
|
|
|
|
|
|
.checkhost: .buildhost FRC.checkhost
|
|
|
|
@if [ "`cat .buildhost`" != "$(BHOST)" ];then \
|
|
|
|
echo "Built on `cat .buildhost` but this is $(BHOST)"; \
|
|
|
|
echo " "; \
|
|
|
|
fi
|
|
|
|
|
2014-12-20 22:52:39 +00:00
|
|
|
FRC.CommitLog FRC.checkcvo FRC.checkhost FRC.distwarn FRC.html FRC.sntp:
|
2013-12-04 21:33:17 +00:00
|
|
|
@: do-nothing action prevents any default
|
1999-12-09 13:01:21 +00:00
|
|
|
|
2002-10-29 19:58:12 +00:00
|
|
|
# HMS: what was I trying to do with this?
|
|
|
|
#dot.emacs: FRC.distwarn
|