1 #AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
2 AUTOMAKE_OPTIONS = foreign 1.10
3 ACLOCAL_AMFLAGS= -I m4 -I libopts/m4
54 DISTCHECK_CONFIGURE_FLAGS= -C --with-arlib --enable-local-libopts
97 DISTCLEANFILES = .gcc-warning
99 ETAGS_ARGS = Makefile.am configure.ac
101 # HMS: make ports be the last directory...
102 # DIST_HOOK_DIRS = conf html scripts ports
104 # HMS: Keep .gcc-warning first, as that way it gets printed first.
108 $(srcdir)/COPYRIGHT \
110 $(srcdir)/version.m4 \
111 $(srcdir)/include/version.def \
112 $(srcdir)/include/version.texi \
115 $(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html
116 ( echo "This file is automatically generated from html/copyright.html" ; lynx -dump $(srcdir)/html/copyright.html ) > $(srcdir)/COPYRIGHT.new && mv $(srcdir)/COPYRIGHT.new $(srcdir)/COPYRIGHT
118 # HMS: The next bit is still suboptimal. If bk is present but this NTP
119 # repo is not a bk repo, we'll get an error message from the prs command.
120 # Unfortunately, I haven't found the necessary magic to redirect this error
121 # output to /dev/null under ancient/unique shells like the one Ultrix uses.
122 # We'll also get an error if srcdir or version is unwritable.
123 $(srcdir)/version: FRC.version
124 -(bk version) >/dev/null 2>&1 && \
126 x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
127 y=`cat version 2>/dev/null` || true && \
128 case "$$x" in ''|$$y) ;; *) echo $$x > version ;; esac
130 $(srcdir)/version.m4: $(srcdir)/packageinfo.sh
132 ./scripts/genver version.m4
134 $(srcdir)/include/version.def: $(srcdir)/packageinfo.sh
136 ./scripts/genver include/version.def
138 $(srcdir)/include/version.texi: $(srcdir)/packageinfo.sh
140 ./scripts/genver include/version.texi
142 libtool: $(LIBTOOL_DEPS)
143 ./config.status --recheck
146 @find $(distdir) -type d -name SCCS -print | xargs rm -rf
147 @chmod u+w $(distdir)/ports/winnt
150 @echo "Compiling with GCC now generates lots of new warnings."
152 @echo "Don't be concerned. They're just warnings."
154 @echo "Don't send bug reports about the warnings, either."
156 @echo "Feel free to send patches that fix these warnings, though."
161 CommitLog: FRC.CommitLog
163 && /bin/test -e CommitLog \
164 -a SCCS/s.ChangeSet -ot CommitLog \
165 || scripts/genCommitLog
167 # HMS: The following seems to be a work-in-progress...
169 CVO=`$(srcdir)/config.guess`
172 echo "$(CVO)" > .buildcvo
174 .checkcvo: .buildcvo FRC.checkcvo
175 @if [ "`cat .buildcvo`" != "$(CVO)" ];then \
176 echo "This directory was configured for `cat .buildcvo`"; \
177 echo "but this machine is a $(CVO)"; \
181 BHOST=`(hostname || uname -n)`
184 echo "$(BHOST)" > .buildhost
186 .checkhost: .buildhost FRC.checkhost
187 @if [ "`cat .buildhost`" != "$(BHOST)" ];then \
188 echo "Built on `cat .buildhost` but this is $(BHOST)"; \
192 FRC.CommitLog FRC.distwarn FRC.checkcvo FRC.checkhost FRC.version:
194 # HMS: what was I trying to do with this?
195 #dot.emacs: FRC.distwarn