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)
63 DISTCLEANFILES = .gcc-warning
65 # HMS: Keep .gcc-warning first, as that way it gets printed first.
71 $(srcdir)/.checkChangeLog \
75 @echo "Compiling with GCC now generates lots of new warnings."
77 @echo "Don't be concerned. They're just warnings."
79 @echo "Don't send bug reports about the warnings, either."
81 @echo "Feel free to send patches that fix these warnings, though."
86 html/.datecheck: FRC.html
87 cd $(srcdir)/html && \
88 ../scripts/build/checkHtmlFileDates
90 libtool: $(LIBTOOL_DEPS)
91 ./config.status --recheck
93 sntp/built-sources-only: FRC.sntp
94 @cd sntp && $(MAKE) $(AM_MAKEFLAGS) built-sources-only
96 $(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html
97 { echo "This file is automatically generated from html/copyright.html" ; \
98 lynx -dump $(srcdir)/html/copyright.html ;} > COPYRIGHT.new \
99 && mv -f COPYRIGHT.new $(srcdir)/COPYRIGHT
101 COPYRIGHT-please: $(srcdir)/COPYRIGHT
102 @: do-nothing action to prevent default \
103 This target is needed by sntp/Makefile.am on decrepit \
104 FreeBSD 6.x make which fails with "make COPYRIGHT" \
105 configured in $(srcdir) but "make ./COPYRIGHT" succeeds. \
106 Rather than determine our $(srcdir) from sntp/Makefile.am \
107 COPYRIGHT-please serves as a fixed target.
109 $(srcdir)/.checkChangeLog: $(srcdir)/ChangeLog $(srcdir)/scripts/build/checkChangeLog
111 ./scripts/build/checkChangeLog
114 @find $(distdir) -type d -name SCCS -print | xargs rm -rf
117 @echo "Installing stand-alone HTML documentation"
119 for i in `find html -type d | grep -v SCCS` ; \
120 do $(INSTALL) -d $(DESTDIR)$(htmldir)/$$i ; done )
122 for i in `find html -type f | grep -v SCCS` ; \
123 do $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; done )
126 rm -rf $(DESTDIR)$(htmldir)/html
128 CommitLog: FRC.CommitLog
130 && $(PATH_TEST) -e CommitLog \
131 -a SCCS/s.ChangeSet -ot CommitLog \
132 || scripts/build/genCommitLog
134 # HMS: The following seems to be a work-in-progress...
136 CVO=`$(srcdir)/sntp/libevent/build-aux/config.guess`
139 echo "$(CVO)" > .buildcvo
141 .checkcvo: .buildcvo FRC.checkcvo
142 @if [ "`cat .buildcvo`" != "$(CVO)" ];then \
143 echo "This directory was configured for `cat .buildcvo`"; \
144 echo "but this machine is a $(CVO)"; \
148 BHOST=`(hostname || uname -n)`
151 echo "$(BHOST)" > .buildhost
153 .checkhost: .buildhost FRC.checkhost
154 @if [ "`cat .buildhost`" != "$(BHOST)" ];then \
155 echo "Built on `cat .buildhost` but this is $(BHOST)"; \
159 FRC.CommitLog FRC.checkcvo FRC.checkhost FRC.distwarn FRC.html FRC.sntp:
160 @: do-nothing action prevents any default
162 # HMS: what was I trying to do with this?
163 #dot.emacs: FRC.distwarn