source: trunk/third/xntp/Makefile.am @ 17260

Revision 17260, 2.9 KB checked in by zacheiss, 23 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r17259, which included commits to RCS files with non-trunk default branches.
Line 
1#AUTOMAKE_OPTIONS = util/ansi2knr foreign dist-tarZ no-dependencies
2AUTOMAKE_OPTIONS = util/ansi2knr foreign
3
4SUBDIRS = \
5        scripts \
6        include \
7        ElectricFence   \
8        librsaref       \
9        libntp  \
10        libparse        \
11        ntpd    \
12        ntpdate \
13        ntpdc   \
14        ntpq    \
15        ntptrace        \
16        parseutil       \
17        adjtimed        \
18        clockstuff      \
19        kernel  \
20        util
21
22EXTRA_DIST = \
23        COPYRIGHT \
24        ChangeLog \
25        ChangeLog-4.1.0 \
26        NEWS \
27        NOTES.y2kfixes \
28        README.bk \
29        README.cvs \
30        README.des \
31        README.hackers \
32        README.rsa \
33        README.versions \
34        TODO \
35        WHERE-TO-START \
36        acconfig.h \
37        build \
38        config.guess \
39        config.h.in \
40        config.sub \
41        dot.emacs \
42        excludes \
43        flock-build \
44        install-sh \
45        ntp_update \
46        readme.y2kfixes \
47        results.y2kfixes \
48        conf \
49        html \
50        ports \
51        version
52
53DISTCLEANFILES = .warning
54
55#ETAGS_ARGS = $(srcdir)/Makefile.am $(srcdir)/configure.in
56ETAGS_ARGS = Makefile.am configure.in acconfig.h
57
58# HMS: make ports be the last directory...
59# DIST_HOOK_DIRS = conf html scripts ports
60
61# HMS: Keep .warning first, as that way it gets printed first.
62BUILT_SOURCES = .warning $(srcdir)/COPYRIGHT $(srcdir)/version
63
64$(srcdir)/COPYRIGHT: html/copyright.htm
65        ( 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
66
67# HMS: The next bit is still suboptimal.  If bk is present but this NTP
68# repo is not a bk repo, we'll get an error message from the prs command.
69# Unfortunately, I haven't found the necessary magic to redirect this error
70# output to /dev/null under ancient/unique shells like the one Ultrix uses.
71# We'll also get an error of srcdir or version is unwritable.
72$(srcdir)/version: FRC.version
73        -(bk version) >/dev/null 2>&1 && \
74            cd $(srcdir) && \
75            x=`bk -R prs -hr+ -nd:I: ChangeSet` && \
76            case "$$x" in '') ;; *) echo $$x > version ;; esac
77
78dist-hook:
79        @find $(distdir) -type d -name CVS -print | xargs rm -rf
80        @find $(distdir) -type d -name SCCS -print | xargs rm -rf
81
82.warning:
83        @echo "Compiling with GCC now generates lots of new warnings."
84        @echo " "
85        @echo "Don't be concerned. They're just warnings."
86        @echo " "
87        @echo "Don't send bug reports about the warnings, either."
88        @echo " "
89        @echo "Feel free to send patches that fix these warnings, though."
90        @echo " "
91        @sleep 1
92        @touch .warning
93
94# HMS: The following seems to be a work-in-progress...
95
96CVO=`$(srcdir)/config.guess`
97
98.buildcvo:
99        echo "$(CVO)" > .buildcvo
100
101.checkcvo: .buildcvo FRC.checkcvo
102        @if [ "`cat .buildcvo`" != "$(CVO)" ];then      \
103                echo "This directory was configured for `cat .buildcvo`"; \
104                echo "but this machine is a $(CVO)";    \
105                exit 1; \
106        fi
107
108BHOST=`(hostname || uname -n)`
109
110.buildhost:
111        echo "$(BHOST)" > .buildhost
112
113.checkhost: .buildhost FRC.checkhost
114        @if [ "`cat .buildhost`" != "$(BHOST)" ];then   \
115                echo "Built on `cat .buildhost` but this is $(BHOST)"; \
116                echo " "; \
117        fi
118
119FRC.distwarn FRC.checkcvo FRC.checkhost FRC.version:
120
121# HMS: what was I trying to do with this?
122#dot.emacs: FRC.distwarn
Note: See TracBrowser for help on using the repository browser.