1 #AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
2 AUTOMAKE_OPTIONS = util/ansi2knr foreign 1.5
39 DISTCHECK_CONFIGURE_FLAGS= --with-arlib --with-sntp
70 DISTCLEANFILES = .warning
72 #ETAGS_ARGS = $(srcdir)/Makefile.am $(srcdir)/configure.in
73 ETAGS_ARGS = Makefile.am configure.in
75 # HMS: make ports be the last directory...
76 # DIST_HOOK_DIRS = conf html scripts ports
78 # HMS: Keep .warning first, as that way it gets printed first.
79 BUILT_SOURCES = .warning $(srcdir)/COPYRIGHT $(srcdir)/version
81 $(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html
82 ( 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
84 # HMS: The next bit is still suboptimal. If bk is present but this NTP
85 # repo is not a bk repo, we'll get an error message from the prs command.
86 # Unfortunately, I haven't found the necessary magic to redirect this error
87 # output to /dev/null under ancient/unique shells like the one Ultrix uses.
88 # We'll also get an error if srcdir or version is unwritable.
89 $(srcdir)/version: FRC.version
90 -(bk version) >/dev/null 2>&1 && \
92 x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
93 y=`cat version 2>/dev/null` || true && \
94 case "$$x" in ''|$$y) ;; *) echo $$x > version ;; esac
97 @find $(distdir) -type d -name CVS -print | xargs rm -rf
98 @find $(distdir) -type d -name SCCS -print | xargs rm -rf
99 @chmod u+w $(distdir)/ports/winnt
100 @for i in `find $(distdir)/ports/winnt -type f -name '*.ds*' -print`; \
101 do chmod u+w $$i ; unix2dos $$i $$i; done
104 @echo "Compiling with GCC now generates lots of new warnings."
106 @echo "Don't be concerned. They're just warnings."
108 @echo "Don't send bug reports about the warnings, either."
110 @echo "Feel free to send patches that fix these warnings, though."
115 # HMS: The following seems to be a work-in-progress...
117 CVO=`$(srcdir)/config.guess`
120 echo "$(CVO)" > .buildcvo
122 .checkcvo: .buildcvo FRC.checkcvo
123 @if [ "`cat .buildcvo`" != "$(CVO)" ];then \
124 echo "This directory was configured for `cat .buildcvo`"; \
125 echo "but this machine is a $(CVO)"; \
129 BHOST=`(hostname || uname -n)`
132 echo "$(BHOST)" > .buildhost
134 .checkhost: .buildhost FRC.checkhost
135 @if [ "`cat .buildhost`" != "$(BHOST)" ];then \
136 echo "Built on `cat .buildhost` but this is $(BHOST)"; \
140 FRC.distwarn FRC.checkcvo FRC.checkhost FRC.version:
142 # HMS: what was I trying to do with this?
143 #dot.emacs: FRC.distwarn