Sync usage with man page.
[netbsd-mini2440.git] / dist / ntp / ntpq / Makefile.in
blob0c5fcaeb684c6f3f86c05dc82fcf90b8591cf457
1 # Makefile.in generated by automake 1.11 from Makefile.am.
2 # @configure_input@
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.
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.
16 @SET_MAKE@
19 VPATH = @srcdir@
20 pkgdatadir = $(datadir)/@PACKAGE@
21 pkgincludedir = $(includedir)/@PACKAGE@
22 pkglibdir = $(libdir)/@PACKAGE@
23 pkglibexecdir = $(libexecdir)/@PACKAGE@
24 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25 install_sh_DATA = $(install_sh) -c -m 644
26 install_sh_PROGRAM = $(install_sh) -c
27 install_sh_SCRIPT = $(install_sh) -c
28 INSTALL_HEADER = $(INSTALL_DATA)
29 transform = $(program_transform_name)
30 NORMAL_INSTALL = :
31 PRE_INSTALL = :
32 POST_INSTALL = :
33 NORMAL_UNINSTALL = :
34 PRE_UNINSTALL = :
35 POST_UNINSTALL = :
36 build_triplet = @build@
37 host_triplet = @host@
38 ANSI2KNR = ../util/ansi2knr
39 bin_PROGRAMS = ntpq$(EXEEXT)
40 subdir = ntpq
41 DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
42 $(srcdir)/Makefile.in
43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44 am__aclocal_m4_deps = $(top_srcdir)/libopts/m4/libopts.m4 \
45 $(top_srcdir)/m4/define_dir.m4 \
46 $(top_srcdir)/m4/hs_ulong_const.m4 \
47 $(top_srcdir)/m4/os_cflags.m4 $(top_srcdir)/version.m4 \
48 $(top_srcdir)/configure.ac
49 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
50 $(ACLOCAL_M4)
51 mkinstalldirs = $(install_sh) -d
52 CONFIG_HEADER = $(top_builddir)/config.h
53 CONFIG_CLEAN_FILES =
54 CONFIG_CLEAN_VPATH_FILES =
55 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
56 PROGRAMS = $(bin_PROGRAMS)
57 am_ntpq_OBJECTS = ntpq$U.$(OBJEXT) ntpq-subs$U.$(OBJEXT) \
58 ntpq-opts$U.$(OBJEXT)
59 ntpq_OBJECTS = $(am_ntpq_OBJECTS)
60 am__DEPENDENCIES_1 =
61 ntpq_DEPENDENCIES = version.o $(am__DEPENDENCIES_1) ../libntp/libntp.a
62 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
63 depcomp = $(SHELL) $(top_srcdir)/depcomp
64 am__depfiles_maybe = depfiles
65 am__mv = mv -f
66 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
67 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
68 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
69 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
70 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
71 CCLD = $(CC)
72 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
73 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
74 $(LDFLAGS) -o $@
75 SOURCES = $(ntpq_SOURCES)
76 DIST_SOURCES = $(ntpq_SOURCES)
77 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
78 am__vpath_adj = case $$p in \
79 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
80 *) f=$$p;; \
81 esac;
82 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
83 am__install_max = 40
84 am__nobase_strip_setup = \
85 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
86 am__nobase_strip = \
87 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
88 am__nobase_list = $(am__nobase_strip_setup); \
89 for p in $$list; do echo "$$p $$p"; done | \
90 sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
91 $(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
92 if (++n[$$2] == $(am__install_max)) \
93 { print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
94 END { for (dir in files) print dir, files[dir] }'
95 am__base_list = \
96 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
97 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
98 man1dir = $(mandir)/man1
99 NROFF = nroff
100 MANS = $(man_MANS)
101 HEADERS = $(noinst_HEADERS)
102 ETAGS = etags
103 CTAGS = ctags
104 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
105 ACLOCAL = @ACLOCAL@
106 AMTAR = @AMTAR@
107 AR = @AR@
108 ARLIB_DIR = @ARLIB_DIR@
109 AUTOCONF = @AUTOCONF@
110 AUTOHEADER = @AUTOHEADER@
111 AUTOMAKE = @AUTOMAKE@
112 AWK = @AWK@
113 BINSUBDIR = @BINSUBDIR@
114 CC = @CC@
115 CCDEPMODE = @CCDEPMODE@
116 CFLAGS = @CFLAGS@
117 CHUTEST = @CHUTEST@
118 CLKTEST = @CLKTEST@
119 CPP = @CPP@
120 CPPFLAGS = @CPPFLAGS@
121 CYGPATH_W = @CYGPATH_W@
122 DCFD = @DCFD@
123 DEFS = @DEFS@
124 DEPDIR = @DEPDIR@
125 ECHO = @ECHO@
126 ECHO_C = @ECHO_C@
127 ECHO_N = @ECHO_N@
128 ECHO_T = @ECHO_T@
129 EF_LIBS = @EF_LIBS@
130 EF_PROGS = @EF_PROGS@
131 EGREP = @EGREP@
132 EXEEXT = @EXEEXT@
133 GREP = @GREP@
134 HAVE_INLINE = @HAVE_INLINE@
135 INSTALL = @INSTALL@
136 INSTALL_DATA = @INSTALL_DATA@
137 INSTALL_PROGRAM = @INSTALL_PROGRAM@
138 INSTALL_SCRIPT = @INSTALL_SCRIPT@
139 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
140 LCRYPTO = @LCRYPTO@
141 LDFLAGS = @LDFLAGS@
142 LIBOBJS = @LIBOBJS@
143 LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
144 LIBOPTS_DIR = @LIBOPTS_DIR@
145 LIBOPTS_LDADD = @LIBOPTS_LDADD@
146 LIBPARSE = @LIBPARSE@
147 LIBS = @LIBS@
148 LIBTOOL = @LIBTOOL@
149 LN_S = @LN_S@
150 LSCF = @LSCF@
151 LTLIBOBJS = @LTLIBOBJS@
152 MAKEINFO = @MAKEINFO@
153 MAKE_ADJTIMED = @MAKE_ADJTIMED@
154 MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
155 MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
156 MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
157 MAKE_LIBPARSE = @MAKE_LIBPARSE@
158 MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
159 MAKE_NTPDSIM = @MAKE_NTPDSIM@
160 MAKE_NTPTIME = @MAKE_NTPTIME@
161 MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
162 MAKE_TICKADJ = @MAKE_TICKADJ@
163 MAKE_TIMETRIM = @MAKE_TIMETRIM@
164 MKDIR_P = @MKDIR_P@
165 OBJEXT = @OBJEXT@
166 OPENSSL = @OPENSSL@
167 OPENSSL_INC = @OPENSSL_INC@
168 OPENSSL_LIB = @OPENSSL_LIB@
169 PACKAGE = @PACKAGE@
170 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
171 PACKAGE_NAME = @PACKAGE_NAME@
172 PACKAGE_STRING = @PACKAGE_STRING@
173 PACKAGE_TARNAME = @PACKAGE_TARNAME@
174 PACKAGE_URL = @PACKAGE_URL@
175 PACKAGE_VERSION = @PACKAGE_VERSION@
176 PATH_PERL = @PATH_PERL@
177 PATH_SEPARATOR = @PATH_SEPARATOR@
178 PATH_SH = @PATH_SH@
179 PROPDELAY = @PROPDELAY@
180 RANLIB = @RANLIB@
181 READLINE_LIBS = @READLINE_LIBS@
182 SET_MAKE = @SET_MAKE@
183 SHELL = @SHELL@
184 STRIP = @STRIP@
185 TESTDCF = @TESTDCF@
186 U = @U@
187 VERSION = @VERSION@
188 abs_builddir = @abs_builddir@
189 abs_srcdir = @abs_srcdir@
190 abs_top_builddir = @abs_top_builddir@
191 abs_top_srcdir = @abs_top_srcdir@
192 ac_ct_CC = @ac_ct_CC@
193 am__include = @am__include@
194 am__leading_dot = @am__leading_dot@
195 am__quote = @am__quote@
196 am__tar = @am__tar@
197 am__untar = @am__untar@
198 bindir = @bindir@
199 build = @build@
200 build_alias = @build_alias@
201 build_cpu = @build_cpu@
202 build_os = @build_os@
203 build_vendor = @build_vendor@
204 builddir = @builddir@
205 datadir = @datadir@
206 datarootdir = @datarootdir@
207 docdir = @docdir@
208 dvidir = @dvidir@
209 exec_prefix = @exec_prefix@
210 host = @host@
211 host_alias = @host_alias@
212 host_cpu = @host_cpu@
213 host_os = @host_os@
214 host_vendor = @host_vendor@
215 htmldir = @htmldir@
216 includedir = @includedir@
217 infodir = @infodir@
218 install_sh = @install_sh@
219 libdir = @libdir@
220 libexecdir = @libexecdir@
221 localedir = @localedir@
222 localstatedir = @localstatedir@
223 mandir = @mandir@
224 mkdir_p = @mkdir_p@
225 oldincludedir = @oldincludedir@
226 pdfdir = @pdfdir@
227 prefix = @prefix@
228 program_transform_name = @program_transform_name@
229 psdir = @psdir@
230 sbindir = @sbindir@
231 sharedstatedir = @sharedstatedir@
232 srcdir = @srcdir@
233 subdirs = @subdirs@
234 sysconfdir = @sysconfdir@
235 target_alias = @target_alias@
236 top_build_prefix = @top_build_prefix@
237 top_builddir = @top_builddir@
238 top_srcdir = @top_srcdir@
239 AUTOMAKE_OPTIONS = ../util/ansi2knr
240 AM_CPPFLAGS = -I$(top_srcdir)/include $(LIBOPTS_CFLAGS)
242 # LDADD might need RESLIB and ADJLIB
243 ntpq_LDADD = version.o @READLINE_LIBS@ $(LIBOPTS_LDADD) ../libntp/libntp.a
244 DISTCLEANFILES = .version version.c
245 noinst_HEADERS = ntpq.h
246 ETAGS_ARGS = Makefile.am
247 EXTRA_DIST = ntpq-opts.def ntpq.1 ntpq-opts.texi ntpq-opts.menu
248 BUILT_SOURCES = ntpq-opts.c ntpq-opts.h ntpq.1 ntpq-opts.texi ntpq-opts.menu
249 man_MANS = ntpq.1
250 run_ag = cd $(srcdir) && autogen -L ../include --writable
251 std_def_list = $(top_srcdir)/include/debug-opt.def \
252 $(top_srcdir)/include/autogen-version.def \
253 $(top_srcdir)/include/copyright.def \
254 $(top_srcdir)/include/homerc.def \
255 $(top_srcdir)/include/version.def
257 ntpq_SOURCES = ntpq.c ntpq-subs.c ntpq-opts.c ntpq-opts.h
258 all: $(BUILT_SOURCES)
259 $(MAKE) $(AM_MAKEFLAGS) all-am
261 .SUFFIXES:
262 .SUFFIXES: .c .lo .o .obj
263 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
264 @for dep in $?; do \
265 case '$(am__configure_deps)' in \
266 *$$dep*) \
267 ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
268 && { if test -f $@; then exit 0; else break; fi; }; \
269 exit 1;; \
270 esac; \
271 done; \
272 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ntpq/Makefile'; \
273 $(am__cd) $(top_srcdir) && \
274 $(AUTOMAKE) --foreign ntpq/Makefile
275 .PRECIOUS: Makefile
276 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
277 @case '$?' in \
278 *config.status*) \
279 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
280 *) \
281 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
282 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
283 esac;
285 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
286 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
288 $(top_srcdir)/configure: $(am__configure_deps)
289 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
290 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
291 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
292 $(am__aclocal_m4_deps):
293 install-binPROGRAMS: $(bin_PROGRAMS)
294 @$(NORMAL_INSTALL)
295 test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
296 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
297 for p in $$list; do echo "$$p $$p"; done | \
298 sed 's/$(EXEEXT)$$//' | \
299 while read p p1; do if test -f $$p || test -f $$p1; \
300 then echo "$$p"; echo "$$p"; else :; fi; \
301 done | \
302 sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
303 -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
304 sed 'N;N;N;s,\n, ,g' | \
305 $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
306 { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
307 if ($$2 == $$4) files[d] = files[d] " " $$1; \
308 else { print "f", $$3 "/" $$4, $$1; } } \
309 END { for (d in files) print "f", d, files[d] }' | \
310 while read type dir files; do \
311 if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
312 test -z "$$files" || { \
313 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
314 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
316 ; done
318 uninstall-binPROGRAMS:
319 @$(NORMAL_UNINSTALL)
320 @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
321 files=`for p in $$list; do echo "$$p"; done | \
322 sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
323 -e 's/$$/$(EXEEXT)/' `; \
324 test -n "$$list" || exit 0; \
325 echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
326 cd "$(DESTDIR)$(bindir)" && rm -f $$files
328 clean-binPROGRAMS:
329 @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
330 echo " rm -f" $$list; \
331 rm -f $$list || exit $$?; \
332 test -n "$(EXEEXT)" || exit 0; \
333 list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
334 echo " rm -f" $$list; \
335 rm -f $$list
336 ntpq$(EXEEXT): $(ntpq_OBJECTS) $(ntpq_DEPENDENCIES)
337 @rm -f ntpq$(EXEEXT)
338 $(LINK) $(ntpq_OBJECTS) $(ntpq_LDADD) $(LIBS)
340 mostlyclean-compile:
341 -rm -f *.$(OBJEXT)
343 distclean-compile:
344 -rm -f *.tab.c
345 ../util/ansi2knr:
346 $(am__cd) ../util && $(MAKE) $(AM_MAKEFLAGS) ./ansi2knr
348 mostlyclean-kr:
349 -test "$U" = "" || rm -f *_.c
351 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpq$U.Po@am__quote@
352 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpq-opts$U.Po@am__quote@
353 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpq-subs$U.Po@am__quote@
355 .c.o:
356 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
357 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
358 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
359 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
360 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
362 .c.obj:
363 @am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
364 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
365 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
366 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
367 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
369 .c.lo:
370 @am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
371 @am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
372 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
373 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
374 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
375 ntpq_.c: ntpq.c $(ANSI2KNR)
376 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq.c; then echo $(srcdir)/ntpq.c; else echo ntpq.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
377 ntpq-opts_.c: ntpq-opts.c $(ANSI2KNR)
378 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq-opts.c; then echo $(srcdir)/ntpq-opts.c; else echo ntpq-opts.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
379 ntpq-subs_.c: ntpq-subs.c $(ANSI2KNR)
380 $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq-subs.c; then echo $(srcdir)/ntpq-subs.c; else echo ntpq-subs.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
381 ntpq_.$(OBJEXT) ntpq_.lo ntpq-opts_.$(OBJEXT) ntpq-opts_.lo \
382 ntpq-subs_.$(OBJEXT) ntpq-subs_.lo : $(ANSI2KNR)
384 mostlyclean-libtool:
385 -rm -f *.lo
387 clean-libtool:
388 -rm -rf .libs _libs
389 install-man1: $(man_MANS)
390 @$(NORMAL_INSTALL)
391 test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
392 @list=''; test -n "$(man1dir)" || exit 0; \
393 { for i in $$list; do echo "$$i"; done; \
394 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
395 sed -n '/\.1[a-z]*$$/p'; \
396 } | while read p; do \
397 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
398 echo "$$d$$p"; echo "$$p"; \
399 done | \
400 sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
401 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
402 sed 'N;N;s,\n, ,g' | { \
403 list=; while read file base inst; do \
404 if test "$$base" = "$$inst"; then list="$$list $$file"; else \
405 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
406 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
407 fi; \
408 done; \
409 for i in $$list; do echo "$$i"; done | $(am__base_list) | \
410 while read files; do \
411 test -z "$$files" || { \
412 echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
413 $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
414 done; }
416 uninstall-man1:
417 @$(NORMAL_UNINSTALL)
418 @list=''; test -n "$(man1dir)" || exit 0; \
419 files=`{ for i in $$list; do echo "$$i"; done; \
420 l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
421 sed -n '/\.1[a-z]*$$/p'; \
422 } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
423 -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
424 test -z "$$files" || { \
425 echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
426 cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
428 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
429 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
430 unique=`for i in $$list; do \
431 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
432 done | \
433 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
434 END { if (nonempty) { for (i in files) print i; }; }'`; \
435 mkid -fID $$unique
436 tags: TAGS
438 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
439 $(TAGS_FILES) $(LISP)
440 set x; \
441 here=`pwd`; \
442 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
443 unique=`for i in $$list; do \
444 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
445 done | \
446 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
447 END { if (nonempty) { for (i in files) print i; }; }'`; \
448 shift; \
449 if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
450 test -n "$$unique" || unique=$$empty_fix; \
451 if test $$# -gt 0; then \
452 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
453 "$$@" $$unique; \
454 else \
455 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
456 $$unique; \
457 fi; \
459 ctags: CTAGS
460 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
461 $(TAGS_FILES) $(LISP)
462 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
463 unique=`for i in $$list; do \
464 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
465 done | \
466 $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
467 END { if (nonempty) { for (i in files) print i; }; }'`; \
468 test -z "$(CTAGS_ARGS)$$unique" \
469 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
470 $$unique
472 GTAGS:
473 here=`$(am__cd) $(top_builddir) && pwd` \
474 && $(am__cd) $(top_srcdir) \
475 && gtags -i $(GTAGS_ARGS) "$$here"
477 distclean-tags:
478 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
480 distdir: $(DISTFILES)
481 @list='$(MANS)'; if test -n "$$list"; then \
482 list=`for p in $$list; do \
483 if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
484 if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
485 if test -n "$$list" && \
486 grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
487 echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
488 grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
489 echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
490 echo " typically \`make maintainer-clean' will remove them" >&2; \
491 exit 1; \
492 else :; fi; \
493 else :; fi
494 @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
495 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
496 list='$(DISTFILES)'; \
497 dist_files=`for file in $$list; do echo $$file; done | \
498 sed -e "s|^$$srcdirstrip/||;t" \
499 -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
500 case $$dist_files in \
501 */*) $(MKDIR_P) `echo "$$dist_files" | \
502 sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
503 sort -u` ;; \
504 esac; \
505 for file in $$dist_files; do \
506 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
507 if test -d $$d/$$file; then \
508 dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
509 if test -d "$(distdir)/$$file"; then \
510 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
511 fi; \
512 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
513 cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
514 find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
515 fi; \
516 cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
517 else \
518 test -f "$(distdir)/$$file" \
519 || cp -p $$d/$$file "$(distdir)/$$file" \
520 || exit 1; \
521 fi; \
522 done
523 check-am: all-am
524 check: $(BUILT_SOURCES)
525 $(MAKE) $(AM_MAKEFLAGS) check-am
526 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
527 installdirs:
528 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
529 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
530 done
531 install: $(BUILT_SOURCES)
532 $(MAKE) $(AM_MAKEFLAGS) install-am
533 install-exec: install-exec-am
534 install-data: install-data-am
535 uninstall: uninstall-am
537 install-am: all-am
538 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
540 installcheck: installcheck-am
541 install-strip:
542 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
543 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
544 `test -z '$(STRIP)' || \
545 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
546 mostlyclean-generic:
548 clean-generic:
550 distclean-generic:
551 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
552 -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
553 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
555 maintainer-clean-generic:
556 @echo "This command is intended for maintainers to use"
557 @echo "it deletes files that may require special tools to rebuild."
558 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
559 clean: clean-am
561 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
563 distclean: distclean-am
564 -rm -rf ./$(DEPDIR)
565 -rm -f Makefile
566 distclean-am: clean-am distclean-compile distclean-generic \
567 distclean-tags
569 dvi: dvi-am
571 dvi-am:
573 html: html-am
575 html-am:
577 info: info-am
579 info-am:
581 install-data-am: install-man
583 install-dvi: install-dvi-am
585 install-dvi-am:
587 install-exec-am: install-binPROGRAMS
589 install-html: install-html-am
591 install-html-am:
593 install-info: install-info-am
595 install-info-am:
597 install-man: install-man1
599 install-pdf: install-pdf-am
601 install-pdf-am:
603 install-ps: install-ps-am
605 install-ps-am:
607 installcheck-am:
609 maintainer-clean: maintainer-clean-am
610 -rm -rf ./$(DEPDIR)
611 -rm -f Makefile
612 maintainer-clean-am: distclean-am maintainer-clean-generic
614 mostlyclean: mostlyclean-am
616 mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
617 mostlyclean-libtool
619 pdf: pdf-am
621 pdf-am:
623 ps: ps-am
625 ps-am:
627 uninstall-am: uninstall-binPROGRAMS uninstall-man
629 uninstall-man: uninstall-man1
631 .MAKE: ../util/ansi2knr all check install install-am install-strip
633 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
634 clean-generic clean-libtool ctags distclean distclean-compile \
635 distclean-generic distclean-libtool distclean-tags distdir dvi \
636 dvi-am html html-am info info-am install install-am \
637 install-binPROGRAMS install-data install-data-am install-dvi \
638 install-dvi-am install-exec install-exec-am install-html \
639 install-html-am install-info install-info-am install-man \
640 install-man1 install-pdf install-pdf-am install-ps \
641 install-ps-am install-strip installcheck installcheck-am \
642 installdirs maintainer-clean maintainer-clean-generic \
643 mostlyclean mostlyclean-compile mostlyclean-generic \
644 mostlyclean-kr mostlyclean-libtool pdf pdf-am ps ps-am tags \
645 uninstall uninstall-am uninstall-binPROGRAMS uninstall-man \
646 uninstall-man1
649 $(srcdir)/ntpq-opts.h: $(srcdir)/ntpq-opts.c
650 $(srcdir)/ntpq-opts.c: $(srcdir)/ntpq-opts.def $(std_def_list)
651 $(run_ag) ntpq-opts.def
653 $(srcdir)/ntpq.1: $(srcdir)/ntpq-opts.def $(std_def_list)
654 $(run_ag) -Tagman1.tpl -bntpq ntpq-opts.def
656 $(srcdir)/ntpq-opts.texi $(srcdir)/ntpq-opts.menu: $(srcdir)/ntpq-opts.def $(std_def_list)
657 $(run_ag) -Taginfo.tpl -DLEVEL=section ntpq-opts.def
659 $(PROGRAMS): $(LDADD)
661 ../libntp/libntp.a:
662 cd ../libntp && $(MAKE)
664 $(top_srcdir)/version :
665 cd $(top_srcdir) && $(MAKE) version
667 version.o: $(ntpq_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
668 env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpq
669 $(COMPILE) -c version.c
671 # Tell versions [3.59,3.63) of GNU make to not export all variables.
672 # Otherwise a system limit (for SysV at least) may be exceeded.
673 .NOEXPORT: