1280849ScyACLOCAL_AMFLAGS = -I sntp/m4 -I sntp/libevent/m4 -I sntp/libopts/m4 254359Sroberto 3280849ScyNULL = 4182007Sroberto 5280849Scy# moved sntp first to get libtool and libevent built. 6280849Scy 7280849ScySUBDIRS = \ 8182007Sroberto scripts \ 9182007Sroberto include \ 10182007Sroberto libntp \ 11330106Sdelphij sntp \ 12132451Sroberto libparse \ 13182007Sroberto ntpd \ 14182007Sroberto ntpdate \ 15182007Sroberto ntpdc \ 16182007Sroberto ntpq \ 17280849Scy ntpsnmpd \ 18132451Sroberto parseutil \ 19132451Sroberto adjtimed \ 20132451Sroberto clockstuff \ 21182007Sroberto kernel \ 22182007Sroberto util \ 23280849Scy tests \ 24182007Sroberto $(NULL) 25132451Sroberto 26289764SglebiusDISTCHECK_CONFIGURE_FLAGS = -C --with-sntp --enable-local-libevent $(NTP_DCF) 27182007Sroberto 28280849ScyEXTRA_DIST = \ 29280849Scy $(srcdir)/COPYRIGHT \ 30280849Scy ChangeLog \ 31280849Scy CommitLog \ 32280849Scy CommitLog-4.1.0 \ 33280849Scy NEWS \ 34280849Scy NOTES.y2kfixes \ 35280849Scy README.bk \ 36280849Scy README.hackers \ 37285169Scy README.leapsmear \ 38280849Scy README.patches \ 39298695Sdelphij README.pullrequests \ 40280849Scy README.refclocks \ 41280849Scy README.versions \ 42280849Scy TODO \ 43280849Scy WHERE-TO-START \ 44280849Scy bootstrap \ 45280849Scy build \ 46280849Scy config.h.in \ 47280849Scy dot.emacs \ 48280849Scy flock-build \ 49280849Scy packageinfo.sh \ 50280849Scy readme.y2kfixes \ 51182007Sroberto results.y2kfixes \ 52182007Sroberto \ 53280849Scy conf \ 54280849Scy html \ 55280849Scy lib/isc \ 56280849Scy libjsmn \ 57280849Scy ports \ 58182007Sroberto \ 59280849Scy deps-ver \ 60182007Sroberto \ 61182007Sroberto $(NULL) 6282498Sroberto 63280849ScyCLEANFILES = 64182007SrobertoDISTCLEANFILES = .gcc-warning 6582498Sroberto 66182007Sroberto# HMS: Keep .gcc-warning first, as that way it gets printed first. 67280849ScyBUILT_SOURCES = \ 68280849Scy .gcc-warning \ 69280849Scy libtool \ 70280849Scy html/.datecheck \ 71280849Scy $(srcdir)/COPYRIGHT \ 72280849Scy $(srcdir)/.checkChangeLog \ 73280849Scy $(NULL) 7454359Sroberto 75182007Sroberto.gcc-warning: 76106163Sroberto @echo "Compiling with GCC now generates lots of new warnings." 77106163Sroberto @echo " " 78106163Sroberto @echo "Don't be concerned. They're just warnings." 79106163Sroberto @echo " " 80106163Sroberto @echo "Don't send bug reports about the warnings, either." 81106163Sroberto @echo " " 82106163Sroberto @echo "Feel free to send patches that fix these warnings, though." 83106163Sroberto @echo " " 84106163Sroberto @sleep 1 85182007Sroberto @touch $@ 8654359Sroberto 87280849Scyhtml/.datecheck: FRC.html 88280849Scy cd $(srcdir)/html && \ 89280849Scy ../scripts/build/checkHtmlFileDates 90280849Scy 91280849Scylibtool: $(LIBTOOL_DEPS) 92280849Scy ./config.status --recheck 93280849Scy 94280849Scysntp/built-sources-only: FRC.sntp 95280849Scy @cd sntp && $(MAKE) $(AM_MAKEFLAGS) built-sources-only 96280849Scy 97280849Scy$(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html 98280849Scy { echo "This file is automatically generated from html/copyright.html" ; \ 99280849Scy lynx -dump $(srcdir)/html/copyright.html ;} > COPYRIGHT.new \ 100280849Scy && mv -f COPYRIGHT.new $(srcdir)/COPYRIGHT 101280849Scy 102280849ScyCOPYRIGHT-please: $(srcdir)/COPYRIGHT 103280849Scy @: do-nothing action to prevent default \ 104280849Scy This target is needed by sntp/Makefile.am on decrepit \ 105280849Scy FreeBSD 6.x make which fails with "make COPYRIGHT" \ 106280849Scy configured in $(srcdir) but "make ./COPYRIGHT" succeeds. \ 107280849Scy Rather than determine our $(srcdir) from sntp/Makefile.am \ 108280849Scy COPYRIGHT-please serves as a fixed target. 109280849Scy 110280849Scy$(srcdir)/.checkChangeLog: $(srcdir)/ChangeLog $(srcdir)/scripts/build/checkChangeLog 111280849Scy cd $(srcdir) && \ 112280849Scy ./scripts/build/checkChangeLog 113280849Scy 114280849Scydist-hook: 115280849Scy @find $(distdir) -type d -name SCCS -print | xargs rm -rf 116280849Scy 117280849Scyinstall-data-local: 118285169Scy @echo "Installing stand-alone HTML documentation" 119285169Scy @( cd $(srcdir) && \ 120285169Scy for i in `find html -type d | grep -v SCCS` ; \ 121285169Scy do $(INSTALL) -d $(DESTDIR)$(htmldir)/$$i ; done ) 122285169Scy @( cd $(srcdir) && \ 123285169Scy for i in `find html -type f | grep -v SCCS` ; \ 124285169Scy do $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; done ) 125280849Scy 126280849Scyuninstall-local: 127280849Scy rm -rf $(DESTDIR)$(htmldir)/html 128280849Scy 129182007SrobertoCommitLog: FRC.CommitLog 130182007Sroberto cd $(srcdir) \ 131280849Scy && $(PATH_TEST) -e CommitLog \ 132182007Sroberto -a SCCS/s.ChangeSet -ot CommitLog \ 133280849Scy || scripts/build/genCommitLog 134182007Sroberto 135106163Sroberto# HMS: The following seems to be a work-in-progress... 136106163Sroberto 137280849ScyCVO=`$(srcdir)/sntp/libevent/build-aux/config.guess` 13854359Sroberto 13954359Sroberto.buildcvo: 14054359Sroberto echo "$(CVO)" > .buildcvo 14154359Sroberto 14254359Sroberto.checkcvo: .buildcvo FRC.checkcvo 14354359Sroberto @if [ "`cat .buildcvo`" != "$(CVO)" ];then \ 14454359Sroberto echo "This directory was configured for `cat .buildcvo`"; \ 14554359Sroberto echo "but this machine is a $(CVO)"; \ 14654359Sroberto exit 1; \ 14754359Sroberto fi 14854359Sroberto 14954359SrobertoBHOST=`(hostname || uname -n)` 15054359Sroberto 15154359Sroberto.buildhost: 15254359Sroberto echo "$(BHOST)" > .buildhost 15354359Sroberto 15454359Sroberto.checkhost: .buildhost FRC.checkhost 15554359Sroberto @if [ "`cat .buildhost`" != "$(BHOST)" ];then \ 15654359Sroberto echo "Built on `cat .buildhost` but this is $(BHOST)"; \ 15754359Sroberto echo " "; \ 15854359Sroberto fi 15954359Sroberto 160280849ScyFRC.CommitLog FRC.checkcvo FRC.checkhost FRC.distwarn FRC.html FRC.sntp: 161280849Scy @: do-nothing action prevents any default 16254359Sroberto 163106163Sroberto# HMS: what was I trying to do with this? 164106163Sroberto#dot.emacs: FRC.distwarn 165