1 #AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
2 AUTOMAKE_OPTIONS = util/ansi2knr foreign
54 DISTCLEANFILES = .warning
56 #ETAGS_ARGS = $(srcdir)/Makefile.am $(srcdir)/configure.in
57 ETAGS_ARGS = Makefile.am configure.in acconfig.h
59 # HMS: make ports be the last directory...
60 # DIST_HOOK_DIRS = conf html scripts ports
62 # HMS: Keep .warning first, as that way it gets printed first.
63 BUILT_SOURCES = .warning $(srcdir)/COPYRIGHT $(srcdir)/version
65 $(srcdir)/COPYRIGHT: html/copyright.htm
66 ( echo "This file is automatically generated from html/copyright.htm" ; lynx -dump $(srcdir)/html/copyright.htm ) > $(srcdir)/COPYRIGHT.new && mv $(srcdir)/COPYRIGHT.new $(srcdir)/COPYRIGHT
68 # HMS: The next bit is still suboptimal. If bk is present but this NTP
69 # repo is not a bk repo, we'll get an error message from the prs command.
70 # Unfortunately, I haven't found the necessary magic to redirect this error
71 # output to /dev/null under ancient/unique shells like the one Ultrix uses.
72 # We'll also get an error of srcdir or version is unwritable.
73 $(srcdir)/version: FRC.version
74 -(bk version) >/dev/null 2>&1 && \
76 x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
77 case "$$x" in '') ;; *) echo $$x > version ;; esac
80 @find $(distdir) -type d -name CVS -print | xargs rm -rf
81 @find $(distdir) -type d -name SCCS -print | xargs rm -rf
82 @for i in `find $(distdir)/ports/winnt -type f -name '*.ds*' -print`; \
83 do chmod u+w $$i ; unix2dos $$i $$i; done
86 @echo "Compiling with GCC now generates lots of new warnings."
88 @echo "Don't be concerned. They're just warnings."
90 @echo "Don't send bug reports about the warnings, either."
92 @echo "Feel free to send patches that fix these warnings, though."
97 # HMS: The following seems to be a work-in-progress...
99 CVO=`$(srcdir)/config.guess`
102 echo "$(CVO)" > .buildcvo
104 .checkcvo: .buildcvo FRC.checkcvo
105 @if [ "`cat .buildcvo`" != "$(CVO)" ];then \
106 echo "This directory was configured for `cat .buildcvo`"; \
107 echo "but this machine is a $(CVO)"; \
111 BHOST=`(hostname || uname -n)`
114 echo "$(BHOST)" > .buildhost
116 .checkhost: .buildhost FRC.checkhost
117 @if [ "`cat .buildhost`" != "$(BHOST)" ];then \
118 echo "Built on `cat .buildhost` but this is $(BHOST)"; \
122 FRC.distwarn FRC.checkcvo FRC.checkhost FRC.version:
124 # HMS: what was I trying to do with this?
125 #dot.emacs: FRC.distwarn