Makefile.am revision 285169
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 sntp \ 9182007Sroberto scripts \ 10182007Sroberto include \ 11182007Sroberto libntp \ 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 26280849ScyDISTCHECK_CONFIGURE_FLAGS = -C --with-sntp 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 \ 39280849Scy README.refclocks \ 40280849Scy README.versions \ 41280849Scy TODO \ 42280849Scy WHERE-TO-START \ 43280849Scy bootstrap \ 44280849Scy build \ 45280849Scy config.h.in \ 46280849Scy dot.emacs \ 47280849Scy flock-build \ 48280849Scy packageinfo.sh \ 49280849Scy readme.y2kfixes \ 50182007Sroberto results.y2kfixes \ 51182007Sroberto \ 52280849Scy conf \ 53280849Scy html \ 54280849Scy lib/isc \ 55280849Scy libjsmn \ 56280849Scy ports \ 57182007Sroberto \ 58280849Scy deps-ver \ 59182007Sroberto \ 60182007Sroberto $(NULL) 6182498Sroberto 62280849ScyCLEANFILES = 63182007SrobertoDISTCLEANFILES = .gcc-warning 6482498Sroberto 65182007Sroberto# HMS: Keep .gcc-warning first, as that way it gets printed first. 66280849ScyBUILT_SOURCES = \ 67280849Scy .gcc-warning \ 68280849Scy libtool \ 69280849Scy html/.datecheck \ 70280849Scy $(srcdir)/COPYRIGHT \ 71280849Scy $(srcdir)/.checkChangeLog \ 72280849Scy $(NULL) 7354359Sroberto 74182007Sroberto.gcc-warning: 75106163Sroberto @echo "Compiling with GCC now generates lots of new warnings." 76106163Sroberto @echo " " 77106163Sroberto @echo "Don't be concerned. They're just warnings." 78106163Sroberto @echo " " 79106163Sroberto @echo "Don't send bug reports about the warnings, either." 80106163Sroberto @echo " " 81106163Sroberto @echo "Feel free to send patches that fix these warnings, though." 82106163Sroberto @echo " " 83106163Sroberto @sleep 1 84182007Sroberto @touch $@ 8554359Sroberto 86280849Scyhtml/.datecheck: FRC.html 87280849Scy cd $(srcdir)/html && \ 88280849Scy ../scripts/build/checkHtmlFileDates 89280849Scy 90280849Scylibtool: $(LIBTOOL_DEPS) 91280849Scy ./config.status --recheck 92280849Scy 93280849Scysntp/built-sources-only: FRC.sntp 94280849Scy @cd sntp && $(MAKE) $(AM_MAKEFLAGS) built-sources-only 95280849Scy 96280849Scy$(srcdir)/COPYRIGHT: $(srcdir)/html/copyright.html 97280849Scy { echo "This file is automatically generated from html/copyright.html" ; \ 98280849Scy lynx -dump $(srcdir)/html/copyright.html ;} > COPYRIGHT.new \ 99280849Scy && mv -f COPYRIGHT.new $(srcdir)/COPYRIGHT 100280849Scy 101280849ScyCOPYRIGHT-please: $(srcdir)/COPYRIGHT 102280849Scy @: do-nothing action to prevent default \ 103280849Scy This target is needed by sntp/Makefile.am on decrepit \ 104280849Scy FreeBSD 6.x make which fails with "make COPYRIGHT" \ 105280849Scy configured in $(srcdir) but "make ./COPYRIGHT" succeeds. \ 106280849Scy Rather than determine our $(srcdir) from sntp/Makefile.am \ 107280849Scy COPYRIGHT-please serves as a fixed target. 108280849Scy 109280849Scy$(srcdir)/.checkChangeLog: $(srcdir)/ChangeLog $(srcdir)/scripts/build/checkChangeLog 110280849Scy cd $(srcdir) && \ 111280849Scy ./scripts/build/checkChangeLog 112280849Scy 113280849Scydist-hook: 114280849Scy @find $(distdir) -type d -name SCCS -print | xargs rm -rf 115280849Scy 116280849Scyinstall-data-local: 117285169Scy @echo "Installing stand-alone HTML documentation" 118285169Scy @( cd $(srcdir) && \ 119285169Scy for i in `find html -type d | grep -v SCCS` ; \ 120285169Scy do $(INSTALL) -d $(DESTDIR)$(htmldir)/$$i ; done ) 121285169Scy @( cd $(srcdir) && \ 122285169Scy for i in `find html -type f | grep -v SCCS` ; \ 123285169Scy do $(INSTALL_DATA) $$i $(DESTDIR)$(htmldir)/$$i ; done ) 124280849Scy 125280849Scyuninstall-local: 126280849Scy rm -rf $(DESTDIR)$(htmldir)/html 127280849Scy 128182007SrobertoCommitLog: FRC.CommitLog 129182007Sroberto cd $(srcdir) \ 130280849Scy && $(PATH_TEST) -e CommitLog \ 131182007Sroberto -a SCCS/s.ChangeSet -ot CommitLog \ 132280849Scy || scripts/build/genCommitLog 133182007Sroberto 134106163Sroberto# HMS: The following seems to be a work-in-progress... 135106163Sroberto 136280849ScyCVO=`$(srcdir)/sntp/libevent/build-aux/config.guess` 13754359Sroberto 13854359Sroberto.buildcvo: 13954359Sroberto echo "$(CVO)" > .buildcvo 14054359Sroberto 14154359Sroberto.checkcvo: .buildcvo FRC.checkcvo 14254359Sroberto @if [ "`cat .buildcvo`" != "$(CVO)" ];then \ 14354359Sroberto echo "This directory was configured for `cat .buildcvo`"; \ 14454359Sroberto echo "but this machine is a $(CVO)"; \ 14554359Sroberto exit 1; \ 14654359Sroberto fi 14754359Sroberto 14854359SrobertoBHOST=`(hostname || uname -n)` 14954359Sroberto 15054359Sroberto.buildhost: 15154359Sroberto echo "$(BHOST)" > .buildhost 15254359Sroberto 15354359Sroberto.checkhost: .buildhost FRC.checkhost 15454359Sroberto @if [ "`cat .buildhost`" != "$(BHOST)" ];then \ 15554359Sroberto echo "Built on `cat .buildhost` but this is $(BHOST)"; \ 15654359Sroberto echo " "; \ 15754359Sroberto fi 15854359Sroberto 159280849ScyFRC.CommitLog FRC.checkcvo FRC.checkhost FRC.distwarn FRC.html FRC.sntp: 160280849Scy @: do-nothing action prevents any default 16154359Sroberto 162106163Sroberto# HMS: what was I trying to do with this? 163106163Sroberto#dot.emacs: FRC.distwarn 164