1 ACLOCAL_AMFLAGS = -I sntp/m4 -I sntp/libevent/m4 -I sntp/libopts/m4
5 # moved sntp first to get libtool and libevent built.
26 DISTCHECK_CONFIGURE_FLAGS = -C --with-sntp --enable-local-libevent $(NTP_DCF)
64 DISTCLEANFILES = .gcc-warning
66 # HMS: Keep .gcc-warning first, as that way it gets printed first.
72 $(srcdir)/.checkChangeLog \
76 @echo "Compiling with GCC now generates lots of new warnings."
78 @echo "Don't be concerned. They're just warnings."
80 @echo "Don't send bug reports about the warnings, either."
82 @echo "Feel free to send patches that fix these warnings, though."
87 html/.datecheck: FRC.html
88 cd $(srcdir)/html && \
89 ../scripts/build/checkHtmlFileDates
91 libtool: $(LIBTOOL_DEPS)
92 ./config.status --recheck
94 sntp/built-sources-only: FRC.sntp
95 @cd sntp && $(MAKE) $(AM_MAKEFLAGS) built-sources-only
97 $(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html
98 { echo "This file is automatically generated from html/copyright.html" ; \
99 lynx -dump $(srcdir)/html/copyright.html ;} > COPYRIGHT.new \
100 && mv -f COPYRIGHT.new $(srcdir)/COPYRIGHT
102 COPYRIGHT-please: $(srcdir)/COPYRIGHT
103 @: do-nothing action to prevent default \
104 This target is needed by sntp/Makefile.am on decrepit \
105 FreeBSD 6.x make which fails with "make COPYRIGHT" \
106 configured in $(srcdir) but "make ./COPYRIGHT" succeeds. \
107 Rather than determine our $(srcdir) from sntp/Makefile.am \
108 COPYRIGHT-please serves as a fixed target.
110 $(srcdir)/.checkChangeLog: $(srcdir)/ChangeLog $(srcdir)/scripts/build/checkChangeLog
112 ./scripts/build/checkChangeLog
115 @find $(distdir) -type d -name SCCS -print | xargs rm -rf
118 @echo "Installing stand-alone HTML documentation"
120 for i in `find html -type d | grep -v SCCS` ; \
121 do $(INSTALL) -d $(DESTDIR)$(htmldir)/$$i ; done )
123 for i in `find html -type f | grep -v SCCS` ; \
124 do $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; done )
127 rm -rf $(DESTDIR)$(htmldir)/html
129 CommitLog: FRC.CommitLog
131 && $(PATH_TEST) -e CommitLog \
132 -a SCCS/s.ChangeSet -ot CommitLog \
133 || scripts/build/genCommitLog
135 # HMS: The following seems to be a work-in-progress...
137 CVO=`$(srcdir)/sntp/libevent/build-aux/config.guess`
140 echo "$(CVO)" > .buildcvo
142 .checkcvo: .buildcvo FRC.checkcvo
143 @if [ "`cat .buildcvo`" != "$(CVO)" ];then \
144 echo "This directory was configured for `cat .buildcvo`"; \
145 echo "but this machine is a $(CVO)"; \
149 BHOST=`(hostname || uname -n)`
152 echo "$(BHOST)" > .buildhost
154 .checkhost: .buildhost FRC.checkhost
155 @if [ "`cat .buildhost`" != "$(BHOST)" ];then \
156 echo "Built on `cat .buildhost` but this is $(BHOST)"; \
160 FRC.CommitLog FRC.checkcvo FRC.checkhost FRC.distwarn FRC.html FRC.sntp:
161 @: do-nothing action prevents any default
163 # HMS: what was I trying to do with this?
164 #dot.emacs: FRC.distwarn