]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - ntpq/Makefile.in
Virgin import of ntpd 4.2.6p5.
[FreeBSD/FreeBSD.git] / ntpq / Makefile.in
1 # Makefile.in generated by automake 1.11.1 from Makefile.am.
2 # @configure_input@
3
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005, 2006, 2007, 2008, 2009  Free Software Foundation,
6 # Inc.
7 # This Makefile.in is free software; the Free Software Foundation
8 # gives unlimited permission to copy and/or distribute it,
9 # with or without modifications, as long as this notice is preserved.
10
11 # This program is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
13 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
14 # PARTICULAR PURPOSE.
15
16 @SET_MAKE@
17
18 # we traditionally installed software in bindir, while it should have gone
19 # in sbindir.  Now that we offer a choice, look in the "other" installation
20 # subdir to warn folks if there is another version there.
21
22
23
24
25 VPATH = @srcdir@
26 pkgdatadir = $(datadir)/@PACKAGE@
27 pkgincludedir = $(includedir)/@PACKAGE@
28 pkglibdir = $(libdir)/@PACKAGE@
29 pkglibexecdir = $(libexecdir)/@PACKAGE@
30 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
31 install_sh_DATA = $(install_sh) -c -m 644
32 install_sh_PROGRAM = $(install_sh) -c
33 install_sh_SCRIPT = $(install_sh) -c
34 INSTALL_HEADER = $(INSTALL_DATA)
35 transform = $(program_transform_name)
36 NORMAL_INSTALL = :
37 PRE_INSTALL = :
38 POST_INSTALL = :
39 NORMAL_UNINSTALL = :
40 PRE_UNINSTALL = :
41 POST_UNINSTALL = :
42 build_triplet = @build@
43 host_triplet = @host@
44 @NTP_BINSUBDIR_IS_BIN_TRUE@bin_PROGRAMS = ntpq$(EXEEXT)
45 @NTP_BINSUBDIR_IS_BIN_FALSE@sbin_PROGRAMS = ntpq$(EXEEXT)
46 DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
47         $(srcdir)/Makefile.in $(top_srcdir)/bincheck.mf \
48         $(top_srcdir)/depsver.mf
49 subdir = ntpq
50 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51 am__aclocal_m4_deps = $(top_srcdir)/sntp/libopts/m4/libopts.m4 \
52         $(top_srcdir)/m4/define_dir.m4 $(top_srcdir)/m4/libtool.m4 \
53         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
54         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
55         $(top_srcdir)/m4/ntp_cacheversion.m4 \
56         $(top_srcdir)/m4/ntp_dir_sep.m4 \
57         $(top_srcdir)/m4/ntp_lineeditlibs.m4 \
58         $(top_srcdir)/m4/ntp_openssl.m4 \
59         $(top_srcdir)/m4/ntp_vpathhack.m4 \
60         $(top_srcdir)/m4/os_cflags.m4 $(top_srcdir)/version.m4 \
61         $(top_srcdir)/configure.ac
62 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
63         $(ACLOCAL_M4)
64 mkinstalldirs = $(install_sh) -d
65 CONFIG_HEADER = $(top_builddir)/config.h
66 CONFIG_CLEAN_FILES =
67 CONFIG_CLEAN_VPATH_FILES =
68 LIBRARIES = $(noinst_LIBRARIES)
69 ARFLAGS = cru
70 libntpq_a_AR = $(AR) $(ARFLAGS)
71 libntpq_a_LIBADD =
72 am_libntpq_a_OBJECTS = libntpq_a-libntpq.$(OBJEXT) \
73         libntpq_a-libntpq_subs.$(OBJEXT)
74 libntpq_a_OBJECTS = $(am_libntpq_a_OBJECTS)
75 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" \
76         "$(DESTDIR)$(man1dir)"
77 PROGRAMS = $(bin_PROGRAMS) $(sbin_PROGRAMS)
78 am_ntpq_OBJECTS = ntpq.$(OBJEXT) ntpq-subs.$(OBJEXT) \
79         ntpq-opts.$(OBJEXT)
80 ntpq_OBJECTS = $(am_ntpq_OBJECTS)
81 am__DEPENDENCIES_1 =
82 ntpq_DEPENDENCIES = version.o $(am__DEPENDENCIES_1) ../libntp/libntp.a
83 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
84 depcomp = $(SHELL) $(top_srcdir)/depcomp
85 am__depfiles_maybe = depfiles
86 am__mv = mv -f
87 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
88         $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
89 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
90         --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
91         $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
92 CCLD = $(CC)
93 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
94         --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
95         $(LDFLAGS) -o $@
96 SOURCES = $(libntpq_a_SOURCES) $(ntpq_SOURCES)
97 DIST_SOURCES = $(libntpq_a_SOURCES) $(ntpq_SOURCES)
98 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
99 am__vpath_adj = case $$p in \
100     $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
101     *) f=$$p;; \
102   esac;
103 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
104 am__install_max = 40
105 am__nobase_strip_setup = \
106   srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
107 am__nobase_strip = \
108   for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
109 am__nobase_list = $(am__nobase_strip_setup); \
110   for p in $$list; do echo "$$p $$p"; done | \
111   sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
112   $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
113     if (++n[$$2] == $(am__install_max)) \
114       { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
115     END { for (dir in files) print dir, files[dir] }'
116 am__base_list = \
117   sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
118   sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
119 man1dir = $(mandir)/man1
120 NROFF = nroff
121 MANS = $(man_MANS)
122 DATA = $(noinst_DATA)
123 HEADERS = $(noinst_HEADERS)
124 ETAGS = etags
125 CTAGS = ctags
126 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
127 ACLOCAL = @ACLOCAL@
128 AMTAR = @AMTAR@
129 AR = @AR@
130 AUTOCONF = @AUTOCONF@
131 AUTOHEADER = @AUTOHEADER@
132 AUTOMAKE = @AUTOMAKE@
133 AWK = @AWK@
134 BINSUBDIR = @BINSUBDIR@
135 CC = @CC@
136 CCDEPMODE = @CCDEPMODE@
137 CFLAGS = @CFLAGS@
138 CHUTEST = @CHUTEST@
139 CLKTEST = @CLKTEST@
140 CPP = @CPP@
141 CPPFLAGS = @CPPFLAGS@
142 CYGPATH_W = @CYGPATH_W@
143 DCFD = @DCFD@
144 DEFS = @DEFS@
145 DEPDIR = @DEPDIR@
146 DLLTOOL = @DLLTOOL@
147 DSYMUTIL = @DSYMUTIL@
148 DUMPBIN = @DUMPBIN@
149 ECHO_C = @ECHO_C@
150 ECHO_N = @ECHO_N@
151 ECHO_T = @ECHO_T@
152 EDITLINE_LIBS = @EDITLINE_LIBS@
153 EF_LIBS = @EF_LIBS@
154 EF_PROGS = @EF_PROGS@
155 EGREP = @EGREP@
156 EXEEXT = @EXEEXT@
157 FGREP = @FGREP@
158 GREP = @GREP@
159 HAVE_INLINE = @HAVE_INLINE@
160 INSTALL = @INSTALL@
161 INSTALL_DATA = @INSTALL_DATA@
162 INSTALL_PROGRAM = @INSTALL_PROGRAM@
163 INSTALL_SCRIPT = @INSTALL_SCRIPT@
164 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
165 LCRYPTO = @LCRYPTO@
166 LD = @LD@
167 LDFLAGS = @LDFLAGS@
168 LIBOBJS = @LIBOBJS@
169 LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
170 LIBOPTS_DIR = @LIBOPTS_DIR@
171 LIBOPTS_LDADD = @LIBOPTS_LDADD@
172 LIBPARSE = @LIBPARSE@
173 LIBS = @LIBS@
174 LIBTOOL = @LIBTOOL@
175 LIPO = @LIPO@
176 LN_S = @LN_S@
177 LSCF = @LSCF@
178 LTLIBOBJS = @LTLIBOBJS@
179 MAKEINFO = @MAKEINFO@
180 MAKE_ADJTIMED = @MAKE_ADJTIMED@
181 MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
182 MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
183 MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
184 MAKE_LIBPARSE = @MAKE_LIBPARSE@
185 MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
186 MAKE_NTPDSIM = @MAKE_NTPDSIM@
187 MAKE_NTPSNMPD = @MAKE_NTPSNMPD@
188 MAKE_NTPTIME = @MAKE_NTPTIME@
189 MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
190 MAKE_TICKADJ = @MAKE_TICKADJ@
191 MAKE_TIMETRIM = @MAKE_TIMETRIM@
192 MANIFEST_TOOL = @MANIFEST_TOOL@
193 MKDIR_P = @MKDIR_P@
194 NM = @NM@
195 NMEDIT = @NMEDIT@
196 OBJDUMP = @OBJDUMP@
197 OBJEXT = @OBJEXT@
198 OPENSSL = @OPENSSL@
199 OPENSSL_INC = @OPENSSL_INC@
200 OPENSSL_LIB = @OPENSSL_LIB@
201 OTOOL = @OTOOL@
202 OTOOL64 = @OTOOL64@
203 PACKAGE = @PACKAGE@
204 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
205 PACKAGE_NAME = @PACKAGE_NAME@
206 PACKAGE_STRING = @PACKAGE_STRING@
207 PACKAGE_TARNAME = @PACKAGE_TARNAME@
208 PACKAGE_URL = @PACKAGE_URL@
209 PACKAGE_VERSION = @PACKAGE_VERSION@
210 PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@
211 PATH_PERL = @PATH_PERL@
212 PATH_SEPARATOR = @PATH_SEPARATOR@
213 PATH_SH = @PATH_SH@
214 PATH_TEST = @PATH_TEST@
215 POSIX_SHELL = @POSIX_SHELL@
216 PROPDELAY = @PROPDELAY@
217 RANLIB = @RANLIB@
218 SED = @SED@
219 SET_MAKE = @SET_MAKE@
220 SHELL = @SHELL@
221 SNMP_CFLAGS = @SNMP_CFLAGS@
222 SNMP_CPPFLAGS = @SNMP_CPPFLAGS@
223 SNMP_LIBS = @SNMP_LIBS@
224 STRIP = @STRIP@
225 TESTDCF = @TESTDCF@
226 VERSION = @VERSION@
227 YACC = @YACC@
228 YFLAGS = @YFLAGS@
229 abs_builddir = @abs_builddir@
230 abs_srcdir = @abs_srcdir@
231 abs_top_builddir = @abs_top_builddir@
232 abs_top_srcdir = @abs_top_srcdir@
233 ac_ct_AR = @ac_ct_AR@
234 ac_ct_CC = @ac_ct_CC@
235 ac_ct_DUMPBIN = @ac_ct_DUMPBIN@
236 am__include = @am__include@
237 am__leading_dot = @am__leading_dot@
238 am__quote = @am__quote@
239 am__tar = @am__tar@
240 am__untar = @am__untar@
241 bindir = @bindir@
242 build = @build@
243 build_alias = @build_alias@
244 build_cpu = @build_cpu@
245 build_os = @build_os@
246 build_vendor = @build_vendor@
247 builddir = @builddir@
248 datadir = @datadir@
249 datarootdir = @datarootdir@
250 docdir = @docdir@
251 dvidir = @dvidir@
252 exec_prefix = @exec_prefix@
253 host = @host@
254 host_alias = @host_alias@
255 host_cpu = @host_cpu@
256 host_os = @host_os@
257 host_vendor = @host_vendor@
258 htmldir = @htmldir@
259 includedir = @includedir@
260 infodir = @infodir@
261 install_sh = @install_sh@
262 libdir = @libdir@
263 libexecdir = @libexecdir@
264 localedir = @localedir@
265 localstatedir = @localstatedir@
266 mandir = @mandir@
267 mkdir_p = @mkdir_p@
268 oldincludedir = @oldincludedir@
269 pdfdir = @pdfdir@
270 prefix = @prefix@
271 program_transform_name = @program_transform_name@
272 psdir = @psdir@
273 sbindir = @sbindir@
274 sharedstatedir = @sharedstatedir@
275 srcdir = @srcdir@
276 subdirs = @subdirs@
277 sysconfdir = @sysconfdir@
278 target_alias = @target_alias@
279 top_build_prefix = @top_build_prefix@
280 top_builddir = @top_builddir@
281 top_srcdir = @top_srcdir@
282 NULL = 
283 AUTOMAKE_OPTIONS = 
284 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_srcdir)/lib/isc/include \
285         -I$(top_srcdir)/lib/isc/nothreads/include \
286         -I$(top_srcdir)/lib/isc/unix/include $(LIBOPTS_CFLAGS)
287
288
289 # LDADD might need RESLIB and ADJLIB
290 ntpq_LDADD = version.o $(LIBOPTS_LDADD) ../libntp/libntp.a \
291                 @EDITLINE_LIBS@ @LCRYPTO@
292
293 noinst_HEADERS = ntpq.h
294 noinst_LIBRARIES = libntpq.a
295 libntpq_a_CFLAGS = -DNO_MAIN_ALLOWED -DBUILD_AS_LIB
296 CLEANFILES = .deps-ver
297 DISTCLEANFILES = .version version.c
298 ETAGS_ARGS = Makefile.am
299 EXTRA_DIST = ntpq-opts.def ntpq.1 ntpq-opts.texi ntpq-opts.menu
300 BUILT_SOURCES = ntpq-opts.c ntpq-opts.h .deps-ver
301 man_MANS = $(srcdir)/ntpq.1
302 noinst_DATA = $(srcdir)/ntpq-opts.texi $(srcdir)/ntpq-opts.menu
303 run_ag = cd $(srcdir) &&        env PATH="$(abs_builddir):$(PATH)"      \
304                 autogen -L ../include --writable
305
306 std_def_list = $(top_srcdir)/include/debug-opt.def              \
307                 $(top_srcdir)/include/autogen-version.def       \
308                 $(top_srcdir)/include/copyright.def             \
309                 $(top_srcdir)/include/homerc.def                \
310                 $(top_srcdir)/include/version.def
311
312 ntpq_SOURCES = ntpq.c ntpq-subs.c ntpq-opts.c ntpq-opts.h
313 libntpq_a_SOURCES = libntpq.c libntpq.h libntpq_subs.c 
314 all: $(BUILT_SOURCES)
315         $(MAKE) $(AM_MAKEFLAGS) all-am
316
317 .SUFFIXES:
318 .SUFFIXES: .c .lo .o .obj
319 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(top_srcdir)/bincheck.mf $(top_srcdir)/depsver.mf $(am__configure_deps)
320         @for dep in $?; do \
321           case '$(am__configure_deps)' in \
322             *$$dep*) \
323               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
324                 && { if test -f $@; then exit 0; else break; fi; }; \
325               exit 1;; \
326           esac; \
327         done; \
328         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ntpq/Makefile'; \
329         $(am__cd) $(top_srcdir) && \
330           $(AUTOMAKE) --foreign ntpq/Makefile
331 .PRECIOUS: Makefile
332 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
333         @case '$?' in \
334           *config.status*) \
335             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
336           *) \
337             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
338             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
339         esac;
340
341 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
342         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
343
344 $(top_srcdir)/configure:  $(am__configure_deps)
345         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
346 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
347         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
348 $(am__aclocal_m4_deps):
349
350 clean-noinstLIBRARIES:
351         -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
352 libntpq.a: $(libntpq_a_OBJECTS) $(libntpq_a_DEPENDENCIES) 
353         -rm -f libntpq.a
354         $(libntpq_a_AR) libntpq.a $(libntpq_a_OBJECTS) $(libntpq_a_LIBADD)
355         $(RANLIB) libntpq.a
356 install-binPROGRAMS: $(bin_PROGRAMS)
357         @$(NORMAL_INSTALL)
358         test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
359         @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
360         for p in $$list; do echo "$$p $$p"; done | \
361         sed 's/$(EXEEXT)$$//' | \
362         while read p p1; do if test -f $$p || test -f $$p1; \
363           then echo "$$p"; echo "$$p"; else :; fi; \
364         done | \
365         sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
366             -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
367         sed 'N;N;N;s,\n, ,g' | \
368         $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
369           { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
370             if ($$2 == $$4) files[d] = files[d] " " $$1; \
371             else { print "f", $$3 "/" $$4, $$1; } } \
372           END { for (d in files) print "f", d, files[d] }' | \
373         while read type dir files; do \
374             if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
375             test -z "$$files" || { \
376             echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
377             $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
378             } \
379         ; done
380
381 uninstall-binPROGRAMS:
382         @$(NORMAL_UNINSTALL)
383         @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
384         files=`for p in $$list; do echo "$$p"; done | \
385           sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
386               -e 's/$$/$(EXEEXT)/' `; \
387         test -n "$$list" || exit 0; \
388         echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
389         cd "$(DESTDIR)$(bindir)" && rm -f $$files
390
391 clean-binPROGRAMS:
392         @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
393         echo " rm -f" $$list; \
394         rm -f $$list || exit $$?; \
395         test -n "$(EXEEXT)" || exit 0; \
396         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
397         echo " rm -f" $$list; \
398         rm -f $$list
399 install-sbinPROGRAMS: $(sbin_PROGRAMS)
400         @$(NORMAL_INSTALL)
401         test -z "$(sbindir)" || $(MKDIR_P) "$(DESTDIR)$(sbindir)"
402         @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
403         for p in $$list; do echo "$$p $$p"; done | \
404         sed 's/$(EXEEXT)$$//' | \
405         while read p p1; do if test -f $$p || test -f $$p1; \
406           then echo "$$p"; echo "$$p"; else :; fi; \
407         done | \
408         sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
409             -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
410         sed 'N;N;N;s,\n, ,g' | \
411         $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
412           { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
413             if ($$2 == $$4) files[d] = files[d] " " $$1; \
414             else { print "f", $$3 "/" $$4, $$1; } } \
415           END { for (d in files) print "f", d, files[d] }' | \
416         while read type dir files; do \
417             if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
418             test -z "$$files" || { \
419             echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(sbindir)$$dir'"; \
420             $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(sbindir)$$dir" || exit $$?; \
421             } \
422         ; done
423
424 uninstall-sbinPROGRAMS:
425         @$(NORMAL_UNINSTALL)
426         @list='$(sbin_PROGRAMS)'; test -n "$(sbindir)" || list=; \
427         files=`for p in $$list; do echo "$$p"; done | \
428           sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
429               -e 's/$$/$(EXEEXT)/' `; \
430         test -n "$$list" || exit 0; \
431         echo " ( cd '$(DESTDIR)$(sbindir)' && rm -f" $$files ")"; \
432         cd "$(DESTDIR)$(sbindir)" && rm -f $$files
433
434 clean-sbinPROGRAMS:
435         @list='$(sbin_PROGRAMS)'; test -n "$$list" || exit 0; \
436         echo " rm -f" $$list; \
437         rm -f $$list || exit $$?; \
438         test -n "$(EXEEXT)" || exit 0; \
439         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
440         echo " rm -f" $$list; \
441         rm -f $$list
442 ntpq$(EXEEXT): $(ntpq_OBJECTS) $(ntpq_DEPENDENCIES) 
443         @rm -f ntpq$(EXEEXT)
444         $(LINK) $(ntpq_OBJECTS) $(ntpq_LDADD) $(LIBS)
445
446 mostlyclean-compile:
447         -rm -f *.$(OBJEXT)
448
449 distclean-compile:
450         -rm -f *.tab.c
451
452 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libntpq_a-libntpq.Po@am__quote@
453 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libntpq_a-libntpq_subs.Po@am__quote@
454 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpq-opts.Po@am__quote@
455 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpq-subs.Po@am__quote@
456 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpq.Po@am__quote@
457
458 .c.o:
459 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
460 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
461 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
462 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
463 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
464
465 .c.obj:
466 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
467 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
468 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
469 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
470 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
471
472 .c.lo:
473 @am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
474 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
475 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
476 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
477 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
478
479 libntpq_a-libntpq.o: libntpq.c
480 @am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntpq_a_CFLAGS) $(CFLAGS) -MT libntpq_a-libntpq.o -MD -MP -MF $(DEPDIR)/libntpq_a-libntpq.Tpo -c -o libntpq_a-libntpq.o `test -f 'libntpq.c' || echo '$(srcdir)/'`libntpq.c
481 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/libntpq_a-libntpq.Tpo $(DEPDIR)/libntpq_a-libntpq.Po
482 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='libntpq.c' object='libntpq_a-libntpq.o' libtool=no @AMDEPBACKSLASH@
483 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
484 @am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntpq_a_CFLAGS) $(CFLAGS) -c -o libntpq_a-libntpq.o `test -f 'libntpq.c' || echo '$(srcdir)/'`libntpq.c
485
486 libntpq_a-libntpq.obj: libntpq.c
487 @am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntpq_a_CFLAGS) $(CFLAGS) -MT libntpq_a-libntpq.obj -MD -MP -MF $(DEPDIR)/libntpq_a-libntpq.Tpo -c -o libntpq_a-libntpq.obj `if test -f 'libntpq.c'; then $(CYGPATH_W) 'libntpq.c'; else $(CYGPATH_W) '$(srcdir)/libntpq.c'; fi`
488 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/libntpq_a-libntpq.Tpo $(DEPDIR)/libntpq_a-libntpq.Po
489 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='libntpq.c' object='libntpq_a-libntpq.obj' libtool=no @AMDEPBACKSLASH@
490 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
491 @am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntpq_a_CFLAGS) $(CFLAGS) -c -o libntpq_a-libntpq.obj `if test -f 'libntpq.c'; then $(CYGPATH_W) 'libntpq.c'; else $(CYGPATH_W) '$(srcdir)/libntpq.c'; fi`
492
493 libntpq_a-libntpq_subs.o: libntpq_subs.c
494 @am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntpq_a_CFLAGS) $(CFLAGS) -MT libntpq_a-libntpq_subs.o -MD -MP -MF $(DEPDIR)/libntpq_a-libntpq_subs.Tpo -c -o libntpq_a-libntpq_subs.o `test -f 'libntpq_subs.c' || echo '$(srcdir)/'`libntpq_subs.c
495 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/libntpq_a-libntpq_subs.Tpo $(DEPDIR)/libntpq_a-libntpq_subs.Po
496 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='libntpq_subs.c' object='libntpq_a-libntpq_subs.o' libtool=no @AMDEPBACKSLASH@
497 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
498 @am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntpq_a_CFLAGS) $(CFLAGS) -c -o libntpq_a-libntpq_subs.o `test -f 'libntpq_subs.c' || echo '$(srcdir)/'`libntpq_subs.c
499
500 libntpq_a-libntpq_subs.obj: libntpq_subs.c
501 @am__fastdepCC_TRUE@    $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntpq_a_CFLAGS) $(CFLAGS) -MT libntpq_a-libntpq_subs.obj -MD -MP -MF $(DEPDIR)/libntpq_a-libntpq_subs.Tpo -c -o libntpq_a-libntpq_subs.obj `if test -f 'libntpq_subs.c'; then $(CYGPATH_W) 'libntpq_subs.c'; else $(CYGPATH_W) '$(srcdir)/libntpq_subs.c'; fi`
502 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/libntpq_a-libntpq_subs.Tpo $(DEPDIR)/libntpq_a-libntpq_subs.Po
503 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='libntpq_subs.c' object='libntpq_a-libntpq_subs.obj' libtool=no @AMDEPBACKSLASH@
504 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
505 @am__fastdepCC_FALSE@   $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libntpq_a_CFLAGS) $(CFLAGS) -c -o libntpq_a-libntpq_subs.obj `if test -f 'libntpq_subs.c'; then $(CYGPATH_W) 'libntpq_subs.c'; else $(CYGPATH_W) '$(srcdir)/libntpq_subs.c'; fi`
506
507 mostlyclean-libtool:
508         -rm -f *.lo
509
510 clean-libtool:
511         -rm -rf .libs _libs
512 install-man1: $(man_MANS)
513         @$(NORMAL_INSTALL)
514         test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
515         @list=''; test -n "$(man1dir)" || exit 0; \
516         { for i in $$list; do echo "$$i"; done; \
517         l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
518           sed -n '/\.1[a-z]*$$/p'; \
519         } | while read p; do \
520           if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
521           echo "$$d$$p"; echo "$$p"; \
522         done | \
523         sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
524               -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
525         sed 'N;N;s,\n, ,g' | { \
526         list=; while read file base inst; do \
527           if test "$$base" = "$$inst"; then list="$$list $$file"; else \
528             echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
529             $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
530           fi; \
531         done; \
532         for i in $$list; do echo "$$i"; done | $(am__base_list) | \
533         while read files; do \
534           test -z "$$files" || { \
535             echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
536             $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
537         done; }
538
539 uninstall-man1:
540         @$(NORMAL_UNINSTALL)
541         @list=''; test -n "$(man1dir)" || exit 0; \
542         files=`{ for i in $$list; do echo "$$i"; done; \
543         l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
544           sed -n '/\.1[a-z]*$$/p'; \
545         } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
546               -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
547         test -z "$$files" || { \
548           echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
549           cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
550
551 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
552         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
553         unique=`for i in $$list; do \
554             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
555           done | \
556           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
557               END { if (nonempty) { for (i in files) print i; }; }'`; \
558         mkid -fID $$unique
559 tags: TAGS
560
561 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
562                 $(TAGS_FILES) $(LISP)
563         set x; \
564         here=`pwd`; \
565         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
566         unique=`for i in $$list; do \
567             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
568           done | \
569           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
570               END { if (nonempty) { for (i in files) print i; }; }'`; \
571         shift; \
572         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
573           test -n "$$unique" || unique=$$empty_fix; \
574           if test $$# -gt 0; then \
575             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
576               "$$@" $$unique; \
577           else \
578             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
579               $$unique; \
580           fi; \
581         fi
582 ctags: CTAGS
583 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
584                 $(TAGS_FILES) $(LISP)
585         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
586         unique=`for i in $$list; do \
587             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
588           done | \
589           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
590               END { if (nonempty) { for (i in files) print i; }; }'`; \
591         test -z "$(CTAGS_ARGS)$$unique" \
592           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
593              $$unique
594
595 GTAGS:
596         here=`$(am__cd) $(top_builddir) && pwd` \
597           && $(am__cd) $(top_srcdir) \
598           && gtags -i $(GTAGS_ARGS) "$$here"
599
600 distclean-tags:
601         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
602
603 distdir: $(DISTFILES)
604         @list='$(MANS)'; if test -n "$$list"; then \
605           list=`for p in $$list; do \
606             if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
607             if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
608           if test -n "$$list" && \
609             grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
610             echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
611             grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
612             echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
613             echo "       typically \`make maintainer-clean' will remove them" >&2; \
614             exit 1; \
615           else :; fi; \
616         else :; fi
617         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
618         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
619         list='$(DISTFILES)'; \
620           dist_files=`for file in $$list; do echo $$file; done | \
621           sed -e "s|^$$srcdirstrip/||;t" \
622               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
623         case $$dist_files in \
624           */*) $(MKDIR_P) `echo "$$dist_files" | \
625                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
626                            sort -u` ;; \
627         esac; \
628         for file in $$dist_files; do \
629           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
630           if test -d $$d/$$file; then \
631             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
632             if test -d "$(distdir)/$$file"; then \
633               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
634             fi; \
635             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
636               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
637               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
638             fi; \
639             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
640           else \
641             test -f "$(distdir)/$$file" \
642             || cp -p $$d/$$file "$(distdir)/$$file" \
643             || exit 1; \
644           fi; \
645         done
646 check-am: all-am
647 check: $(BUILT_SOURCES)
648         $(MAKE) $(AM_MAKEFLAGS) check-am
649 all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(MANS) $(DATA) $(HEADERS)
650 installdirs:
651         for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)"; do \
652           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
653         done
654 install: $(BUILT_SOURCES)
655         $(MAKE) $(AM_MAKEFLAGS) install-am
656 install-exec: install-exec-am
657 install-data: install-data-am
658 uninstall: uninstall-am
659
660 install-am: all-am
661         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
662
663 installcheck: installcheck-am
664 install-strip:
665         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
666           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
667           `test -z '$(STRIP)' || \
668             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
669 mostlyclean-generic:
670
671 clean-generic:
672         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
673
674 distclean-generic:
675         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
676         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
677         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
678
679 maintainer-clean-generic:
680         @echo "This command is intended for maintainers to use"
681         @echo "it deletes files that may require special tools to rebuild."
682         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
683 clean: clean-am
684
685 clean-am: clean-binPROGRAMS clean-generic clean-libtool \
686         clean-noinstLIBRARIES clean-sbinPROGRAMS mostlyclean-am
687
688 distclean: distclean-am
689         -rm -rf ./$(DEPDIR)
690         -rm -f Makefile
691 distclean-am: clean-am distclean-compile distclean-generic \
692         distclean-tags
693
694 dvi: dvi-am
695
696 dvi-am:
697
698 html: html-am
699
700 html-am:
701
702 info: info-am
703
704 info-am:
705
706 install-data-am: install-man
707
708 install-dvi: install-dvi-am
709
710 install-dvi-am:
711
712 install-exec-am: install-binPROGRAMS install-sbinPROGRAMS
713         @$(NORMAL_INSTALL)
714         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
715 install-html: install-html-am
716
717 install-html-am:
718
719 install-info: install-info-am
720
721 install-info-am:
722
723 install-man: install-man1
724
725 install-pdf: install-pdf-am
726
727 install-pdf-am:
728
729 install-ps: install-ps-am
730
731 install-ps-am:
732
733 installcheck-am:
734
735 maintainer-clean: maintainer-clean-am
736         -rm -rf ./$(DEPDIR)
737         -rm -f Makefile
738 maintainer-clean-am: distclean-am maintainer-clean-generic
739
740 mostlyclean: mostlyclean-am
741
742 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
743         mostlyclean-libtool
744
745 pdf: pdf-am
746
747 pdf-am:
748
749 ps: ps-am
750
751 ps-am:
752
753 uninstall-am: uninstall-binPROGRAMS uninstall-man \
754         uninstall-sbinPROGRAMS
755
756 uninstall-man: uninstall-man1
757
758 .MAKE: all check install install-am install-exec-am install-strip
759
760 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
761         clean-generic clean-libtool clean-noinstLIBRARIES \
762         clean-sbinPROGRAMS ctags distclean distclean-compile \
763         distclean-generic distclean-libtool distclean-tags distdir dvi \
764         dvi-am html html-am info info-am install install-am \
765         install-binPROGRAMS install-data install-data-am install-dvi \
766         install-dvi-am install-exec install-exec-am install-exec-hook \
767         install-html install-html-am install-info install-info-am \
768         install-man install-man1 install-pdf install-pdf-am install-ps \
769         install-ps-am install-sbinPROGRAMS install-strip installcheck \
770         installcheck-am installdirs maintainer-clean \
771         maintainer-clean-generic mostlyclean mostlyclean-compile \
772         mostlyclean-generic mostlyclean-libtool pdf pdf-am ps ps-am \
773         tags uninstall uninstall-am uninstall-binPROGRAMS \
774         uninstall-man uninstall-man1 uninstall-sbinPROGRAMS
775
776
777 $(srcdir)/ntpq-opts.h: $(srcdir)/ntpq-opts.c
778         @: do-nothing action to avoid default SCCS get, .h built with .c
779
780 $(srcdir)/ntpq-opts.c: $(srcdir)/ntpq-opts.def $(std_def_list)
781         $(run_ag) ntpq-opts.def
782
783 $(srcdir)/ntpq.1: $(srcdir)/ntpq-opts.def $(std_def_list)
784         $(run_ag) -Tagman1.tpl -bntpq ntpq-opts.def
785
786 $(srcdir)/ntpq-opts.menu: $(srcdir)/ntpq-opts.texi
787         @: do-nothing action to avoid default SCCS get, .menu built with .texi
788
789 $(srcdir)/ntpq-opts.texi: $(srcdir)/ntpq-opts.def $(std_def_list)
790         $(run_ag) -Taginfo.tpl -DLEVEL=section ntpq-opts.def
791         $(top_srcdir)/scripts/check--help $@
792
793 $(PROGRAMS): $(LDADD)
794
795 ../libntp/libntp.a:
796         cd ../libntp && $(MAKE)
797
798 $(top_srcdir)/version :
799         cd $(top_srcdir) && $(MAKE) version
800
801 version.o: $(ntpq_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
802         env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpq
803         $(COMPILE) -c version.c
804
805 install-exec-hook:
806         @case ${BINSUBDIR} in                                           \
807          bin) ODIR=${sbindir} ;;                                        \
808          sbin) ODIR=${bindir} ;;                                        \
809         esac;                                                           \
810         test -z "${bin_PROGRAMS}${bin_SCRIPTS}"                         \
811         || for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do              \
812            test ! -f $$ODIR/$$i || echo "*** $$i is also in $$ODIR!";   \
813         done
814
815 #
816 $(DEPDIR)/deps-ver: $(top_srcdir)/deps-ver
817         @[ -f $@ ] ||                                                   \
818                 cp $(top_srcdir)/deps-ver $@
819         @[ -w $@ ] ||                                                   \
820                 chmod ug+w $@
821         @cmp $(top_srcdir)/deps-ver $@ > /dev/null || (                 \
822                 $(MAKE) clean &&                                        \
823                 echo -n "Prior $(subdir)/$(DEPDIR) version " &&         \
824                 cat $@ &&                                               \
825                 rm -rf $(DEPDIR) &&                                     \
826                 mkdir $(DEPDIR) &&                                      \
827                 case "$(top_builddir)" in                               \
828                  .)                                                     \
829                     ./config.status Makefile depfiles                   \
830                     ;;                                                  \
831                  ..)                                                    \
832                         cd .. &&                                        \
833                         ./config.status $(subdir)/Makefile depfiles &&  \
834                         cd $(subdir)                                    \
835                     ;;                                                  \
836                  *)                                                     \
837                     echo 'Fatal: depsver.mf Automake fragment limited'  \
838                          'to immediate subdirectories.' &&              \
839                     echo "top_builddir: $(top_builddir)" &&             \
840                     echo "subdir:       $(subdir)" &&                   \
841                     exit 1                                              \
842                     ;;                                                  \
843                 esac &&                                                 \
844                 echo -n "Cleaned $(subdir)/$(DEPDIR) version " &&       \
845                 cat $(top_srcdir)/deps-ver                              \
846         )
847         cp $(top_srcdir)/deps-ver $@
848
849 .deps-ver: $(top_srcdir)/deps-ver
850         @[ ! -d $(DEPDIR) ] || $(MAKE) $(DEPDIR)/deps-ver
851         @touch $@
852
853 #
854 # depsver.mf    included in Makefile.am for directories with .deps
855 #
856 # When building in the same directory with sources that change over
857 # time, such as when tracking using bk, the .deps files can become
858 # stale with respect to moved, deleted, or superceded headers.  Most
859 # commonly, this would exhibit as make reporting a failure to make a
860 # header file which is no longer in the location given.  To address
861 # this issue, we use a deps-ver file which is updated with each change
862 # that breaks old .deps files.  A copy of deps-ver is made into
863 # $(DEPDIR) if not already present.  If $(DEPDIR)/deps-ver is present
864 # with different contents than deps-ver, we make clean to ensure all
865 # .o files built before the incompatible change are rebuilt along with
866 # their updated .deps files, then remove $(DEPDIR) and recreate it as
867 # empty stubs.
868 #
869 # It is normal when configured with --disable-dependency-tracking for
870 # the DEPDIR to not have been created.  For this reason, we use the
871 # intermediate target .deps-ver, which invokes make recursively if
872 # DEPDIR exists.
873 #
874 # If you modify depsver.mf, please make the changes to the master
875 # copy, the one in sntp is copied by the bootstrap script from it.
876 #
877 # This comment block follows rather than leads the related code so that
878 # it stays with it in the generated Makefile.in and Makefile.
879 #
880
881 # Tell versions [3.59,3.63) of GNU make to not export all variables.
882 # Otherwise a system limit (for SysV at least) may be exceeded.
883 .NOEXPORT: