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