xref: /freebsd/contrib/ntp/ntpq/Makefile.in (revision 8d20be1e22095c27faf8fe8b2f0d089739cc742e)
1# Makefile.in generated by automake 1.11 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
19VPATH = @srcdir@
20pkgdatadir = $(datadir)/@PACKAGE@
21pkgincludedir = $(includedir)/@PACKAGE@
22pkglibdir = $(libdir)/@PACKAGE@
23pkglibexecdir = $(libexecdir)/@PACKAGE@
24am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
25install_sh_DATA = $(install_sh) -c -m 644
26install_sh_PROGRAM = $(install_sh) -c
27install_sh_SCRIPT = $(install_sh) -c
28INSTALL_HEADER = $(INSTALL_DATA)
29transform = $(program_transform_name)
30NORMAL_INSTALL = :
31PRE_INSTALL = :
32POST_INSTALL = :
33NORMAL_UNINSTALL = :
34PRE_UNINSTALL = :
35POST_UNINSTALL = :
36build_triplet = @build@
37host_triplet = @host@
38ANSI2KNR = ../util/ansi2knr
39bin_PROGRAMS = ntpq$(EXEEXT)
40subdir = ntpq
41DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
42	$(srcdir)/Makefile.in
43ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
44am__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
49am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
50	$(ACLOCAL_M4)
51mkinstalldirs = $(install_sh) -d
52CONFIG_HEADER = $(top_builddir)/config.h
53CONFIG_CLEAN_FILES =
54CONFIG_CLEAN_VPATH_FILES =
55am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
56PROGRAMS = $(bin_PROGRAMS)
57am_ntpq_OBJECTS = ntpq$U.$(OBJEXT) ntpq-subs$U.$(OBJEXT) \
58	ntpq-opts$U.$(OBJEXT)
59ntpq_OBJECTS = $(am_ntpq_OBJECTS)
60am__DEPENDENCIES_1 =
61ntpq_DEPENDENCIES = version.o $(am__DEPENDENCIES_1) ../libntp/libntp.a
62DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
63depcomp = $(SHELL) $(top_srcdir)/depcomp
64am__depfiles_maybe = depfiles
65am__mv = mv -f
66COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
67	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
68LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
69	--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
70	$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
71CCLD = $(CC)
72LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
73	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
74	$(LDFLAGS) -o $@
75SOURCES = $(ntpq_SOURCES)
76DIST_SOURCES = $(ntpq_SOURCES)
77am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
78am__vpath_adj = case $$p in \
79    $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
80    *) f=$$p;; \
81  esac;
82am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
83am__install_max = 40
84am__nobase_strip_setup = \
85  srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
86am__nobase_strip = \
87  for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
88am__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] }'
95am__base_list = \
96  sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
97  sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
98man1dir = $(mandir)/man1
99NROFF = nroff
100MANS = $(man_MANS)
101HEADERS = $(noinst_HEADERS)
102ETAGS = etags
103CTAGS = ctags
104DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
105ACLOCAL = @ACLOCAL@
106AMTAR = @AMTAR@
107AR = @AR@
108ARLIB_DIR = @ARLIB_DIR@
109AUTOCONF = @AUTOCONF@
110AUTOHEADER = @AUTOHEADER@
111AUTOMAKE = @AUTOMAKE@
112AWK = @AWK@
113BINSUBDIR = @BINSUBDIR@
114CC = @CC@
115CCDEPMODE = @CCDEPMODE@
116CFLAGS = @CFLAGS@
117CHUTEST = @CHUTEST@
118CLKTEST = @CLKTEST@
119CPP = @CPP@
120CPPFLAGS = @CPPFLAGS@
121CYGPATH_W = @CYGPATH_W@
122DCFD = @DCFD@
123DEFS = @DEFS@
124DEPDIR = @DEPDIR@
125ECHO = @ECHO@
126ECHO_C = @ECHO_C@
127ECHO_N = @ECHO_N@
128ECHO_T = @ECHO_T@
129EF_LIBS = @EF_LIBS@
130EF_PROGS = @EF_PROGS@
131EGREP = @EGREP@
132EXEEXT = @EXEEXT@
133GREP = @GREP@
134HAVE_INLINE = @HAVE_INLINE@
135INSTALL = @INSTALL@
136INSTALL_DATA = @INSTALL_DATA@
137INSTALL_PROGRAM = @INSTALL_PROGRAM@
138INSTALL_SCRIPT = @INSTALL_SCRIPT@
139INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
140LCRYPTO = @LCRYPTO@
141LDFLAGS = @LDFLAGS@
142LIBOBJS = @LIBOBJS@
143LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
144LIBOPTS_DIR = @LIBOPTS_DIR@
145LIBOPTS_LDADD = @LIBOPTS_LDADD@
146LIBPARSE = @LIBPARSE@
147LIBS = @LIBS@
148LIBTOOL = @LIBTOOL@
149LN_S = @LN_S@
150LSCF = @LSCF@
151LTLIBOBJS = @LTLIBOBJS@
152MAKEINFO = @MAKEINFO@
153MAKE_ADJTIMED = @MAKE_ADJTIMED@
154MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
155MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
156MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
157MAKE_LIBPARSE = @MAKE_LIBPARSE@
158MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
159MAKE_NTPDSIM = @MAKE_NTPDSIM@
160MAKE_NTPTIME = @MAKE_NTPTIME@
161MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
162MAKE_TICKADJ = @MAKE_TICKADJ@
163MAKE_TIMETRIM = @MAKE_TIMETRIM@
164MKDIR_P = @MKDIR_P@
165OBJEXT = @OBJEXT@
166OPENSSL = @OPENSSL@
167OPENSSL_INC = @OPENSSL_INC@
168OPENSSL_LIB = @OPENSSL_LIB@
169PACKAGE = @PACKAGE@
170PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
171PACKAGE_NAME = @PACKAGE_NAME@
172PACKAGE_STRING = @PACKAGE_STRING@
173PACKAGE_TARNAME = @PACKAGE_TARNAME@
174PACKAGE_URL = @PACKAGE_URL@
175PACKAGE_VERSION = @PACKAGE_VERSION@
176PATH_PERL = @PATH_PERL@
177PATH_SEPARATOR = @PATH_SEPARATOR@
178PATH_SH = @PATH_SH@
179PROPDELAY = @PROPDELAY@
180RANLIB = @RANLIB@
181READLINE_LIBS = @READLINE_LIBS@
182SET_MAKE = @SET_MAKE@
183SHELL = @SHELL@
184STRIP = @STRIP@
185TESTDCF = @TESTDCF@
186U = @U@
187VERSION = @VERSION@
188abs_builddir = @abs_builddir@
189abs_srcdir = @abs_srcdir@
190abs_top_builddir = @abs_top_builddir@
191abs_top_srcdir = @abs_top_srcdir@
192ac_ct_CC = @ac_ct_CC@
193am__include = @am__include@
194am__leading_dot = @am__leading_dot@
195am__quote = @am__quote@
196am__tar = @am__tar@
197am__untar = @am__untar@
198bindir = @bindir@
199build = @build@
200build_alias = @build_alias@
201build_cpu = @build_cpu@
202build_os = @build_os@
203build_vendor = @build_vendor@
204builddir = @builddir@
205datadir = @datadir@
206datarootdir = @datarootdir@
207docdir = @docdir@
208dvidir = @dvidir@
209exec_prefix = @exec_prefix@
210host = @host@
211host_alias = @host_alias@
212host_cpu = @host_cpu@
213host_os = @host_os@
214host_vendor = @host_vendor@
215htmldir = @htmldir@
216includedir = @includedir@
217infodir = @infodir@
218install_sh = @install_sh@
219libdir = @libdir@
220libexecdir = @libexecdir@
221localedir = @localedir@
222localstatedir = @localstatedir@
223mandir = @mandir@
224mkdir_p = @mkdir_p@
225oldincludedir = @oldincludedir@
226pdfdir = @pdfdir@
227prefix = @prefix@
228program_transform_name = @program_transform_name@
229psdir = @psdir@
230sbindir = @sbindir@
231sharedstatedir = @sharedstatedir@
232srcdir = @srcdir@
233subdirs = @subdirs@
234sysconfdir = @sysconfdir@
235target_alias = @target_alias@
236top_build_prefix = @top_build_prefix@
237top_builddir = @top_builddir@
238top_srcdir = @top_srcdir@
239AUTOMAKE_OPTIONS = ../util/ansi2knr
240AM_CPPFLAGS = -I$(top_srcdir)/include $(LIBOPTS_CFLAGS)
241
242# LDADD might need RESLIB and ADJLIB
243ntpq_LDADD = version.o @READLINE_LIBS@ $(LIBOPTS_LDADD) ../libntp/libntp.a
244DISTCLEANFILES = .version version.c
245noinst_HEADERS = ntpq.h
246ETAGS_ARGS = Makefile.am
247EXTRA_DIST = ntpq-opts.def ntpq.1 ntpq-opts.texi ntpq-opts.menu
248BUILT_SOURCES = ntpq-opts.c ntpq-opts.h ntpq.1 ntpq-opts.texi ntpq-opts.menu
249man_MANS = ntpq.1
250run_ag = cd $(srcdir) && autogen -L ../include --writable
251std_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
256
257ntpq_SOURCES = ntpq.c ntpq-subs.c ntpq-opts.c ntpq-opts.h
258all: $(BUILT_SOURCES)
259	$(MAKE) $(AM_MAKEFLAGS) all-am
260
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
276Makefile: $(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;
284
285$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
286	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
287
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):
293install-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 $$?; \
315	    } \
316	; done
317
318uninstall-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
327
328clean-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
336ntpq$(EXEEXT): $(ntpq_OBJECTS) $(ntpq_DEPENDENCIES)
337	@rm -f ntpq$(EXEEXT)
338	$(LINK) $(ntpq_OBJECTS) $(ntpq_LDADD) $(LIBS)
339
340mostlyclean-compile:
341	-rm -f *.$(OBJEXT)
342
343distclean-compile:
344	-rm -f *.tab.c
345../util/ansi2knr:
346	$(am__cd) ../util && $(MAKE) $(AM_MAKEFLAGS) ./ansi2knr
347
348mostlyclean-kr:
349	-test "$U" = "" || rm -f *_.c
350
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@
354
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 $<
361
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) '$<'`
368
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 $@ $<
375ntpq_.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 $@
377ntpq-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 $@
379ntpq-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 $@
381ntpq_.$(OBJEXT) ntpq_.lo ntpq-opts_.$(OBJEXT) ntpq-opts_.lo \
382ntpq-subs_.$(OBJEXT) ntpq-subs_.lo : $(ANSI2KNR)
383
384mostlyclean-libtool:
385	-rm -f *.lo
386
387clean-libtool:
388	-rm -rf .libs _libs
389install-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; }
415
416uninstall-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; }
427
428ID: $(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
436tags: TAGS
437
438TAGS:  $(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; \
458	fi
459ctags: CTAGS
460CTAGS:  $(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
471
472GTAGS:
473	here=`$(am__cd) $(top_builddir) && pwd` \
474	  && $(am__cd) $(top_srcdir) \
475	  && gtags -i $(GTAGS_ARGS) "$$here"
476
477distclean-tags:
478	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
479
480distdir: $(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
523check-am: all-am
524check: $(BUILT_SOURCES)
525	$(MAKE) $(AM_MAKEFLAGS) check-am
526all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
527installdirs:
528	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
529	  test -z "$$dir" || $(MKDIR_P) "$$dir"; \
530	done
531install: $(BUILT_SOURCES)
532	$(MAKE) $(AM_MAKEFLAGS) install-am
533install-exec: install-exec-am
534install-data: install-data-am
535uninstall: uninstall-am
536
537install-am: all-am
538	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
539
540installcheck: installcheck-am
541install-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
546mostlyclean-generic:
547
548clean-generic:
549
550distclean-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)
554
555maintainer-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)
559clean: clean-am
560
561clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
562
563distclean: distclean-am
564	-rm -rf ./$(DEPDIR)
565	-rm -f Makefile
566distclean-am: clean-am distclean-compile distclean-generic \
567	distclean-tags
568
569dvi: dvi-am
570
571dvi-am:
572
573html: html-am
574
575html-am:
576
577info: info-am
578
579info-am:
580
581install-data-am: install-man
582
583install-dvi: install-dvi-am
584
585install-dvi-am:
586
587install-exec-am: install-binPROGRAMS
588
589install-html: install-html-am
590
591install-html-am:
592
593install-info: install-info-am
594
595install-info-am:
596
597install-man: install-man1
598
599install-pdf: install-pdf-am
600
601install-pdf-am:
602
603install-ps: install-ps-am
604
605install-ps-am:
606
607installcheck-am:
608
609maintainer-clean: maintainer-clean-am
610	-rm -rf ./$(DEPDIR)
611	-rm -f Makefile
612maintainer-clean-am: distclean-am maintainer-clean-generic
613
614mostlyclean: mostlyclean-am
615
616mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
617	mostlyclean-libtool
618
619pdf: pdf-am
620
621pdf-am:
622
623ps: ps-am
624
625ps-am:
626
627uninstall-am: uninstall-binPROGRAMS uninstall-man
628
629uninstall-man: uninstall-man1
630
631.MAKE: ../util/ansi2knr all check install install-am install-strip
632
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
647
648
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
652
653$(srcdir)/ntpq.1: $(srcdir)/ntpq-opts.def $(std_def_list)
654	$(run_ag) -Tagman1.tpl -bntpq ntpq-opts.def
655
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
658
659$(PROGRAMS): $(LDADD)
660
661../libntp/libntp.a:
662	cd ../libntp && $(MAKE)
663
664$(top_srcdir)/version :
665	cd $(top_srcdir) && $(MAKE) version
666
667version.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
670
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:
674