]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/ntp/ntpdc/Makefile.in
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / ntp / ntpdc / Makefile.in
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
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 ANSI2KNR = ../util/ansi2knr
43 bin_PROGRAMS = ntpdc$(EXEEXT)
44 EXTRA_PROGRAMS = ntpdc-layout$(EXEEXT)
45 DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/../bincheck.mf \
46         $(srcdir)/Makefile.am $(srcdir)/Makefile.in $(srcdir)/nl.pl.in
47 subdir = ntpdc
48 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
49 am__aclocal_m4_deps = $(top_srcdir)/libopts/m4/libopts.m4 \
50         $(top_srcdir)/m4/define_dir.m4 \
51         $(top_srcdir)/m4/hs_ulong_const.m4 \
52         $(top_srcdir)/m4/os_cflags.m4 $(top_srcdir)/version.m4 \
53         $(top_srcdir)/configure.ac
54 am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
55         $(ACLOCAL_M4)
56 mkinstalldirs = $(install_sh) -d
57 CONFIG_HEADER = $(top_builddir)/config.h
58 CONFIG_CLEAN_FILES = nl.pl
59 CONFIG_CLEAN_VPATH_FILES =
60 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
61 PROGRAMS = $(bin_PROGRAMS)
62 am_ntpdc_OBJECTS = ntpdc$U.$(OBJEXT) ntpdc_ops$U.$(OBJEXT) \
63         ntpdc-opts$U.$(OBJEXT)
64 ntpdc_OBJECTS = $(am_ntpdc_OBJECTS)
65 am__DEPENDENCIES_1 =
66 ntpdc_DEPENDENCIES = version.o $(am__DEPENDENCIES_1) \
67         ../libntp/libntp.a
68 ntpdc_layout_SOURCES = ntpdc-layout.c
69 ntpdc_layout_OBJECTS = ntpdc-layout$U.$(OBJEXT)
70 ntpdc_layout_DEPENDENCIES =
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 = $(ntpdc_SOURCES) ntpdc-layout.c
85 DIST_SOURCES = $(ntpdc_SOURCES) ntpdc-layout.c
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 EF_LIBS = @EF_LIBS@
139 EF_PROGS = @EF_PROGS@
140 EGREP = @EGREP@
141 EXEEXT = @EXEEXT@
142 GREP = @GREP@
143 HAVE_INLINE = @HAVE_INLINE@
144 INSTALL = @INSTALL@
145 INSTALL_DATA = @INSTALL_DATA@
146 INSTALL_PROGRAM = @INSTALL_PROGRAM@
147 INSTALL_SCRIPT = @INSTALL_SCRIPT@
148 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
149 LCRYPTO = @LCRYPTO@
150 LDFLAGS = @LDFLAGS@
151 LIBOBJS = @LIBOBJS@
152 LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
153 LIBOPTS_DIR = @LIBOPTS_DIR@
154 LIBOPTS_LDADD = @LIBOPTS_LDADD@
155 LIBPARSE = @LIBPARSE@
156 LIBS = @LIBS@
157 LIBTOOL = @LIBTOOL@
158 LN_S = @LN_S@
159 LSCF = @LSCF@
160 LTLIBOBJS = @LTLIBOBJS@
161 MAKEINFO = @MAKEINFO@
162 MAKE_ADJTIMED = @MAKE_ADJTIMED@
163 MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
164 MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
165 MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
166 MAKE_LIBPARSE = @MAKE_LIBPARSE@
167 MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
168 MAKE_NTPDSIM = @MAKE_NTPDSIM@
169 MAKE_NTPTIME = @MAKE_NTPTIME@
170 MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
171 MAKE_TICKADJ = @MAKE_TICKADJ@
172 MAKE_TIMETRIM = @MAKE_TIMETRIM@
173 MKDIR_P = @MKDIR_P@
174 OBJEXT = @OBJEXT@
175 OPENSSL = @OPENSSL@
176 OPENSSL_INC = @OPENSSL_INC@
177 OPENSSL_LIB = @OPENSSL_LIB@
178 PACKAGE = @PACKAGE@
179 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
180 PACKAGE_NAME = @PACKAGE_NAME@
181 PACKAGE_STRING = @PACKAGE_STRING@
182 PACKAGE_TARNAME = @PACKAGE_TARNAME@
183 PACKAGE_URL = @PACKAGE_URL@
184 PACKAGE_VERSION = @PACKAGE_VERSION@
185 PATH_PERL = @PATH_PERL@
186 PATH_SEPARATOR = @PATH_SEPARATOR@
187 PATH_SH = @PATH_SH@
188 PROPDELAY = @PROPDELAY@
189 RANLIB = @RANLIB@
190 READLINE_LIBS = @READLINE_LIBS@
191 SET_MAKE = @SET_MAKE@
192 SHELL = @SHELL@
193 STRIP = @STRIP@
194 TESTDCF = @TESTDCF@
195 U = @U@
196 VERSION = @VERSION@
197 abs_builddir = @abs_builddir@
198 abs_srcdir = @abs_srcdir@
199 abs_top_builddir = @abs_top_builddir@
200 abs_top_srcdir = @abs_top_srcdir@
201 ac_ct_CC = @ac_ct_CC@
202 am__include = @am__include@
203 am__leading_dot = @am__leading_dot@
204 am__quote = @am__quote@
205 am__tar = @am__tar@
206 am__untar = @am__untar@
207 bindir = ${exec_prefix}/${BINSUBDIR}
208 build = @build@
209 build_alias = @build_alias@
210 build_cpu = @build_cpu@
211 build_os = @build_os@
212 build_vendor = @build_vendor@
213 builddir = @builddir@
214 datadir = @datadir@
215 datarootdir = @datarootdir@
216 docdir = @docdir@
217 dvidir = @dvidir@
218 exec_prefix = @exec_prefix@
219 host = @host@
220 host_alias = @host_alias@
221 host_cpu = @host_cpu@
222 host_os = @host_os@
223 host_vendor = @host_vendor@
224 htmldir = @htmldir@
225 includedir = @includedir@
226 infodir = @infodir@
227 install_sh = @install_sh@
228 libdir = @libdir@
229 libexecdir = @libexecdir@
230 localedir = @localedir@
231 localstatedir = @localstatedir@
232 mandir = @mandir@
233 mkdir_p = @mkdir_p@
234 oldincludedir = @oldincludedir@
235 pdfdir = @pdfdir@
236 prefix = @prefix@
237 program_transform_name = @program_transform_name@
238 psdir = @psdir@
239 sbindir = @sbindir@
240 sharedstatedir = @sharedstatedir@
241 srcdir = @srcdir@
242 subdirs = @subdirs@
243 sysconfdir = @sysconfdir@
244 target_alias = @target_alias@
245 top_build_prefix = @top_build_prefix@
246 top_builddir = @top_builddir@
247 top_srcdir = @top_srcdir@
248 AUTOMAKE_OPTIONS = ../util/ansi2knr
249 EXTRA_DATA = check-layout
250 BUILT_SOURCES = @MAKE_CHECK_LAYOUT@ ntpdc-opts.c ntpdc-opts.h ntpdc.1 \
251         ntpdc-opts.texi ntpdc-opts.menu
252 AM_CPPFLAGS = -I$(top_srcdir)/include $(LIBOPTS_CFLAGS)
253 # LDADD might need RESLIB and ADJLIB
254 ntpdc_LDADD = version.o @READLINE_LIBS@ $(LIBOPTS_LDADD) ../libntp/libntp.a
255 # ntpdc-layout doesn't need any additional libraries at all
256 ntpdc_layout_LDADD = 
257 DISTCLEANFILES = .version version.c
258 CLEANFILES = check-layout layout.here nl.c ntpdc-layout
259 noinst_HEADERS = ntpdc.h
260 ETAGS_ARGS = Makefile.am
261 EXTRA_DIST = nl_in.c nl.pl layout.std   \
262                 ntpdc-opts.def ntpdc.1 ntpdc-opts.texi ntpdc-opts.menu
263
264 man_MANS = ntpdc.1
265 run_ag = cd $(srcdir) && autogen -L ../include --writable
266 std_def_list = $(top_srcdir)/include/debug-opt.def              \
267                 $(top_srcdir)/include/autogen-version.def       \
268                 $(top_srcdir)/include/copyright.def             \
269                 $(top_srcdir)/include/homerc.def                \
270                 $(top_srcdir)/include/version.def
271
272 ntpdc_SOURCES = ntpdc.c ntpdc_ops.c ntpdc-opts.c ntpdc-opts.h
273 all: $(BUILT_SOURCES)
274         $(MAKE) $(AM_MAKEFLAGS) all-am
275
276 .SUFFIXES:
277 .SUFFIXES: .c .lo .o .obj
278 $(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(srcdir)/../bincheck.mf $(am__configure_deps)
279         @for dep in $?; do \
280           case '$(am__configure_deps)' in \
281             *$$dep*) \
282               ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
283                 && { if test -f $@; then exit 0; else break; fi; }; \
284               exit 1;; \
285           esac; \
286         done; \
287         echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ntpdc/Makefile'; \
288         $(am__cd) $(top_srcdir) && \
289           $(AUTOMAKE) --foreign ntpdc/Makefile
290 .PRECIOUS: Makefile
291 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
292         @case '$?' in \
293           *config.status*) \
294             cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
295           *) \
296             echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
297             cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
298         esac;
299
300 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
301         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
302
303 $(top_srcdir)/configure:  $(am__configure_deps)
304         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
305 $(ACLOCAL_M4):  $(am__aclocal_m4_deps)
306         cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
307 $(am__aclocal_m4_deps):
308 nl.pl: $(top_builddir)/config.status $(srcdir)/nl.pl.in
309         cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
310 install-binPROGRAMS: $(bin_PROGRAMS)
311         @$(NORMAL_INSTALL)
312         test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
313         @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
314         for p in $$list; do echo "$$p $$p"; done | \
315         sed 's/$(EXEEXT)$$//' | \
316         while read p p1; do if test -f $$p || test -f $$p1; \
317           then echo "$$p"; echo "$$p"; else :; fi; \
318         done | \
319         sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
320             -e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
321         sed 'N;N;N;s,\n, ,g' | \
322         $(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
323           { d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
324             if ($$2 == $$4) files[d] = files[d] " " $$1; \
325             else { print "f", $$3 "/" $$4, $$1; } } \
326           END { for (d in files) print "f", d, files[d] }' | \
327         while read type dir files; do \
328             if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
329             test -z "$$files" || { \
330             echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
331             $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
332             } \
333         ; done
334
335 uninstall-binPROGRAMS:
336         @$(NORMAL_UNINSTALL)
337         @list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
338         files=`for p in $$list; do echo "$$p"; done | \
339           sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
340               -e 's/$$/$(EXEEXT)/' `; \
341         test -n "$$list" || exit 0; \
342         echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
343         cd "$(DESTDIR)$(bindir)" && rm -f $$files
344
345 clean-binPROGRAMS:
346         @list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
347         echo " rm -f" $$list; \
348         rm -f $$list || exit $$?; \
349         test -n "$(EXEEXT)" || exit 0; \
350         list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
351         echo " rm -f" $$list; \
352         rm -f $$list
353 ntpdc$(EXEEXT): $(ntpdc_OBJECTS) $(ntpdc_DEPENDENCIES) 
354         @rm -f ntpdc$(EXEEXT)
355         $(LINK) $(ntpdc_OBJECTS) $(ntpdc_LDADD) $(LIBS)
356 ntpdc-layout$(EXEEXT): $(ntpdc_layout_OBJECTS) $(ntpdc_layout_DEPENDENCIES) 
357         @rm -f ntpdc-layout$(EXEEXT)
358         $(LINK) $(ntpdc_layout_OBJECTS) $(ntpdc_layout_LDADD) $(LIBS)
359
360 mostlyclean-compile:
361         -rm -f *.$(OBJEXT)
362
363 distclean-compile:
364         -rm -f *.tab.c
365 ../util/ansi2knr:
366         $(am__cd) ../util && $(MAKE) $(AM_MAKEFLAGS) ./ansi2knr
367
368 mostlyclean-kr:
369         -test "$U" = "" || rm -f *_.c
370
371 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc$U.Po@am__quote@
372 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc-layout$U.Po@am__quote@
373 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc-opts$U.Po@am__quote@
374 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc_ops$U.Po@am__quote@
375
376 .c.o:
377 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
378 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
379 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
380 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
381 @am__fastdepCC_FALSE@   $(COMPILE) -c $<
382
383 .c.obj:
384 @am__fastdepCC_TRUE@    $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
385 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
386 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
387 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
388 @am__fastdepCC_FALSE@   $(COMPILE) -c `$(CYGPATH_W) '$<'`
389
390 .c.lo:
391 @am__fastdepCC_TRUE@    $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
392 @am__fastdepCC_TRUE@    $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
393 @AMDEP_TRUE@@am__fastdepCC_FALSE@       source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
394 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
395 @am__fastdepCC_FALSE@   $(LTCOMPILE) -c -o $@ $<
396 ntpdc_.c: ntpdc.c $(ANSI2KNR)
397         $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdc.c; then echo $(srcdir)/ntpdc.c; else echo ntpdc.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
398 ntpdc-layout_.c: ntpdc-layout.c $(ANSI2KNR)
399         $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdc-layout.c; then echo $(srcdir)/ntpdc-layout.c; else echo ntpdc-layout.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
400 ntpdc-opts_.c: ntpdc-opts.c $(ANSI2KNR)
401         $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdc-opts.c; then echo $(srcdir)/ntpdc-opts.c; else echo ntpdc-opts.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
402 ntpdc_ops_.c: ntpdc_ops.c $(ANSI2KNR)
403         $(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdc_ops.c; then echo $(srcdir)/ntpdc_ops.c; else echo ntpdc_ops.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
404 ntpdc_.$(OBJEXT) ntpdc_.lo ntpdc-layout_.$(OBJEXT) ntpdc-layout_.lo \
405 ntpdc-opts_.$(OBJEXT) ntpdc-opts_.lo ntpdc_ops_.$(OBJEXT) \
406 ntpdc_ops_.lo : $(ANSI2KNR)
407
408 mostlyclean-libtool:
409         -rm -f *.lo
410
411 clean-libtool:
412         -rm -rf .libs _libs
413 install-man1: $(man_MANS)
414         @$(NORMAL_INSTALL)
415         test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
416         @list=''; test -n "$(man1dir)" || exit 0; \
417         { for i in $$list; do echo "$$i"; done; \
418         l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
419           sed -n '/\.1[a-z]*$$/p'; \
420         } | while read p; do \
421           if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
422           echo "$$d$$p"; echo "$$p"; \
423         done | \
424         sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
425               -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
426         sed 'N;N;s,\n, ,g' | { \
427         list=; while read file base inst; do \
428           if test "$$base" = "$$inst"; then list="$$list $$file"; else \
429             echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
430             $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
431           fi; \
432         done; \
433         for i in $$list; do echo "$$i"; done | $(am__base_list) | \
434         while read files; do \
435           test -z "$$files" || { \
436             echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
437             $(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
438         done; }
439
440 uninstall-man1:
441         @$(NORMAL_UNINSTALL)
442         @list=''; test -n "$(man1dir)" || exit 0; \
443         files=`{ for i in $$list; do echo "$$i"; done; \
444         l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
445           sed -n '/\.1[a-z]*$$/p'; \
446         } | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
447               -e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
448         test -z "$$files" || { \
449           echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
450           cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
451
452 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
453         list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
454         unique=`for i in $$list; do \
455             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
456           done | \
457           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
458               END { if (nonempty) { for (i in files) print i; }; }'`; \
459         mkid -fID $$unique
460 tags: TAGS
461
462 TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
463                 $(TAGS_FILES) $(LISP)
464         set x; \
465         here=`pwd`; \
466         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
467         unique=`for i in $$list; do \
468             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
469           done | \
470           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
471               END { if (nonempty) { for (i in files) print i; }; }'`; \
472         shift; \
473         if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
474           test -n "$$unique" || unique=$$empty_fix; \
475           if test $$# -gt 0; then \
476             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
477               "$$@" $$unique; \
478           else \
479             $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
480               $$unique; \
481           fi; \
482         fi
483 ctags: CTAGS
484 CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
485                 $(TAGS_FILES) $(LISP)
486         list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
487         unique=`for i in $$list; do \
488             if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
489           done | \
490           $(AWK) '{ files[$$0] = 1; nonempty = 1; } \
491               END { if (nonempty) { for (i in files) print i; }; }'`; \
492         test -z "$(CTAGS_ARGS)$$unique" \
493           || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
494              $$unique
495
496 GTAGS:
497         here=`$(am__cd) $(top_builddir) && pwd` \
498           && $(am__cd) $(top_srcdir) \
499           && gtags -i $(GTAGS_ARGS) "$$here"
500
501 distclean-tags:
502         -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
503
504 distdir: $(DISTFILES)
505         @list='$(MANS)'; if test -n "$$list"; then \
506           list=`for p in $$list; do \
507             if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
508             if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
509           if test -n "$$list" && \
510             grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
511             echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
512             grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/         /' >&2; \
513             echo "       to fix them, install help2man, remove and regenerate the man pages;" >&2; \
514             echo "       typically \`make maintainer-clean' will remove them" >&2; \
515             exit 1; \
516           else :; fi; \
517         else :; fi
518         @srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
519         topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
520         list='$(DISTFILES)'; \
521           dist_files=`for file in $$list; do echo $$file; done | \
522           sed -e "s|^$$srcdirstrip/||;t" \
523               -e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
524         case $$dist_files in \
525           */*) $(MKDIR_P) `echo "$$dist_files" | \
526                            sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
527                            sort -u` ;; \
528         esac; \
529         for file in $$dist_files; do \
530           if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
531           if test -d $$d/$$file; then \
532             dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
533             if test -d "$(distdir)/$$file"; then \
534               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
535             fi; \
536             if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
537               cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
538               find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
539             fi; \
540             cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
541           else \
542             test -f "$(distdir)/$$file" \
543             || cp -p $$d/$$file "$(distdir)/$$file" \
544             || exit 1; \
545           fi; \
546         done
547 check-am: all-am
548 check: $(BUILT_SOURCES)
549         $(MAKE) $(AM_MAKEFLAGS) check-am
550 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
551 installdirs:
552         for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
553           test -z "$$dir" || $(MKDIR_P) "$$dir"; \
554         done
555 install: $(BUILT_SOURCES)
556         $(MAKE) $(AM_MAKEFLAGS) install-am
557 install-exec: install-exec-am
558 install-data: install-data-am
559 uninstall: uninstall-am
560
561 install-am: all-am
562         @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
563
564 installcheck: installcheck-am
565 install-strip:
566         $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
567           install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
568           `test -z '$(STRIP)' || \
569             echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
570 mostlyclean-generic:
571
572 clean-generic:
573         -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
574
575 distclean-generic:
576         -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
577         -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
578         -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
579
580 maintainer-clean-generic:
581         @echo "This command is intended for maintainers to use"
582         @echo "it deletes files that may require special tools to rebuild."
583         -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
584 clean: clean-am
585
586 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
587
588 distclean: distclean-am
589         -rm -rf ./$(DEPDIR)
590         -rm -f Makefile
591 distclean-am: clean-am distclean-compile distclean-generic \
592         distclean-tags
593
594 dvi: dvi-am
595
596 dvi-am:
597
598 html: html-am
599
600 html-am:
601
602 info: info-am
603
604 info-am:
605
606 install-data-am: install-man
607
608 install-dvi: install-dvi-am
609
610 install-dvi-am:
611
612 install-exec-am: install-binPROGRAMS
613         @$(NORMAL_INSTALL)
614         $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
615 install-html: install-html-am
616
617 install-html-am:
618
619 install-info: install-info-am
620
621 install-info-am:
622
623 install-man: install-man1
624
625 install-pdf: install-pdf-am
626
627 install-pdf-am:
628
629 install-ps: install-ps-am
630
631 install-ps-am:
632
633 installcheck-am:
634
635 maintainer-clean: maintainer-clean-am
636         -rm -rf ./$(DEPDIR)
637         -rm -f Makefile
638 maintainer-clean-am: distclean-am maintainer-clean-generic
639
640 mostlyclean: mostlyclean-am
641
642 mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
643         mostlyclean-libtool
644
645 pdf: pdf-am
646
647 pdf-am:
648
649 ps: ps-am
650
651 ps-am:
652
653 uninstall-am: uninstall-binPROGRAMS uninstall-man
654
655 uninstall-man: uninstall-man1
656
657 .MAKE: ../util/ansi2knr all check install install-am install-exec-am \
658         install-strip
659
660 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
661         clean-generic clean-libtool ctags distclean distclean-compile \
662         distclean-generic distclean-libtool distclean-tags distdir dvi \
663         dvi-am html html-am info info-am install install-am \
664         install-binPROGRAMS install-data install-data-am install-dvi \
665         install-dvi-am install-exec install-exec-am install-exec-hook \
666         install-html install-html-am install-info install-info-am \
667         install-man install-man1 install-pdf install-pdf-am install-ps \
668         install-ps-am install-strip installcheck installcheck-am \
669         installdirs maintainer-clean maintainer-clean-generic \
670         mostlyclean mostlyclean-compile mostlyclean-generic \
671         mostlyclean-kr mostlyclean-libtool pdf pdf-am ps ps-am tags \
672         uninstall uninstall-am uninstall-binPROGRAMS uninstall-man \
673         uninstall-man1
674
675
676 $(srcdir)/ntpdc-opts.h: $(srcdir)/ntpdc-opts.c
677 $(srcdir)/ntpdc-opts.c: $(srcdir)/ntpdc-opts.def $(std_def_list)
678         $(run_ag) ntpdc-opts.def
679
680 $(srcdir)/ntpdc.1: $(srcdir)/ntpdc-opts.def $(std_def_list)
681         $(run_ag) -Tagman1.tpl -bntpdc ntpdc-opts.def
682
683 $(srcdir)/ntpdc-opts.texi $(srcdir)/ntpdc-opts.menu: $(srcdir)/ntpdc-opts.def $(std_def_list)
684         $(run_ag) -Taginfo.tpl -DLEVEL=section ntpdc-opts.def
685
686 ntpdc-layout.o: nl.c
687
688 layout.here: ntpdc-layout
689         ./ntpdc-layout > $@
690
691 check-layout: ntpdc-layout layout.std layout.here
692         cmp $(srcdir)/layout.std layout.here && echo stamp > $@
693
694 $(PROGRAMS): $(LDADD)
695
696 ../libntp/libntp.a:
697         cd ../libntp && $(MAKE)
698
699 $(top_srcdir)/version :
700         cd $(top_srcdir) && $(MAKE) version
701
702 version.o: $(ntpdc_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
703         env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdc
704         $(COMPILE) -c version.c
705
706 # I ran nl_in.c (attached, to be installed into ntpdc) through
707 # $(CC) -E nl_in.c | nl.pl > nl.c
708 nl.c: nl_in.c nl.pl Makefile.am
709         $(CC) -E $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/nl_in.c | ./nl.pl > nl.c
710
711 install-exec-hook:
712         @case ${BINSUBDIR} in                                   \
713          bin) ODIR=${exec_prefix}/sbin ;;                       \
714          sbin) ODIR=${exec_prefix}/bin ;;                       \
715         esac;                                                   \
716         test -z "${bin_PROGRAMS}${bin_SCRIPTS}"                 \
717         || for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do              \
718            test ! -f $$ODIR/$$i || echo "*** $$i is also in $$ODIR!";   \
719         done
720
721 #
722
723 # Tell versions [3.59,3.63) of GNU make to not export all variables.
724 # Otherwise a system limit (for SysV at least) may be exceeded.
725 .NOEXPORT: