1 # Makefile.in generated by automake 1.9.6 from Makefile.am.
4 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5 # 2003, 2004, 2005 Free Software Foundation, Inc.
6 # This Makefile.in is free software; the Free Software Foundation
7 # gives unlimited permission to copy and/or distribute it,
8 # with or without modifications, as long as this notice is preserved.
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without
12 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
17 # we traditionally installed software in bindir, while it should have gone
18 # in sbindir. Now that we offer a choice, look in the "other" installation
19 # subdir to warn folks if there is another version there.
23 top_srcdir = @top_srcdir@
25 pkgdatadir = $(datadir)/@PACKAGE@
26 pkglibdir = $(libdir)/@PACKAGE@
27 pkgincludedir = $(includedir)/@PACKAGE@
29 am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
31 install_sh_DATA = $(install_sh) -c -m 644
32 install_sh_PROGRAM = $(install_sh) -c
33 install_sh_SCRIPT = $(install_sh) -c
34 INSTALL_HEADER = $(INSTALL_DATA)
35 transform = $(program_transform_name)
42 build_triplet = @build@
44 ANSI2KNR = ../util/ansi2knr
45 bin_PROGRAMS = ntpdc$(EXEEXT)
46 EXTRA_PROGRAMS = ntpdc-layout$(EXEEXT)
47 DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/../bincheck.mf \
48 $(srcdir)/Makefile.am $(srcdir)/Makefile.in $(srcdir)/nl.pl.in
50 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51 am__aclocal_m4_deps = $(top_srcdir)/libopts/m4/libopts.m4 \
52 $(top_srcdir)/m4/define_dir.m4 \
53 $(top_srcdir)/m4/hs_ulong_const.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) \
58 mkinstalldirs = $(install_sh) -d
59 CONFIG_HEADER = $(top_builddir)/config.h
60 CONFIG_CLEAN_FILES = nl.pl
61 am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
62 binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
63 PROGRAMS = $(bin_PROGRAMS)
64 am_ntpdc_OBJECTS = ntpdc$U.$(OBJEXT) ntpdc_ops$U.$(OBJEXT) \
65 ntpdc-opts$U.$(OBJEXT)
66 ntpdc_OBJECTS = $(am_ntpdc_OBJECTS)
68 ntpdc_DEPENDENCIES = version.o $(am__DEPENDENCIES_1) \
70 ntpdc_layout_SOURCES = ntpdc-layout.c
71 ntpdc_layout_OBJECTS = ntpdc-layout$U.$(OBJEXT)
72 ntpdc_layout_DEPENDENCIES =
73 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
74 depcomp = $(SHELL) $(top_srcdir)/depcomp
75 am__depfiles_maybe = depfiles
76 COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
77 $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
78 LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
79 $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
80 $(AM_CFLAGS) $(CFLAGS)
82 LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
83 $(AM_LDFLAGS) $(LDFLAGS) -o $@
84 SOURCES = $(ntpdc_SOURCES) ntpdc-layout.c
85 DIST_SOURCES = $(ntpdc_SOURCES) ntpdc-layout.c
86 man1dir = $(mandir)/man1
89 HEADERS = $(noinst_HEADERS)
92 DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
94 AMDEP_FALSE = @AMDEP_FALSE@
95 AMDEP_TRUE = @AMDEP_TRUE@
98 ARLIB_DIR = @ARLIB_DIR@
100 AUTOHEADER = @AUTOHEADER@
101 AUTOMAKE = @AUTOMAKE@
103 BINSUBDIR = @BINSUBDIR@
105 CCDEPMODE = @CCDEPMODE@
110 CPPFLAGS = @CPPFLAGS@
113 CXXDEPMODE = @CXXDEPMODE@
114 CXXFLAGS = @CXXFLAGS@
115 CYGPATH_W = @CYGPATH_W@
124 EF_PROGS = @EF_PROGS@
129 INSTALL_DATA = @INSTALL_DATA@
130 INSTALL_LIBOPTS_FALSE = @INSTALL_LIBOPTS_FALSE@
131 INSTALL_LIBOPTS_TRUE = @INSTALL_LIBOPTS_TRUE@
132 INSTALL_PROGRAM = @INSTALL_PROGRAM@
133 INSTALL_SCRIPT = @INSTALL_SCRIPT@
134 INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
138 LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
139 LIBOPTS_DIR = @LIBOPTS_DIR@
140 LIBOPTS_LDADD = @LIBOPTS_LDADD@
141 LIBPARSE = @LIBPARSE@
145 LTLIBOBJS = @LTLIBOBJS@
146 MAKEINFO = @MAKEINFO@
147 MAKE_ADJTIMED = @MAKE_ADJTIMED@
148 MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
149 MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
150 MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
151 MAKE_LIBPARSE = @MAKE_LIBPARSE@
152 MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
153 MAKE_NTPDSIM = @MAKE_NTPDSIM@
154 MAKE_NTPTIME = @MAKE_NTPTIME@
155 MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
156 MAKE_TICKADJ = @MAKE_TICKADJ@
157 MAKE_TIMETRIM = @MAKE_TIMETRIM@
158 NEED_LIBOPTS_FALSE = @NEED_LIBOPTS_FALSE@
159 NEED_LIBOPTS_TRUE = @NEED_LIBOPTS_TRUE@
162 OPENSSL_INC = @OPENSSL_INC@
163 OPENSSL_LIB = @OPENSSL_LIB@
165 PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
166 PACKAGE_NAME = @PACKAGE_NAME@
167 PACKAGE_STRING = @PACKAGE_STRING@
168 PACKAGE_TARNAME = @PACKAGE_TARNAME@
169 PACKAGE_VERSION = @PACKAGE_VERSION@
170 PATH_PERL = @PATH_PERL@
171 PATH_SEPARATOR = @PATH_SEPARATOR@
173 PROPDELAY = @PROPDELAY@
175 READLINE_LIBS = @READLINE_LIBS@
176 SET_MAKE = @SET_MAKE@
182 ac_ct_AR = @ac_ct_AR@
183 ac_ct_CC = @ac_ct_CC@
184 ac_ct_CXX = @ac_ct_CXX@
185 ac_ct_F77 = @ac_ct_F77@
186 ac_ct_RANLIB = @ac_ct_RANLIB@
187 ac_ct_STRIP = @ac_ct_STRIP@
188 am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
189 am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
190 am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
191 am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
192 am__include = @am__include@
193 am__leading_dot = @am__leading_dot@
194 am__quote = @am__quote@
196 am__untar = @am__untar@
197 bindir = ${exec_prefix}/${BINSUBDIR}
199 build_alias = @build_alias@
200 build_cpu = @build_cpu@
201 build_os = @build_os@
202 build_vendor = @build_vendor@
204 exec_prefix = @exec_prefix@
206 host_alias = @host_alias@
207 host_cpu = @host_cpu@
209 host_vendor = @host_vendor@
210 includedir = @includedir@
212 install_sh = @install_sh@
214 libexecdir = @libexecdir@
215 localstatedir = @localstatedir@
218 oldincludedir = @oldincludedir@
220 program_transform_name = @program_transform_name@
222 sharedstatedir = @sharedstatedir@
224 sysconfdir = @sysconfdir@
225 target_alias = @target_alias@
226 AUTOMAKE_OPTIONS = ../util/ansi2knr
227 EXTRA_DATA = check-layout
228 BUILT_SOURCES = @MAKE_CHECK_LAYOUT@ ntpdc-opts.c ntpdc-opts.h ntpdc.1 \
229 ntpdc-opts.texi ntpdc-opts.menu
230 AM_CPPFLAGS = -I$(top_srcdir)/include $(LIBOPTS_CFLAGS)
231 # LDADD might need RESLIB and ADJLIB
232 ntpdc_LDADD = version.o @READLINE_LIBS@ $(LIBOPTS_LDADD) ../libntp/libntp.a
233 # ntpdc-layout doesn't need any additional libraries at all
235 DISTCLEANFILES = .version version.c
236 CLEANFILES = check-layout layout.here nl.c ntpdc-layout
237 noinst_HEADERS = ntpdc.h
238 ETAGS_ARGS = Makefile.am
239 EXTRA_DIST = nl_in.c nl.pl layout.std \
240 ntpdc-opts.def ntpdc.1 ntpdc-opts.texi ntpdc-opts.menu
243 run_ag = cd $(srcdir) && autogen -L ../include --writable
244 std_def_list = $(top_srcdir)/include/debug-opt.def \
245 $(top_srcdir)/include/autogen-version.def \
246 $(top_srcdir)/include/copyright.def \
247 $(top_srcdir)/include/homerc.def \
248 $(top_srcdir)/include/version.def
250 ntpdc_SOURCES = ntpdc.c ntpdc_ops.c ntpdc-opts.c ntpdc-opts.h
251 all: $(BUILT_SOURCES)
252 $(MAKE) $(AM_MAKEFLAGS) all-am
255 .SUFFIXES: .c .lo .o .obj
256 $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(srcdir)/../bincheck.mf $(am__configure_deps)
258 case '$(am__configure_deps)' in \
260 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
265 echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ntpdc/Makefile'; \
266 cd $(top_srcdir) && \
267 $(AUTOMAKE) --foreign ntpdc/Makefile
269 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
272 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
274 echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
275 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
278 $(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
279 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
281 $(top_srcdir)/configure: $(am__configure_deps)
282 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
283 $(ACLOCAL_M4): $(am__aclocal_m4_deps)
284 cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
285 nl.pl: $(top_builddir)/config.status $(srcdir)/nl.pl.in
286 cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
287 install-binPROGRAMS: $(bin_PROGRAMS)
289 test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
290 @list='$(bin_PROGRAMS)'; for p in $$list; do \
291 p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
295 f=`echo "$$p1" | sed 's,^.*/,,;$(transform);s/$$/$(EXEEXT)/'`; \
296 echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) '$$p' '$(DESTDIR)$(bindir)/$$f'"; \
297 $(INSTALL_PROGRAM_ENV) $(LIBTOOL) --mode=install $(binPROGRAMS_INSTALL) "$$p" "$(DESTDIR)$(bindir)/$$f" || exit 1; \
301 uninstall-binPROGRAMS:
303 @list='$(bin_PROGRAMS)'; for p in $$list; do \
304 f=`echo "$$p" | sed 's,^.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/'`; \
305 echo " rm -f '$(DESTDIR)$(bindir)/$$f'"; \
306 rm -f "$(DESTDIR)$(bindir)/$$f"; \
310 @list='$(bin_PROGRAMS)'; for p in $$list; do \
311 f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
312 echo " rm -f $$p $$f"; \
315 ntpdc$(EXEEXT): $(ntpdc_OBJECTS) $(ntpdc_DEPENDENCIES)
316 @rm -f ntpdc$(EXEEXT)
317 $(LINK) $(ntpdc_LDFLAGS) $(ntpdc_OBJECTS) $(ntpdc_LDADD) $(LIBS)
318 ntpdc-layout$(EXEEXT): $(ntpdc_layout_OBJECTS) $(ntpdc_layout_DEPENDENCIES)
319 @rm -f ntpdc-layout$(EXEEXT)
320 $(LINK) $(ntpdc_layout_LDFLAGS) $(ntpdc_layout_OBJECTS) $(ntpdc_layout_LDADD) $(LIBS)
328 cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
331 -test "$U" = "" || rm -f *_.c
333 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc$U.Po@am__quote@
334 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc-layout$U.Po@am__quote@
335 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc-opts$U.Po@am__quote@
336 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpdc_ops$U.Po@am__quote@
339 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
340 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
341 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
342 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
343 @am__fastdepCC_FALSE@ $(COMPILE) -c $<
346 @am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ `$(CYGPATH_W) '$<'`; \
347 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
348 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
349 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
350 @am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
353 @am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
354 @am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
355 @AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
356 @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
357 @am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
358 ntpdc_.c: ntpdc.c $(ANSI2KNR)
359 $(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 $@
360 ntpdc-layout_.c: ntpdc-layout.c $(ANSI2KNR)
361 $(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 $@
362 ntpdc-opts_.c: ntpdc-opts.c $(ANSI2KNR)
363 $(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 $@
364 ntpdc_ops_.c: ntpdc_ops.c $(ANSI2KNR)
365 $(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 $@
366 ntpdc_.$(OBJEXT) ntpdc_.lo ntpdc-layout_.$(OBJEXT) ntpdc-layout_.lo \
367 ntpdc-opts_.$(OBJEXT) ntpdc-opts_.lo ntpdc_ops_.$(OBJEXT) \
368 ntpdc_ops_.lo : $(ANSI2KNR)
379 install-man1: $(man1_MANS) $(man_MANS)
381 test -z "$(man1dir)" || $(mkdir_p) "$(DESTDIR)$(man1dir)"
382 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
383 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
386 *.1*) list="$$list $$i" ;; \
389 for i in $$list; do \
390 if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
392 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
397 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
398 inst=`echo $$inst | sed -e 's/^.*\///'`; \
399 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
400 echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
401 $(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst"; \
405 @list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
406 l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
409 *.1*) list="$$list $$i" ;; \
412 for i in $$list; do \
413 ext=`echo $$i | sed -e 's/^.*\\.//'`; \
418 inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
419 inst=`echo $$inst | sed -e 's/^.*\///'`; \
420 inst=`echo $$inst | sed '$(transform)'`.$$ext; \
421 echo " rm -f '$(DESTDIR)$(man1dir)/$$inst'"; \
422 rm -f "$(DESTDIR)$(man1dir)/$$inst"; \
425 ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
426 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
427 unique=`for i in $$list; do \
428 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
430 $(AWK) ' { files[$$0] = 1; } \
431 END { for (i in files) print i; }'`; \
435 TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
436 $(TAGS_FILES) $(LISP)
439 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
440 unique=`for i in $$list; do \
441 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
443 $(AWK) ' { files[$$0] = 1; } \
444 END { for (i in files) print i; }'`; \
445 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \
446 test -n "$$unique" || unique=$$empty_fix; \
447 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
451 CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
452 $(TAGS_FILES) $(LISP)
455 list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
456 unique=`for i in $$list; do \
457 if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
459 $(AWK) ' { files[$$0] = 1; } \
460 END { for (i in files) print i; }'`; \
461 test -z "$(CTAGS_ARGS)$$tags$$unique" \
462 || $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
466 here=`$(am__cd) $(top_builddir) && pwd` \
467 && cd $(top_srcdir) \
468 && gtags -i $(GTAGS_ARGS) $$here
471 -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
473 distdir: $(DISTFILES)
474 $(mkdir_p) $(distdir)/..
475 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \
476 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \
477 list='$(DISTFILES)'; for file in $$list; do \
479 $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
480 $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
482 if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
483 dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
484 if test "$$dir" != "$$file" && test "$$dir" != "."; then \
486 $(mkdir_p) "$(distdir)$$dir"; \
490 if test -d $$d/$$file; then \
491 if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
492 cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
494 cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
496 test -f $(distdir)/$$file \
497 || cp -p $$d/$$file $(distdir)/$$file \
502 check: $(BUILT_SOURCES)
503 $(MAKE) $(AM_MAKEFLAGS) check-am
504 all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
506 for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
507 test -z "$$dir" || $(mkdir_p) "$$dir"; \
509 install: $(BUILT_SOURCES)
510 $(MAKE) $(AM_MAKEFLAGS) install-am
511 install-exec: install-exec-am
512 install-data: install-data-am
513 uninstall: uninstall-am
516 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
518 installcheck: installcheck-am
520 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
521 install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
522 `test -z '$(STRIP)' || \
523 echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
527 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
530 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
531 -test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
533 maintainer-clean-generic:
534 @echo "This command is intended for maintainers to use"
535 @echo "it deletes files that may require special tools to rebuild."
536 -test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
539 clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
541 distclean: distclean-am
544 distclean-am: clean-am distclean-compile distclean-generic \
545 distclean-libtool distclean-tags
557 install-data-am: install-man
559 install-exec-am: install-binPROGRAMS
561 $(MAKE) $(AM_MAKEFLAGS) install-exec-hook
563 install-info: install-info-am
565 install-man: install-man1
569 maintainer-clean: maintainer-clean-am
572 maintainer-clean-am: distclean-am maintainer-clean-generic
574 mostlyclean: mostlyclean-am
576 mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
587 uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
589 uninstall-man: uninstall-man1
591 .PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
592 clean-generic clean-libtool ctags distclean distclean-compile \
593 distclean-generic distclean-libtool distclean-tags distdir dvi \
594 dvi-am html html-am info info-am install install-am \
595 install-binPROGRAMS install-data install-data-am install-exec \
596 install-exec-am install-exec-hook install-info install-info-am \
597 install-man install-man1 install-strip installcheck \
598 installcheck-am installdirs maintainer-clean \
599 maintainer-clean-generic mostlyclean mostlyclean-compile \
600 mostlyclean-generic mostlyclean-kr mostlyclean-libtool pdf \
601 pdf-am ps ps-am tags uninstall uninstall-am \
602 uninstall-binPROGRAMS uninstall-info-am uninstall-man \
606 $(srcdir)/ntpdc-opts.h: $(srcdir)/ntpdc-opts.c
607 $(srcdir)/ntpdc-opts.c: $(srcdir)/ntpdc-opts.def $(std_def_list)
608 $(run_ag) ntpdc-opts.def
610 $(srcdir)/ntpdc.1: $(srcdir)/ntpdc-opts.def $(std_def_list)
611 $(run_ag) -Tagman1.tpl -bntpdc ntpdc-opts.def
613 $(srcdir)/ntpdc-opts.texi $(srcdir)/ntpdc-opts.menu: $(srcdir)/ntpdc-opts.def $(std_def_list)
614 $(run_ag) -Taginfo.tpl -DLEVEL=section ntpdc-opts.def
618 layout.here: ntpdc-layout
621 check-layout: ntpdc-layout layout.std layout.here
622 cmp $(srcdir)/layout.std layout.here && echo stamp > $@
624 $(PROGRAMS): $(LDADD)
627 cd ../libntp && $(MAKE)
629 $(top_srcdir)/version :
630 cd $(top_srcdir) && $(MAKE) version
632 version.o: $(ntpdc_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
633 env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpdc
634 $(COMPILE) -c version.c
636 # I ran nl_in.c (attached, to be installed into ntpdc) through
637 # $(CC) -E nl_in.c | nl.pl > nl.c
638 nl.c: nl_in.c nl.pl Makefile.am
639 $(CC) -E $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(srcdir)/nl_in.c | ./nl.pl > nl.c
642 @case ${BINSUBDIR} in \
643 bin) ODIR=${exec_prefix}/sbin ;; \
644 sbin) ODIR=${exec_prefix}/bin ;; \
646 test -z "${bin_PROGRAMS}${bin_SCRIPTS}" \
647 || for i in ${bin_PROGRAMS} ${bin_SCRIPTS} " "; do \
648 test ! -f $$ODIR/$$i || echo "*** $$i is also in $$ODIR!"; \
652 # Tell versions [3.59,3.63) of GNU make to not export all variables.
653 # Otherwise a system limit (for SysV at least) may be exceeded.