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
62 DISTCLEANFILES = .gcc-warning
64 # HMS: Keep .gcc-warning first, as that way it gets printed first.
70 $(srcdir)/.checkChangeLog \
74 @echo "Compiling with GCC now generates lots of new warnings."
76 @echo "Don't be concerned. They're just warnings."
78 @echo "Don't send bug reports about the warnings, either."
80 @echo "Feel free to send patches that fix these warnings, though."
85 html/.datecheck: FRC.html
86 cd $(srcdir)/html && \
87 ../scripts/build/checkHtmlFileDates
89 libtool: $(LIBTOOL_DEPS)
90 ./config.status --recheck
92 sntp/built-sources-only: FRC.sntp
93 @cd sntp && $(MAKE) $(AM_MAKEFLAGS) built-sources-only
95 $(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html
96 { echo "This file is automatically generated from html/copyright.html" ; \
97 lynx -dump $(srcdir)/html/copyright.html ;} > COPYRIGHT.new \
98 && mv -f COPYRIGHT.new $(srcdir)/COPYRIGHT
100 COPYRIGHT-please: $(srcdir)/COPYRIGHT
101 @: do-nothing action to prevent default \
102 This target is needed by sntp/Makefile.am on decrepit \
103 FreeBSD 6.x make which fails with "make COPYRIGHT" \
104 configured in $(srcdir) but "make ./COPYRIGHT" succeeds. \
105 Rather than determine our $(srcdir) from sntp/Makefile.am \
106 COPYRIGHT-please serves as a fixed target.
108 $(srcdir)/.checkChangeLog: $(srcdir)/ChangeLog $(srcdir)/scripts/build/checkChangeLog
110 ./scripts/build/checkChangeLog
113 @find $(distdir) -type d -name SCCS -print | xargs rm -rf
116 ( cd $(srcdir) && find html -name SCCS -prune -o -type d \
117 -exec $(INSTALL) -d $(DESTDIR)$(htmldir)/{} ";" )
118 ( cd $(srcdir) && find html -name SCCS -prune -o -type f \
119 -exec $(INSTALL_DATA) {} $(DESTDIR)$(htmldir)/{} ";" )
122 rm -rf $(DESTDIR)$(htmldir)/html
124 CommitLog: FRC.CommitLog
126 && $(PATH_TEST) -e CommitLog \
127 -a SCCS/s.ChangeSet -ot CommitLog \
128 || scripts/build/genCommitLog
130 # HMS: The following seems to be a work-in-progress...
132 CVO=`$(srcdir)/sntp/libevent/build-aux/config.guess`
135 echo "$(CVO)" > .buildcvo
137 .checkcvo: .buildcvo FRC.checkcvo
138 @if [ "`cat .buildcvo`" != "$(CVO)" ];then \
139 echo "This directory was configured for `cat .buildcvo`"; \
140 echo "but this machine is a $(CVO)"; \
144 BHOST=`(hostname || uname -n)`
147 echo "$(BHOST)" > .buildhost
149 .checkhost: .buildhost FRC.checkhost
150 @if [ "`cat .buildhost`" != "$(BHOST)" ];then \
151 echo "Built on `cat .buildhost` but this is $(BHOST)"; \
155 FRC.CommitLog FRC.checkcvo FRC.checkhost FRC.distwarn FRC.html FRC.sntp:
156 @: do-nothing action prevents any default
158 # HMS: what was I trying to do with this?
159 #dot.emacs: FRC.distwarn