1 ACLOCAL_AMFLAGS = -I sntp/m4 -I sntp/libevent/m4 -I sntp/libopts/m4
24 DISTCHECK_CONFIGURE_FLAGS = -C --with-sntp
60 DISTCLEANFILES = .gcc-warning
62 # HMS: Keep .gcc-warning first, as that way it gets printed first.
67 sntp/built-sources-only \
69 $(srcdir)/.checkChangeLog \
73 @echo "Compiling with GCC now generates lots of new warnings."
75 @echo "Don't be concerned. They're just warnings."
77 @echo "Don't send bug reports about the warnings, either."
79 @echo "Feel free to send patches that fix these warnings, though."
84 html/.datecheck: FRC.html
85 cd $(srcdir)/html && \
86 ../scripts/build/checkHtmlFileDates
88 libtool: $(LIBTOOL_DEPS)
89 ./config.status --recheck
91 sntp/built-sources-only: FRC.sntp
92 @cd sntp && $(MAKE) $(AM_MAKEFLAGS) built-sources-only
94 $(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html
95 { echo "This file is automatically generated from html/copyright.html" ; \
96 lynx -dump $(srcdir)/html/copyright.html ;} > COPYRIGHT.new \
97 && mv -f COPYRIGHT.new $(srcdir)/COPYRIGHT
99 COPYRIGHT-please: $(srcdir)/COPYRIGHT
100 @: do-nothing action to prevent default \
101 This target is needed by sntp/Makefile.am on decrepit \
102 FreeBSD 6.x make which fails with "make COPYRIGHT" \
103 configured in $(srcdir) but "make ./COPYRIGHT" succeeds. \
104 Rather than determine our $(srcdir) from sntp/Makefile.am \
105 COPYRIGHT-please serves as a fixed target.
107 $(srcdir)/.checkChangeLog: $(srcdir)/ChangeLog $(srcdir)/scripts/build/checkChangeLog
109 ./scripts/build/checkChangeLog
112 @find $(distdir) -type d -name SCCS -print | xargs rm -rf
115 ( cd $(srcdir) && find html -name SCCS -prune -o -type d \
116 -exec $(INSTALL) -d $(DESTDIR)$(htmldir)/{} ";" )
117 ( cd $(srcdir) && find html -name SCCS -prune -o -type f \
118 -exec $(INSTALL_DATA) {} $(DESTDIR)$(htmldir)/{} ";" )
121 rm -rf $(DESTDIR)$(htmldir)/html
123 CommitLog: FRC.CommitLog
125 && $(PATH_TEST) -e CommitLog \
126 -a SCCS/s.ChangeSet -ot CommitLog \
127 || scripts/build/genCommitLog
129 # HMS: The following seems to be a work-in-progress...
131 CVO=`$(srcdir)/sntp/libevent/build-aux/config.guess`
134 echo "$(CVO)" > .buildcvo
136 .checkcvo: .buildcvo FRC.checkcvo
137 @if [ "`cat .buildcvo`" != "$(CVO)" ];then \
138 echo "This directory was configured for `cat .buildcvo`"; \
139 echo "but this machine is a $(CVO)"; \
143 BHOST=`(hostname || uname -n)`
146 echo "$(BHOST)" > .buildhost
148 .checkhost: .buildhost FRC.checkhost
149 @if [ "`cat .buildhost`" != "$(BHOST)" ];then \
150 echo "Built on `cat .buildhost` but this is $(BHOST)"; \
154 FRC.CommitLog FRC.checkcvo FRC.checkhost FRC.distwarn FRC.html FRC.sntp:
155 @: do-nothing action prevents any default
157 # HMS: what was I trying to do with this?
158 #dot.emacs: FRC.distwarn