xref: /freebsd/contrib/ntp/ntpdc/Makefile.in (revision 830940567b49bb0c08dfaed40418999e76616909)
1# Makefile.in generated by automake 1.9.6 from Makefile.am.
2# @configure_input@
3
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.
9
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
13# PARTICULAR PURPOSE.
14
15@SET_MAKE@
16
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.
20
21
22srcdir = @srcdir@
23top_srcdir = @top_srcdir@
24VPATH = @srcdir@
25pkgdatadir = $(datadir)/@PACKAGE@
26pkglibdir = $(libdir)/@PACKAGE@
27pkgincludedir = $(includedir)/@PACKAGE@
28top_builddir = ..
29am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
30INSTALL = @INSTALL@
31install_sh_DATA = $(install_sh) -c -m 644
32install_sh_PROGRAM = $(install_sh) -c
33install_sh_SCRIPT = $(install_sh) -c
34INSTALL_HEADER = $(INSTALL_DATA)
35transform = $(program_transform_name)
36NORMAL_INSTALL = :
37PRE_INSTALL = :
38POST_INSTALL = :
39NORMAL_UNINSTALL = :
40PRE_UNINSTALL = :
41POST_UNINSTALL = :
42build_triplet = @build@
43host_triplet = @host@
44ANSI2KNR = ../util/ansi2knr
45bin_PROGRAMS = ntpdc$(EXEEXT)
46EXTRA_PROGRAMS = ntpdc-layout$(EXEEXT)
47DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/../bincheck.mf \
48	$(srcdir)/Makefile.am $(srcdir)/Makefile.in $(srcdir)/nl.pl.in
49subdir = ntpdc
50ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
51am__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
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 = nl.pl
61am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
62binPROGRAMS_INSTALL = $(INSTALL_PROGRAM)
63PROGRAMS = $(bin_PROGRAMS)
64am_ntpdc_OBJECTS = ntpdc$U.$(OBJEXT) ntpdc_ops$U.$(OBJEXT) \
65	ntpdc-opts$U.$(OBJEXT)
66ntpdc_OBJECTS = $(am_ntpdc_OBJECTS)
67am__DEPENDENCIES_1 =
68ntpdc_DEPENDENCIES = version.o $(am__DEPENDENCIES_1) \
69	../libntp/libntp.a
70ntpdc_layout_SOURCES = ntpdc-layout.c
71ntpdc_layout_OBJECTS = ntpdc-layout$U.$(OBJEXT)
72ntpdc_layout_DEPENDENCIES =
73DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
74depcomp = $(SHELL) $(top_srcdir)/depcomp
75am__depfiles_maybe = depfiles
76COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
77	$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
78LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
79	$(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
80	$(AM_CFLAGS) $(CFLAGS)
81CCLD = $(CC)
82LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
83	$(AM_LDFLAGS) $(LDFLAGS) -o $@
84SOURCES = $(ntpdc_SOURCES) ntpdc-layout.c
85DIST_SOURCES = $(ntpdc_SOURCES) ntpdc-layout.c
86man1dir = $(mandir)/man1
87NROFF = nroff
88MANS = $(man_MANS)
89HEADERS = $(noinst_HEADERS)
90ETAGS = etags
91CTAGS = ctags
92DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
93ACLOCAL = @ACLOCAL@
94AMDEP_FALSE = @AMDEP_FALSE@
95AMDEP_TRUE = @AMDEP_TRUE@
96AMTAR = @AMTAR@
97AR = @AR@
98ARLIB_DIR = @ARLIB_DIR@
99AUTOCONF = @AUTOCONF@
100AUTOHEADER = @AUTOHEADER@
101AUTOMAKE = @AUTOMAKE@
102AWK = @AWK@
103BINSUBDIR = @BINSUBDIR@
104CC = @CC@
105CCDEPMODE = @CCDEPMODE@
106CFLAGS = @CFLAGS@
107CHUTEST = @CHUTEST@
108CLKTEST = @CLKTEST@
109CPP = @CPP@
110CPPFLAGS = @CPPFLAGS@
111CXX = @CXX@
112CXXCPP = @CXXCPP@
113CXXDEPMODE = @CXXDEPMODE@
114CXXFLAGS = @CXXFLAGS@
115CYGPATH_W = @CYGPATH_W@
116DCFD = @DCFD@
117DEFS = @DEFS@
118DEPDIR = @DEPDIR@
119ECHO = @ECHO@
120ECHO_C = @ECHO_C@
121ECHO_N = @ECHO_N@
122ECHO_T = @ECHO_T@
123EF_LIBS = @EF_LIBS@
124EF_PROGS = @EF_PROGS@
125EGREP = @EGREP@
126EXEEXT = @EXEEXT@
127F77 = @F77@
128FFLAGS = @FFLAGS@
129INSTALL_DATA = @INSTALL_DATA@
130INSTALL_LIBOPTS_FALSE = @INSTALL_LIBOPTS_FALSE@
131INSTALL_LIBOPTS_TRUE = @INSTALL_LIBOPTS_TRUE@
132INSTALL_PROGRAM = @INSTALL_PROGRAM@
133INSTALL_SCRIPT = @INSTALL_SCRIPT@
134INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
135LCRYPTO = @LCRYPTO@
136LDFLAGS = @LDFLAGS@
137LIBOBJS = @LIBOBJS@
138LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
139LIBOPTS_DIR = @LIBOPTS_DIR@
140LIBOPTS_LDADD = @LIBOPTS_LDADD@
141LIBPARSE = @LIBPARSE@
142LIBS = @LIBS@
143LIBTOOL = @LIBTOOL@
144LN_S = @LN_S@
145LTLIBOBJS = @LTLIBOBJS@
146MAKEINFO = @MAKEINFO@
147MAKE_ADJTIMED = @MAKE_ADJTIMED@
148MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
149MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
150MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
151MAKE_LIBPARSE = @MAKE_LIBPARSE@
152MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
153MAKE_NTPDSIM = @MAKE_NTPDSIM@
154MAKE_NTPTIME = @MAKE_NTPTIME@
155MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
156MAKE_TICKADJ = @MAKE_TICKADJ@
157MAKE_TIMETRIM = @MAKE_TIMETRIM@
158NEED_LIBOPTS_FALSE = @NEED_LIBOPTS_FALSE@
159NEED_LIBOPTS_TRUE = @NEED_LIBOPTS_TRUE@
160OBJEXT = @OBJEXT@
161OPENSSL = @OPENSSL@
162OPENSSL_INC = @OPENSSL_INC@
163OPENSSL_LIB = @OPENSSL_LIB@
164PACKAGE = @PACKAGE@
165PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
166PACKAGE_NAME = @PACKAGE_NAME@
167PACKAGE_STRING = @PACKAGE_STRING@
168PACKAGE_TARNAME = @PACKAGE_TARNAME@
169PACKAGE_VERSION = @PACKAGE_VERSION@
170PATH_PERL = @PATH_PERL@
171PATH_SEPARATOR = @PATH_SEPARATOR@
172PATH_SH = @PATH_SH@
173PROPDELAY = @PROPDELAY@
174RANLIB = @RANLIB@
175READLINE_LIBS = @READLINE_LIBS@
176SET_MAKE = @SET_MAKE@
177SHELL = @SHELL@
178STRIP = @STRIP@
179TESTDCF = @TESTDCF@
180U = @U@
181VERSION = @VERSION@
182ac_ct_AR = @ac_ct_AR@
183ac_ct_CC = @ac_ct_CC@
184ac_ct_CXX = @ac_ct_CXX@
185ac_ct_F77 = @ac_ct_F77@
186ac_ct_RANLIB = @ac_ct_RANLIB@
187ac_ct_STRIP = @ac_ct_STRIP@
188am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
189am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
190am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
191am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
192am__include = @am__include@
193am__leading_dot = @am__leading_dot@
194am__quote = @am__quote@
195am__tar = @am__tar@
196am__untar = @am__untar@
197bindir = ${exec_prefix}/${BINSUBDIR}
198build = @build@
199build_alias = @build_alias@
200build_cpu = @build_cpu@
201build_os = @build_os@
202build_vendor = @build_vendor@
203datadir = @datadir@
204exec_prefix = @exec_prefix@
205host = @host@
206host_alias = @host_alias@
207host_cpu = @host_cpu@
208host_os = @host_os@
209host_vendor = @host_vendor@
210includedir = @includedir@
211infodir = @infodir@
212install_sh = @install_sh@
213libdir = @libdir@
214libexecdir = @libexecdir@
215localstatedir = @localstatedir@
216mandir = @mandir@
217mkdir_p = @mkdir_p@
218oldincludedir = @oldincludedir@
219prefix = @prefix@
220program_transform_name = @program_transform_name@
221sbindir = @sbindir@
222sharedstatedir = @sharedstatedir@
223subdirs = @subdirs@
224sysconfdir = @sysconfdir@
225target_alias = @target_alias@
226AUTOMAKE_OPTIONS = ../util/ansi2knr
227EXTRA_DATA = check-layout
228BUILT_SOURCES = @MAKE_CHECK_LAYOUT@ ntpdc-opts.c ntpdc-opts.h ntpdc.1 \
229	ntpdc-opts.texi ntpdc-opts.menu
230AM_CPPFLAGS = -I$(top_srcdir)/include $(LIBOPTS_CFLAGS)
231# LDADD might need RESLIB and ADJLIB
232ntpdc_LDADD = version.o @READLINE_LIBS@ $(LIBOPTS_LDADD) ../libntp/libntp.a
233# ntpdc-layout doesn't need any additional libraries at all
234ntpdc_layout_LDADD =
235DISTCLEANFILES = .version version.c
236CLEANFILES = check-layout layout.here nl.c ntpdc-layout
237noinst_HEADERS = ntpdc.h
238ETAGS_ARGS = Makefile.am
239EXTRA_DIST = nl_in.c nl.pl layout.std	\
240		ntpdc-opts.def ntpdc.1 ntpdc-opts.texi ntpdc-opts.menu
241
242man_MANS = ntpdc.1
243run_ag = cd $(srcdir) && autogen -L ../include --writable
244std_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
249
250ntpdc_SOURCES = ntpdc.c ntpdc_ops.c ntpdc-opts.c ntpdc-opts.h
251all: $(BUILT_SOURCES)
252	$(MAKE) $(AM_MAKEFLAGS) all-am
253
254.SUFFIXES:
255.SUFFIXES: .c .lo .o .obj
256$(srcdir)/Makefile.in:  $(srcdir)/Makefile.am $(srcdir)/../bincheck.mf $(am__configure_deps)
257	@for dep in $?; do \
258	  case '$(am__configure_deps)' in \
259	    *$$dep*) \
260	      cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
261		&& exit 0; \
262	      exit 1;; \
263	  esac; \
264	done; \
265	echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign  ntpdc/Makefile'; \
266	cd $(top_srcdir) && \
267	  $(AUTOMAKE) --foreign  ntpdc/Makefile
268.PRECIOUS: Makefile
269Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
270	@case '$?' in \
271	  *config.status*) \
272	    cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
273	  *) \
274	    echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
275	    cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
276	esac;
277
278$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
279	cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
280
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
285nl.pl: $(top_builddir)/config.status $(srcdir)/nl.pl.in
286	cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@
287install-binPROGRAMS: $(bin_PROGRAMS)
288	@$(NORMAL_INSTALL)
289	test -z "$(bindir)" || $(mkdir_p) "$(DESTDIR)$(bindir)"
290	@list='$(bin_PROGRAMS)'; for p in $$list; do \
291	  p1=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
292	  if test -f $$p \
293	     || test -f $$p1 \
294	  ; then \
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; \
298	  else :; fi; \
299	done
300
301uninstall-binPROGRAMS:
302	@$(NORMAL_UNINSTALL)
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"; \
307	done
308
309clean-binPROGRAMS:
310	@list='$(bin_PROGRAMS)'; for p in $$list; do \
311	  f=`echo $$p|sed 's/$(EXEEXT)$$//'`; \
312	  echo " rm -f $$p $$f"; \
313	  rm -f $$p $$f ; \
314	done
315ntpdc$(EXEEXT): $(ntpdc_OBJECTS) $(ntpdc_DEPENDENCIES)
316	@rm -f ntpdc$(EXEEXT)
317	$(LINK) $(ntpdc_LDFLAGS) $(ntpdc_OBJECTS) $(ntpdc_LDADD) $(LIBS)
318ntpdc-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)
321
322mostlyclean-compile:
323	-rm -f *.$(OBJEXT)
324
325distclean-compile:
326	-rm -f *.tab.c
327../util/ansi2knr:
328	cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
329
330mostlyclean-kr:
331	-test "$U" = "" || rm -f *_.c
332
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@
337
338.c.o:
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 $<
344
345.c.obj:
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) '$<'`
351
352.c.lo:
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 $@ $<
358ntpdc_.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 $@
360ntpdc-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 $@
362ntpdc-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 $@
364ntpdc_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 $@
366ntpdc_.$(OBJEXT) ntpdc_.lo ntpdc-layout_.$(OBJEXT) ntpdc-layout_.lo \
367ntpdc-opts_.$(OBJEXT) ntpdc-opts_.lo ntpdc_ops_.$(OBJEXT) \
368ntpdc_ops_.lo : $(ANSI2KNR)
369
370mostlyclean-libtool:
371	-rm -f *.lo
372
373clean-libtool:
374	-rm -rf .libs _libs
375
376distclean-libtool:
377	-rm -f libtool
378uninstall-info-am:
379install-man1: $(man1_MANS) $(man_MANS)
380	@$(NORMAL_INSTALL)
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)'; \
384	for i in $$l2; do \
385	  case "$$i" in \
386	    *.1*) list="$$list $$i" ;; \
387	  esac; \
388	done; \
389	for i in $$list; do \
390	  if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
391	  else file=$$i; fi; \
392	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
393	  case "$$ext" in \
394	    1*) ;; \
395	    *) ext='1' ;; \
396	  esac; \
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"; \
402	done
403uninstall-man1:
404	@$(NORMAL_UNINSTALL)
405	@list='$(man1_MANS) $(dist_man1_MANS) $(nodist_man1_MANS)'; \
406	l2='$(man_MANS) $(dist_man_MANS) $(nodist_man_MANS)'; \
407	for i in $$l2; do \
408	  case "$$i" in \
409	    *.1*) list="$$list $$i" ;; \
410	  esac; \
411	done; \
412	for i in $$list; do \
413	  ext=`echo $$i | sed -e 's/^.*\\.//'`; \
414	  case "$$ext" in \
415	    1*) ;; \
416	    *) ext='1' ;; \
417	  esac; \
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"; \
423	done
424
425ID: $(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; \
429	  done | \
430	  $(AWK) '    { files[$$0] = 1; } \
431	       END { for (i in files) print i; }'`; \
432	mkid -fID $$unique
433tags: TAGS
434
435TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
436		$(TAGS_FILES) $(LISP)
437	tags=; \
438	here=`pwd`; \
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; \
442	  done | \
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) \
448	    $$tags $$unique; \
449	fi
450ctags: CTAGS
451CTAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
452		$(TAGS_FILES) $(LISP)
453	tags=; \
454	here=`pwd`; \
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; \
458	  done | \
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) \
463	     $$tags $$unique
464
465GTAGS:
466	here=`$(am__cd) $(top_builddir) && pwd` \
467	  && cd $(top_srcdir) \
468	  && gtags -i $(GTAGS_ARGS) $$here
469
470distclean-tags:
471	-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
472
473distdir: $(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 \
478	  case $$file in \
479	    $(srcdir)/*) file=`echo "$$file" | sed "s|^$$srcdirstrip/||"`;; \
480	    $(top_srcdir)/*) file=`echo "$$file" | sed "s|^$$topsrcdirstrip/|$(top_builddir)/|"`;; \
481	  esac; \
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 \
485	    dir="/$$dir"; \
486	    $(mkdir_p) "$(distdir)$$dir"; \
487	  else \
488	    dir=''; \
489	  fi; \
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; \
493	    fi; \
494	    cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
495	  else \
496	    test -f $(distdir)/$$file \
497	    || cp -p $$d/$$file $(distdir)/$$file \
498	    || exit 1; \
499	  fi; \
500	done
501check-am: all-am
502check: $(BUILT_SOURCES)
503	$(MAKE) $(AM_MAKEFLAGS) check-am
504all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
505installdirs:
506	for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
507	  test -z "$$dir" || $(mkdir_p) "$$dir"; \
508	done
509install: $(BUILT_SOURCES)
510	$(MAKE) $(AM_MAKEFLAGS) install-am
511install-exec: install-exec-am
512install-data: install-data-am
513uninstall: uninstall-am
514
515install-am: all-am
516	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
517
518installcheck: installcheck-am
519install-strip:
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
524mostlyclean-generic:
525
526clean-generic:
527	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
528
529distclean-generic:
530	-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
531	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
532
533maintainer-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)
537clean: clean-am
538
539clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
540
541distclean: distclean-am
542	-rm -rf ./$(DEPDIR)
543	-rm -f Makefile
544distclean-am: clean-am distclean-compile distclean-generic \
545	distclean-libtool distclean-tags
546
547dvi: dvi-am
548
549dvi-am:
550
551html: html-am
552
553info: info-am
554
555info-am:
556
557install-data-am: install-man
558
559install-exec-am: install-binPROGRAMS
560	@$(NORMAL_INSTALL)
561	$(MAKE) $(AM_MAKEFLAGS) install-exec-hook
562
563install-info: install-info-am
564
565install-man: install-man1
566
567installcheck-am:
568
569maintainer-clean: maintainer-clean-am
570	-rm -rf ./$(DEPDIR)
571	-rm -f Makefile
572maintainer-clean-am: distclean-am maintainer-clean-generic
573
574mostlyclean: mostlyclean-am
575
576mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
577	mostlyclean-libtool
578
579pdf: pdf-am
580
581pdf-am:
582
583ps: ps-am
584
585ps-am:
586
587uninstall-am: uninstall-binPROGRAMS uninstall-info-am uninstall-man
588
589uninstall-man: uninstall-man1
590
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 \
603	uninstall-man1
604
605
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
609
610$(srcdir)/ntpdc.1: $(srcdir)/ntpdc-opts.def $(std_def_list)
611	$(run_ag) -Tagman1.tpl -bntpdc ntpdc-opts.def
612
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
615
616ntpdc-layout.o: nl.c
617
618layout.here: ntpdc-layout
619	./ntpdc-layout > $@
620
621check-layout: ntpdc-layout layout.std layout.here
622	cmp $(srcdir)/layout.std layout.here && echo stamp > $@
623
624$(PROGRAMS): $(LDADD)
625
626../libntp/libntp.a:
627	cd ../libntp && $(MAKE)
628
629$(top_srcdir)/version :
630	cd $(top_srcdir) && $(MAKE) version
631
632version.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
635
636# I ran nl_in.c (attached, to be installed into ntpdc) through
637# $(CC) -E nl_in.c | nl.pl > nl.c
638nl.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
640
641install-exec-hook:
642	@case ${BINSUBDIR} in					\
643	 bin) ODIR=${exec_prefix}/sbin ;;			\
644	 sbin) ODIR=${exec_prefix}/bin ;;			\
645	esac;							\
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!";	\
649	done
650
651#
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.
654.NOEXPORT:
655