Patrick Welche <prlw1@cam.ac.uk>
[netbsd-mini2440.git] / external / bsd / ntp / dist / ntpsnmpd / Makefile.in
blob62ee538b7c54a38ee6a72c5b4b864aeda5ca7992
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@
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.
23 VPATH = @srcdir@
24 pkgdatadir = $(datadir)/@PACKAGE@
25 pkgincludedir = $(includedir)/@PACKAGE@
26 pkglibdir = $(libdir)/@PACKAGE@
27 pkglibexecdir = $(libexecdir)/@PACKAGE@
28 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
29 install_sh_DATA = $(install_sh) -c -m 644
30 install_sh_PROGRAM = $(install_sh) -c
31 install_sh_SCRIPT = $(install_sh) -c
32 INSTALL_HEADER = $(INSTALL_DATA)
33 transform = $(program_transform_name)
34 NORMAL_INSTALL = :
35 PRE_INSTALL = :
36 POST_INSTALL = :
37 NORMAL_UNINSTALL = :
38 PRE_UNINSTALL = :
39 POST_UNINSTALL = :
40 build_triplet = @build@
41 host_triplet = @host@
42 EXTRA_PROGRAMS = ntpsnmpd$(EXEEXT)
43 DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
44 $(srcdir)/Makefile.in $(top_srcdir)/bincheck.mf \
45 $(top_srcdir)/depsver.mf
46 subdir = ntpsnmpd
47 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
48 am__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
56 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
57 $(ACLOCAL_M4)
58 mkinstalldirs = $(install_sh) -d
59 CONFIG_HEADER = $(top_builddir)/config.h
60 CONFIG_CLEAN_FILES =
61 CONFIG_CLEAN_VPATH_FILES =
62 am__installdirs = "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)"
63 PROGRAMS = $(sbin_PROGRAMS)
64 am_ntpsnmpd_OBJECTS = netsnmp_daemonize.$(OBJEXT) ntpsnmpd.$(OBJEXT) \
65 ntpSnmpSubagentObject.$(OBJEXT) ntpsnmpd-opts.$(OBJEXT)
66 ntpsnmpd_OBJECTS = $(am_ntpsnmpd_OBJECTS)
67 ntpsnmpd_LDADD = $(LDADD)
68 am__DEPENDENCIES_1 =
69 ntpsnmpd_DEPENDENCIES = ../ntpq/libntpq.a ../libntp/libntp.a \
70 $(am__DEPENDENCIES_1)
71 DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
72 depcomp = $(SHELL) $(top_srcdir)/depcomp
73 am__depfiles_maybe = depfiles
74 am__mv = mv -f
75 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
76 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
77 LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
78 --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
79 $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
80 CCLD = $(CC)
81 LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
82 --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
83 $(LDFLAGS) -o $@
84 SOURCES = $(ntpsnmpd_SOURCES)
85 DIST_SOURCES = $(ntpsnmpd_SOURCES)
86 am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
87 am__vpath_adj = case $$p in \
88 $(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
89 *) f=$$p;; \
90 esac;
91 am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
92 am__install_max = 40
93 am__nobase_strip_setup = \
94 srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
95 am__nobase_strip = \
96 for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
97 am__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] }'
104 am__base_list = \
105 sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
106 sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
107 man1dir = $(mandir)/man1
108 NROFF = nroff
109 MANS = $(man_MANS)
110 HEADERS = $(noinst_HEADERS)
111 ETAGS = etags
112 CTAGS = ctags
113 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
114 ACLOCAL = @ACLOCAL@
115 AMTAR = @AMTAR@
116 AR = @AR@
117 ARLIB_DIR = @ARLIB_DIR@
118 AUTOCONF = @AUTOCONF@
119 AUTOHEADER = @AUTOHEADER@
120 AUTOMAKE = @AUTOMAKE@
121 AWK = @AWK@
122 BINSUBDIR = @BINSUBDIR@
123 CC = @CC@
124 CCDEPMODE = @CCDEPMODE@
125 CFLAGS = @CFLAGS@
126 CHUTEST = @CHUTEST@
127 CLKTEST = @CLKTEST@
128 CPP = @CPP@
129 CPPFLAGS = @CPPFLAGS@
130 CYGPATH_W = @CYGPATH_W@
131 DCFD = @DCFD@
132 DEFS = @DEFS@
133 DEPDIR = @DEPDIR@
134 ECHO = @ECHO@
135 ECHO_C = @ECHO_C@
136 ECHO_N = @ECHO_N@
137 ECHO_T = @ECHO_T@
138 EDITLINE_LIBS = @EDITLINE_LIBS@
139 EF_LIBS = @EF_LIBS@
140 EF_PROGS = @EF_PROGS@
141 EGREP = @EGREP@
142 EXEEXT = @EXEEXT@
143 GREP = @GREP@
144 HAVE_INLINE = @HAVE_INLINE@
145 INSTALL = @INSTALL@
146 INSTALL_DATA = @INSTALL_DATA@
147 INSTALL_PROGRAM = @INSTALL_PROGRAM@
148 INSTALL_SCRIPT = @INSTALL_SCRIPT@
149 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
150 LCRYPTO = @LCRYPTO@
151 LDFLAGS = @LDFLAGS@
152 LIBOBJS = @LIBOBJS@
153 LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
154 LIBOPTS_DIR = @LIBOPTS_DIR@
155 LIBOPTS_LDADD = @LIBOPTS_LDADD@
156 LIBPARSE = @LIBPARSE@
157 LIBS = @LIBS@
158 LIBTOOL = @LIBTOOL@
159 LN_S = @LN_S@
160 LSCF = @LSCF@
161 LTLIBOBJS = @LTLIBOBJS@
162 MAKEINFO = @MAKEINFO@
163 MAKE_ADJTIMED = @MAKE_ADJTIMED@
164 MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
165 MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
166 MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
167 MAKE_LIBPARSE = @MAKE_LIBPARSE@
168 MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
169 MAKE_NTPDSIM = @MAKE_NTPDSIM@
170 MAKE_NTPSNMPD = @MAKE_NTPSNMPD@
171 MAKE_NTPTIME = @MAKE_NTPTIME@
172 MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
173 MAKE_TICKADJ = @MAKE_TICKADJ@
174 MAKE_TIMETRIM = @MAKE_TIMETRIM@
175 MKDIR_P = @MKDIR_P@
176 OBJEXT = @OBJEXT@
177 OPENSSL = @OPENSSL@
178 OPENSSL_INC = @OPENSSL_INC@
179 OPENSSL_LIB = @OPENSSL_LIB@
180 PACKAGE = @PACKAGE@
181 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
182 PACKAGE_NAME = @PACKAGE_NAME@
183 PACKAGE_STRING = @PACKAGE_STRING@
184 PACKAGE_TARNAME = @PACKAGE_TARNAME@
185 PACKAGE_URL = @PACKAGE_URL@
186 PACKAGE_VERSION = @PACKAGE_VERSION@
187 PATH_NET_SNMP_CONFIG = @PATH_NET_SNMP_CONFIG@
188 PATH_PERL = @PATH_PERL@
189 PATH_SEPARATOR = @PATH_SEPARATOR@
190 PATH_SH = @PATH_SH@
191 PROPDELAY = @PROPDELAY@
192 RANLIB = @RANLIB@
193 SET_MAKE = @SET_MAKE@
194 SHELL = @SHELL@
195 SNMP_CFLAGS = @SNMP_CFLAGS@
196 SNMP_CPPFLAGS = @SNMP_CPPFLAGS@
197 SNMP_LIBS = @SNMP_LIBS@
198 STRIP = @STRIP@
199 TESTDCF = @TESTDCF@
200 VERSION = @VERSION@
201 YACC = @YACC@
202 YFLAGS = @YFLAGS@
203 abs_builddir = @abs_builddir@
204 abs_srcdir = @abs_srcdir@
205 abs_top_builddir = @abs_top_builddir@
206 abs_top_srcdir = @abs_top_srcdir@
207 ac_ct_CC = @ac_ct_CC@
208 am__include = @am__include@
209 am__leading_dot = @am__leading_dot@
210 am__quote = @am__quote@
211 am__tar = @am__tar@
212 am__untar = @am__untar@
213 bindir = @bindir@
214 build = @build@
215 build_alias = @build_alias@
216 build_cpu = @build_cpu@
217 build_os = @build_os@
218 build_vendor = @build_vendor@
219 builddir = @builddir@
220 datadir = @datadir@
221 datarootdir = @datarootdir@
222 docdir = @docdir@
223 dvidir = @dvidir@
224 exec_prefix = @exec_prefix@
225 host = @host@
226 host_alias = @host_alias@
227 host_cpu = @host_cpu@
228 host_os = @host_os@
229 host_vendor = @host_vendor@
230 htmldir = @htmldir@
231 includedir = @includedir@
232 infodir = @infodir@
233 install_sh = @install_sh@
234 libdir = @libdir@
235 libexecdir = @libexecdir@
236 localedir = @localedir@
237 localstatedir = @localstatedir@
238 mandir = @mandir@
239 mkdir_p = @mkdir_p@
240 oldincludedir = @oldincludedir@
241 pdfdir = @pdfdir@
242 prefix = @prefix@
243 program_transform_name = @program_transform_name@
244 psdir = @psdir@
245 sbindir = @sbindir@
246 sharedstatedir = @sharedstatedir@
247 srcdir = @srcdir@
248 subdirs = @subdirs@
249 sysconfdir = @sysconfdir@
250 target_alias = @target_alias@
251 top_build_prefix = @top_build_prefix@
252 top_builddir = @top_builddir@
253 top_srcdir = @top_srcdir@
254 NULL =
255 AUTOMAKE_OPTIONS =
256 sbin_PROGRAMS = @MAKE_NTPSNMPD@
257 ntpsnmpd_SOURCES = netsnmp_daemonize.c ntpsnmpd.c ntpSnmpSubagentObject.c \
258 ntpsnmpd-opts.c ntpsnmpd-opts.h
260 noinst_HEADERS = ntpSnmpSubagentObject.h
261 # HMS: we probably want a version.o file here, too.
262 LDADD = ../ntpq/libntpq.a ../libntp/libntp.a @SNMP_LIBS@ \
263 $(LIBOPTS_LDADD)
265 AM_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@
271 AM_CFLAGS = @SNMP_CFLAGS@
272 EXTRA_DIST = ntpsnmpd-opts.def ntpsnmpd.1 ntpsnmpd-opts.texi \
273 ntpsnmpd-opts.menu ntpv4-mib.mib
275 BUILT_SOURCES = ntpsnmpd-opts.c ntpsnmpd-opts.h ntpsnmpd.1 \
276 ntpsnmpd-opts.texi ntpsnmpd-opts.menu .deps-ver
277 CLEANFILES = .deps-ver
278 man_MANS = ntpsnmpd.1
279 run_ag = cd $(srcdir) && \
280 env PATH="$(abs_builddir):$(PATH)" \
281 autogen -L ../include --writable
283 std_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
288 all: $(BUILT_SOURCES)
289 $(MAKE) $(AM_MAKEFLAGS) all-am
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
306 Makefile: $(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;
315 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
316 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
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):
323 install-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 $$?; \
346 ; done
348 uninstall-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
358 clean-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
366 ntpsnmpd$(EXEEXT): $(ntpsnmpd_OBJECTS) $(ntpsnmpd_DEPENDENCIES)
367 @rm -f ntpsnmpd$(EXEEXT)
368 $(LINK) $(ntpsnmpd_OBJECTS) $(ntpsnmpd_LDADD) $(LIBS)
370 mostlyclean-compile:
371 -rm -f *.$(OBJEXT)
373 distclean-compile:
374 -rm -f *.tab.c
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@
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 $<
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) '$<'`
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 $@ $<
402 mostlyclean-libtool:
403 -rm -f *.lo
405 clean-libtool:
406 -rm -rf .libs _libs
407 install-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; }
434 uninstall-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; }
446 ID: $(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
454 tags: TAGS
456 TAGS: $(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; \
477 ctags: CTAGS
478 CTAGS: $(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
490 GTAGS:
491 here=`$(am__cd) $(top_builddir) && pwd` \
492 && $(am__cd) $(top_srcdir) \
493 && gtags -i $(GTAGS_ARGS) "$$here"
495 distclean-tags:
496 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
498 distdir: $(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
541 check-am: all-am
542 check: $(BUILT_SOURCES)
543 $(MAKE) $(AM_MAKEFLAGS) check-am
544 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
545 installdirs:
546 for dir in "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)"; do \
547 test -z "$$dir" || $(MKDIR_P) "$$dir"; \
548 done
549 install: $(BUILT_SOURCES)
550 $(MAKE) $(AM_MAKEFLAGS) install-am
551 install-exec: install-exec-am
552 install-data: install-data-am
553 uninstall: uninstall-am
555 install-am: all-am
556 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
558 installcheck: installcheck-am
559 install-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
564 mostlyclean-generic:
566 clean-generic:
567 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
569 distclean-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)
573 maintainer-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)
577 clean: clean-am
579 clean-am: clean-generic clean-libtool clean-sbinPROGRAMS \
580 mostlyclean-am
582 distclean: distclean-am
583 -rm -rf ./$(DEPDIR)
584 -rm -f Makefile
585 distclean-am: clean-am distclean-compile distclean-generic \
586 distclean-tags
588 dvi: dvi-am
590 dvi-am:
592 html: html-am
594 html-am:
596 info: info-am
598 info-am:
600 install-data-am: install-man
602 install-dvi: install-dvi-am
604 install-dvi-am:
606 install-exec-am: install-sbinPROGRAMS
607 @$(NORMAL_INSTALL)
608 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
609 install-html: install-html-am
611 install-html-am:
613 install-info: install-info-am
615 install-info-am:
617 install-man: install-man1
619 install-pdf: install-pdf-am
621 install-pdf-am:
623 install-ps: install-ps-am
625 install-ps-am:
627 installcheck-am:
629 maintainer-clean: maintainer-clean-am
630 -rm -rf ./$(DEPDIR)
631 -rm -f Makefile
632 maintainer-clean-am: distclean-am maintainer-clean-generic
634 mostlyclean: mostlyclean-am
636 mostlyclean-am: mostlyclean-compile mostlyclean-generic \
637 mostlyclean-libtool
639 pdf: pdf-am
641 pdf-am:
643 ps: ps-am
645 ps-am:
647 uninstall-am: uninstall-man uninstall-sbinPROGRAMS
649 uninstall-man: uninstall-man1
651 .MAKE: all check install install-am install-exec-am install-strip
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
669 $(srcdir)/ntpsnmpd-opts.h: $(srcdir)/ntpsnmpd-opts.c
670 @: do-nothing action to avoid default SCCS get, .h built with .c
672 $(srcdir)/ntpsnmpd-opts.c: $(srcdir)/ntpsnmpd-opts.def $(std_def_list)
673 $(run_ag) ntpsnmpd-opts.def
675 $(srcdir)/ntpsnmpd.1: $(srcdir)/ntpsnmpd-opts.def $(std_def_list)
676 $(run_ag) -Tagman1.tpl -bntpsnmpd ntpsnmpd-opts.def
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
682 not-all-target:
683 touch $@ # used to avoid "all" default target when not building ntpsnmpd
685 install-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
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 \
727 cp $(top_srcdir)/deps-ver $@
729 .deps-ver: $(top_srcdir)/deps-ver
730 @[ ! -d $(DEPDIR) ] || $(MAKE) $(DEPDIR)/deps-ver
731 @touch $@
734 # depsver.mf included in Makefile.am for directories with .deps
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.
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.
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.
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.
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: