2000-03-29 16:38:44 +04:00
|
|
|
#AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
|
2006-06-11 18:57:12 +04:00
|
|
|
AUTOMAKE_OPTIONS = util/ansi2knr foreign 1.8
|
|
|
|
ACLOCAL_AMFLAGS= -I m4
|
2000-03-29 16:38:44 +04:00
|
|
|
|
|
|
|
SUBDIRS = \
|
|
|
|
scripts \
|
|
|
|
include \
|
2003-12-04 19:05:14 +03:00
|
|
|
ElectricFence \
|
|
|
|
@ARLIB_DIR@ \
|
2000-03-29 16:38:44 +04:00
|
|
|
libntp \
|
|
|
|
libparse \
|
|
|
|
ntpd \
|
|
|
|
ntpdate \
|
|
|
|
ntpdc \
|
|
|
|
ntpq \
|
|
|
|
parseutil \
|
|
|
|
adjtimed \
|
|
|
|
clockstuff \
|
|
|
|
kernel \
|
2003-12-04 19:05:14 +03:00
|
|
|
@MAKE_SNTP@ \
|
2000-03-29 16:38:44 +04:00
|
|
|
util
|
|
|
|
|
2003-12-04 19:05:14 +03:00
|
|
|
DIST_SUBDIRS= \
|
|
|
|
scripts \
|
|
|
|
include \
|
|
|
|
ElectricFence \
|
|
|
|
arlib \
|
|
|
|
libntp \
|
|
|
|
libparse \
|
|
|
|
ntpd \
|
|
|
|
ntpdate \
|
|
|
|
ntpdc \
|
|
|
|
ntpq \
|
|
|
|
parseutil \
|
|
|
|
adjtimed \
|
|
|
|
clockstuff \
|
|
|
|
kernel \
|
|
|
|
sntp \
|
|
|
|
util
|
|
|
|
DISTCHECK_CONFIGURE_FLAGS= --with-arlib --with-sntp
|
|
|
|
|
2000-04-22 18:51:59 +04:00
|
|
|
EXTRA_DIST = \
|
|
|
|
COPYRIGHT \
|
|
|
|
ChangeLog \
|
2003-12-04 19:05:14 +03:00
|
|
|
ChangeLog-4.1.0 \
|
2000-04-22 18:51:59 +04:00
|
|
|
NEWS \
|
|
|
|
NOTES.y2kfixes \
|
2003-12-04 19:05:14 +03:00
|
|
|
README.bk \
|
2000-04-22 18:51:59 +04:00
|
|
|
README.hackers \
|
2003-12-04 19:05:14 +03:00
|
|
|
README.patches \
|
|
|
|
README.refclocks \
|
|
|
|
README.versions \
|
2000-04-22 18:51:59 +04:00
|
|
|
TODO \
|
|
|
|
WHERE-TO-START \
|
|
|
|
build \
|
|
|
|
config.guess \
|
|
|
|
config.h.in \
|
|
|
|
config.sub \
|
|
|
|
dot.emacs \
|
|
|
|
excludes \
|
|
|
|
flock-build \
|
|
|
|
install-sh \
|
2006-06-11 18:57:12 +04:00
|
|
|
packageinfo.sh \
|
2000-04-22 18:51:59 +04:00
|
|
|
readme.y2kfixes \
|
|
|
|
results.y2kfixes \
|
2006-06-11 18:57:12 +04:00
|
|
|
\
|
2000-04-22 18:51:59 +04:00
|
|
|
conf \
|
|
|
|
html \
|
2003-12-04 19:05:14 +03:00
|
|
|
libisc \
|
|
|
|
ports \
|
2006-06-11 18:57:12 +04:00
|
|
|
\
|
|
|
|
version \
|
|
|
|
version.m4
|
2003-12-04 19:05:14 +03:00
|
|
|
|
2006-06-11 18:57:12 +04:00
|
|
|
DISTCLEANFILES = .gcc-warning
|
2000-04-22 18:51:59 +04:00
|
|
|
|
2006-06-11 18:57:12 +04:00
|
|
|
#ETAGS_ARGS = $(srcdir)/Makefile.am $(srcdir)/configure.ac
|
|
|
|
ETAGS_ARGS = Makefile.am configure.ac
|
2000-03-29 16:38:44 +04:00
|
|
|
|
|
|
|
# HMS: make ports be the last directory...
|
2000-04-22 18:51:59 +04:00
|
|
|
# DIST_HOOK_DIRS = conf html scripts ports
|
2000-03-29 16:38:44 +04:00
|
|
|
|
2006-06-11 18:57:12 +04:00
|
|
|
# HMS: Keep .gcc-warning first, as that way it gets printed first.
|
|
|
|
BUILT_SOURCES = .gcc-warning $(srcdir)/COPYRIGHT $(srcdir)/version $(srcdir)/version.m4 $(srcdir)/include/version.def
|
2000-03-29 16:38:44 +04:00
|
|
|
|
2003-12-04 19:05:14 +03:00
|
|
|
$(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html
|
|
|
|
( 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
|
|
|
|
|
|
|
|
# HMS: The next bit is still suboptimal. If bk is present but this NTP
|
|
|
|
# repo is not a bk repo, we'll get an error message from the prs command.
|
|
|
|
# Unfortunately, I haven't found the necessary magic to redirect this error
|
|
|
|
# output to /dev/null under ancient/unique shells like the one Ultrix uses.
|
|
|
|
# We'll also get an error if srcdir or version is unwritable.
|
|
|
|
$(srcdir)/version: FRC.version
|
|
|
|
-(bk version) >/dev/null 2>&1 && \
|
|
|
|
cd $(srcdir) && \
|
|
|
|
x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
|
|
|
|
y=`cat version 2>/dev/null` || true && \
|
|
|
|
case "$$x" in ''|$$y) ;; *) echo $$x > version ;; esac
|
2000-03-29 16:38:44 +04:00
|
|
|
|
2006-06-11 18:57:12 +04:00
|
|
|
$(srcdir)/version.m4: $(srcdir)/packageinfo.sh
|
|
|
|
cd $(srcdir) && \
|
|
|
|
./scripts/genver version.m4
|
|
|
|
|
|
|
|
$(srcdir)/include/version.def: $(srcdir)/packageinfo.sh
|
|
|
|
cd $(srcdir) && \
|
|
|
|
./scripts/genver include/version.def
|
|
|
|
|
2000-03-29 16:38:44 +04:00
|
|
|
dist-hook:
|
2000-04-22 18:51:59 +04:00
|
|
|
@find $(distdir) -type d -name CVS -print | xargs rm -rf
|
2003-12-04 19:05:14 +03:00
|
|
|
@find $(distdir) -type d -name SCCS -print | xargs rm -rf
|
|
|
|
@chmod u+w $(distdir)/ports/winnt
|
|
|
|
@for i in `find $(distdir)/ports/winnt -type f -name '*.ds*' -print`; \
|
|
|
|
do chmod u+w $$i ; unix2dos $$i $$i; done
|
|
|
|
|
2006-06-11 18:57:12 +04:00
|
|
|
.gcc-warning:
|
2003-12-04 19:05:14 +03:00
|
|
|
@echo "Compiling with GCC now generates lots of new warnings."
|
|
|
|
@echo " "
|
|
|
|
@echo "Don't be concerned. They're just warnings."
|
|
|
|
@echo " "
|
|
|
|
@echo "Don't send bug reports about the warnings, either."
|
|
|
|
@echo " "
|
|
|
|
@echo "Feel free to send patches that fix these warnings, though."
|
|
|
|
@echo " "
|
|
|
|
@sleep 1
|
2006-06-11 18:57:12 +04:00
|
|
|
@touch .gcc-warning
|
2000-03-29 16:38:44 +04:00
|
|
|
|
2003-12-04 19:05:14 +03:00
|
|
|
# HMS: The following seems to be a work-in-progress...
|
2000-03-29 16:38:44 +04:00
|
|
|
|
|
|
|
CVO=`$(srcdir)/config.guess`
|
|
|
|
|
|
|
|
.buildcvo:
|
|
|
|
echo "$(CVO)" > .buildcvo
|
|
|
|
|
|
|
|
.checkcvo: .buildcvo FRC.checkcvo
|
|
|
|
@if [ "`cat .buildcvo`" != "$(CVO)" ];then \
|
|
|
|
echo "This directory was configured for `cat .buildcvo`"; \
|
|
|
|
echo "but this machine is a $(CVO)"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
|
|
|
|
BHOST=`(hostname || uname -n)`
|
|
|
|
|
|
|
|
.buildhost:
|
|
|
|
echo "$(BHOST)" > .buildhost
|
|
|
|
|
|
|
|
.checkhost: .buildhost FRC.checkhost
|
|
|
|
@if [ "`cat .buildhost`" != "$(BHOST)" ];then \
|
|
|
|
echo "Built on `cat .buildhost` but this is $(BHOST)"; \
|
|
|
|
echo " "; \
|
|
|
|
fi
|
|
|
|
|
2003-12-04 19:05:14 +03:00
|
|
|
FRC.distwarn FRC.checkcvo FRC.checkhost FRC.version:
|
2000-03-29 16:38:44 +04:00
|
|
|
|
2003-12-04 19:05:14 +03:00
|
|
|
# HMS: what was I trying to do with this?
|
|
|
|
#dot.emacs: FRC.distwarn
|