freebsd-skq/contrib/ntp/ntpq/Makefile.in

674 lines
22 KiB
Makefile
Raw Normal View History

# Makefile.in generated by automake 1.11 from Makefile.am.
2004-07-20 15:01:56 +00:00
# @configure_input@
1999-12-09 13:01:21 +00:00
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
# 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
# Inc.
1999-12-09 13:01:21 +00:00
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
2002-10-29 19:58:12 +00:00
@SET_MAKE@
1999-12-09 13:01:21 +00:00
VPATH = @srcdir@
pkgdatadir = $(datadir)/@PACKAGE@
pkgincludedir = $(includedir)/@PACKAGE@
pkglibdir = $(libdir)/@PACKAGE@
pkglibexecdir = $(libexecdir)/@PACKAGE@
2004-07-20 15:01:56 +00:00
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
install_sh_DATA = $(install_sh) -c -m 644
install_sh_PROGRAM = $(install_sh) -c
install_sh_SCRIPT = $(install_sh) -c
2001-08-29 14:35:15 +00:00
INSTALL_HEADER = $(INSTALL_DATA)
2004-07-20 15:01:56 +00:00
transform = $(program_transform_name)
1999-12-09 13:01:21 +00:00
NORMAL_INSTALL = :
PRE_INSTALL = :
POST_INSTALL = :
NORMAL_UNINSTALL = :
PRE_UNINSTALL = :
POST_UNINSTALL = :
build_triplet = @build@
host_triplet = @host@
ANSI2KNR = ../util/ansi2knr
bin_PROGRAMS = ntpq$(EXEEXT)
subdir = ntpq
DIST_COMMON = README $(noinst_HEADERS) $(srcdir)/Makefile.am \
$(srcdir)/Makefile.in
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
am__aclocal_m4_deps = $(top_srcdir)/libopts/m4/libopts.m4 \
$(top_srcdir)/m4/define_dir.m4 \
$(top_srcdir)/m4/hs_ulong_const.m4 \
$(top_srcdir)/m4/os_cflags.m4 $(top_srcdir)/version.m4 \
$(top_srcdir)/configure.ac
am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
$(ACLOCAL_M4)
mkinstalldirs = $(install_sh) -d
CONFIG_HEADER = $(top_builddir)/config.h
CONFIG_CLEAN_FILES =
CONFIG_CLEAN_VPATH_FILES =
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
PROGRAMS = $(bin_PROGRAMS)
am_ntpq_OBJECTS = ntpq$U.$(OBJEXT) ntpq-subs$U.$(OBJEXT) \
ntpq-opts$U.$(OBJEXT)
ntpq_OBJECTS = $(am_ntpq_OBJECTS)
am__DEPENDENCIES_1 =
ntpq_DEPENDENCIES = version.o $(am__DEPENDENCIES_1) ../libntp/libntp.a
DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
LTCOMPILE = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
$(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) \
$(LDFLAGS) -o $@
SOURCES = $(ntpq_SOURCES)
DIST_SOURCES = $(ntpq_SOURCES)
am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`;
am__vpath_adj = case $$p in \
$(srcdir)/*) f=`echo "$$p" | sed "s|^$$srcdirstrip/||"`;; \
*) f=$$p;; \
esac;
am__strip_dir = f=`echo $$p | sed -e 's|^.*/||'`;
am__install_max = 40
am__nobase_strip_setup = \
srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*|]/\\\\&/g'`
am__nobase_strip = \
for p in $$list; do echo "$$p"; done | sed -e "s|$$srcdirstrip/||"
am__nobase_list = $(am__nobase_strip_setup); \
for p in $$list; do echo "$$p $$p"; done | \
sed "s| $$srcdirstrip/| |;"' / .*\//!s/ .*/ ./; s,\( .*\)/[^/]*$$,\1,' | \
$(AWK) 'BEGIN { files["."] = "" } { files[$$2] = files[$$2] " " $$1; \
if (++n[$$2] == $(am__install_max)) \
{ print $$2, files[$$2]; n[$$2] = 0; files[$$2] = "" } } \
END { for (dir in files) print dir, files[dir] }'
am__base_list = \
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
man1dir = $(mandir)/man1
NROFF = nroff
MANS = $(man_MANS)
HEADERS = $(noinst_HEADERS)
ETAGS = etags
CTAGS = ctags
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
2004-07-20 15:01:56 +00:00
ACLOCAL = @ACLOCAL@
1999-12-09 13:01:21 +00:00
AMTAR = @AMTAR@
AR = @AR@
2004-07-20 15:01:56 +00:00
ARLIB_DIR = @ARLIB_DIR@
AUTOCONF = @AUTOCONF@
AUTOHEADER = @AUTOHEADER@
AUTOMAKE = @AUTOMAKE@
1999-12-09 13:01:21 +00:00
AWK = @AWK@
BINSUBDIR = @BINSUBDIR@
1999-12-09 13:01:21 +00:00
CC = @CC@
2004-07-20 15:01:56 +00:00
CCDEPMODE = @CCDEPMODE@
1999-12-09 13:01:21 +00:00
CFLAGS = @CFLAGS@
CHUTEST = @CHUTEST@
CLKTEST = @CLKTEST@
CPP = @CPP@
2004-07-20 15:01:56 +00:00
CPPFLAGS = @CPPFLAGS@
CYGPATH_W = @CYGPATH_W@
1999-12-09 13:01:21 +00:00
DCFD = @DCFD@
2004-07-20 15:01:56 +00:00
DEFS = @DEFS@
2000-01-28 14:55:50 +00:00
DEPDIR = @DEPDIR@
ECHO = @ECHO@
2004-07-20 15:01:56 +00:00
ECHO_C = @ECHO_C@
ECHO_N = @ECHO_N@
ECHO_T = @ECHO_T@
2001-08-29 14:35:15 +00:00
EF_LIBS = @EF_LIBS@
EF_PROGS = @EF_PROGS@
2004-07-20 15:01:56 +00:00
EGREP = @EGREP@
2002-10-29 19:58:12 +00:00
EXEEXT = @EXEEXT@
GREP = @GREP@
HAVE_INLINE = @HAVE_INLINE@
INSTALL = @INSTALL@
2004-07-20 15:01:56 +00:00
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@
2001-08-29 14:35:15 +00:00
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
2004-07-20 15:01:56 +00:00
LCRYPTO = @LCRYPTO@
1999-12-09 13:01:21 +00:00
LDFLAGS = @LDFLAGS@
2004-07-20 15:01:56 +00:00
LIBOBJS = @LIBOBJS@
LIBOPTS_CFLAGS = @LIBOPTS_CFLAGS@
LIBOPTS_DIR = @LIBOPTS_DIR@
LIBOPTS_LDADD = @LIBOPTS_LDADD@
1999-12-09 13:01:21 +00:00
LIBPARSE = @LIBPARSE@
2004-07-20 15:01:56 +00:00
LIBS = @LIBS@
LIBTOOL = @LIBTOOL@
1999-12-09 13:01:21 +00:00
LN_S = @LN_S@
LSCF = @LSCF@
2004-07-20 15:01:56 +00:00
LTLIBOBJS = @LTLIBOBJS@
MAKEINFO = @MAKEINFO@
1999-12-09 13:01:21 +00:00
MAKE_ADJTIMED = @MAKE_ADJTIMED@
MAKE_CHECK_LAYOUT = @MAKE_CHECK_LAYOUT@
1999-12-09 13:01:21 +00:00
MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
2004-07-20 15:01:56 +00:00
MAKE_LIBNTPSIM = @MAKE_LIBNTPSIM@
1999-12-09 13:01:21 +00:00
MAKE_LIBPARSE = @MAKE_LIBPARSE@
MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
2004-07-20 15:01:56 +00:00
MAKE_NTPDSIM = @MAKE_NTPDSIM@
1999-12-09 13:01:21 +00:00
MAKE_NTPTIME = @MAKE_NTPTIME@
MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
MAKE_TICKADJ = @MAKE_TICKADJ@
2001-08-29 14:35:15 +00:00
MAKE_TIMETRIM = @MAKE_TIMETRIM@
MKDIR_P = @MKDIR_P@
2002-10-29 19:58:12 +00:00
OBJEXT = @OBJEXT@
2001-08-29 14:35:15 +00:00
OPENSSL = @OPENSSL@
OPENSSL_INC = @OPENSSL_INC@
OPENSSL_LIB = @OPENSSL_LIB@
1999-12-09 13:01:21 +00:00
PACKAGE = @PACKAGE@
2004-07-20 15:01:56 +00:00
PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
PACKAGE_NAME = @PACKAGE_NAME@
PACKAGE_STRING = @PACKAGE_STRING@
PACKAGE_TARNAME = @PACKAGE_TARNAME@
PACKAGE_URL = @PACKAGE_URL@
2004-07-20 15:01:56 +00:00
PACKAGE_VERSION = @PACKAGE_VERSION@
2001-08-29 14:35:15 +00:00
PATH_PERL = @PATH_PERL@
2004-07-20 15:01:56 +00:00
PATH_SEPARATOR = @PATH_SEPARATOR@
1999-12-09 13:01:21 +00:00
PATH_SH = @PATH_SH@
PROPDELAY = @PROPDELAY@
RANLIB = @RANLIB@
2004-07-20 15:01:56 +00:00
READLINE_LIBS = @READLINE_LIBS@
SET_MAKE = @SET_MAKE@
SHELL = @SHELL@
STRIP = @STRIP@
1999-12-09 13:01:21 +00:00
TESTDCF = @TESTDCF@
U = @U@
VERSION = @VERSION@
abs_builddir = @abs_builddir@
abs_srcdir = @abs_srcdir@
abs_top_builddir = @abs_top_builddir@
abs_top_srcdir = @abs_top_srcdir@
2004-07-20 15:01:56 +00:00
ac_ct_CC = @ac_ct_CC@
2002-10-29 19:58:12 +00:00
am__include = @am__include@
2004-07-20 15:01:56 +00:00
am__leading_dot = @am__leading_dot@
2002-10-29 19:58:12 +00:00
am__quote = @am__quote@
am__tar = @am__tar@
am__untar = @am__untar@
2004-07-20 15:01:56 +00:00
bindir = @bindir@
build = @build@
build_alias = @build_alias@
build_cpu = @build_cpu@
build_os = @build_os@
build_vendor = @build_vendor@
builddir = @builddir@
2004-07-20 15:01:56 +00:00
datadir = @datadir@
datarootdir = @datarootdir@
docdir = @docdir@
dvidir = @dvidir@
2004-07-20 15:01:56 +00:00
exec_prefix = @exec_prefix@
host = @host@
host_alias = @host_alias@
host_cpu = @host_cpu@
host_os = @host_os@
host_vendor = @host_vendor@
htmldir = @htmldir@
2004-07-20 15:01:56 +00:00
includedir = @includedir@
infodir = @infodir@
2000-01-28 14:55:50 +00:00
install_sh = @install_sh@
2004-07-20 15:01:56 +00:00
libdir = @libdir@
libexecdir = @libexecdir@
localedir = @localedir@
2004-07-20 15:01:56 +00:00
localstatedir = @localstatedir@
mandir = @mandir@
mkdir_p = @mkdir_p@
2004-07-20 15:01:56 +00:00
oldincludedir = @oldincludedir@
pdfdir = @pdfdir@
2004-07-20 15:01:56 +00:00
prefix = @prefix@
program_transform_name = @program_transform_name@
psdir = @psdir@
2004-07-20 15:01:56 +00:00
sbindir = @sbindir@
sharedstatedir = @sharedstatedir@
srcdir = @srcdir@
2004-07-20 15:01:56 +00:00
subdirs = @subdirs@
sysconfdir = @sysconfdir@
target_alias = @target_alias@
top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
1999-12-09 13:01:21 +00:00
AUTOMAKE_OPTIONS = ../util/ansi2knr
AM_CPPFLAGS = -I$(top_srcdir)/include $(LIBOPTS_CFLAGS)
1999-12-09 13:01:21 +00:00
# LDADD might need RESLIB and ADJLIB
ntpq_LDADD = version.o @READLINE_LIBS@ $(LIBOPTS_LDADD) ../libntp/libntp.a
2001-08-29 14:35:15 +00:00
DISTCLEANFILES = .version version.c
1999-12-09 13:01:21 +00:00
noinst_HEADERS = ntpq.h
ETAGS_ARGS = Makefile.am
EXTRA_DIST = ntpq-opts.def ntpq.1 ntpq-opts.texi ntpq-opts.menu
BUILT_SOURCES = ntpq-opts.c ntpq-opts.h ntpq.1 ntpq-opts.texi ntpq-opts.menu
man_MANS = ntpq.1
run_ag = cd $(srcdir) && autogen -L ../include --writable
std_def_list = $(top_srcdir)/include/debug-opt.def \
$(top_srcdir)/include/autogen-version.def \
$(top_srcdir)/include/copyright.def \
$(top_srcdir)/include/homerc.def \
$(top_srcdir)/include/version.def
ntpq_SOURCES = ntpq.c ntpq-subs.c ntpq-opts.c ntpq-opts.h
all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-am
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
.SUFFIXES:
.SUFFIXES: .c .lo .o .obj
$(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
@for dep in $?; do \
case '$(am__configure_deps)' in \
*$$dep*) \
( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
&& { if test -f $@; then exit 0; else break; fi; }; \
exit 1;; \
esac; \
done; \
echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign ntpq/Makefile'; \
$(am__cd) $(top_srcdir) && \
$(AUTOMAKE) --foreign ntpq/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
*config.status*) \
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh;; \
*) \
echo ' cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)'; \
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe);; \
esac;
$(top_builddir)/config.status: $(top_srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(top_srcdir)/configure: $(am__configure_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(ACLOCAL_M4): $(am__aclocal_m4_deps)
cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
$(am__aclocal_m4_deps):
1999-12-09 13:01:21 +00:00
install-binPROGRAMS: $(bin_PROGRAMS)
@$(NORMAL_INSTALL)
test -z "$(bindir)" || $(MKDIR_P) "$(DESTDIR)$(bindir)"
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
for p in $$list; do echo "$$p $$p"; done | \
sed 's/$(EXEEXT)$$//' | \
while read p p1; do if test -f $$p || test -f $$p1; \
then echo "$$p"; echo "$$p"; else :; fi; \
done | \
sed -e 'p;s,.*/,,;n;h' -e 's|.*|.|' \
-e 'p;x;s,.*/,,;s/$(EXEEXT)$$//;$(transform);s/$$/$(EXEEXT)/' | \
sed 'N;N;N;s,\n, ,g' | \
$(AWK) 'BEGIN { files["."] = ""; dirs["."] = 1 } \
{ d=$$3; if (dirs[d] != 1) { print "d", d; dirs[d] = 1 } \
if ($$2 == $$4) files[d] = files[d] " " $$1; \
else { print "f", $$3 "/" $$4, $$1; } } \
END { for (d in files) print "f", d, files[d] }' | \
while read type dir files; do \
if test "$$dir" = .; then dir=; else dir=/$$dir; fi; \
test -z "$$files" || { \
echo " $(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files '$(DESTDIR)$(bindir)$$dir'"; \
$(INSTALL_PROGRAM_ENV) $(LIBTOOL) $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=install $(INSTALL_PROGRAM) $$files "$(DESTDIR)$(bindir)$$dir" || exit $$?; \
} \
; done
1999-12-09 13:01:21 +00:00
uninstall-binPROGRAMS:
@$(NORMAL_UNINSTALL)
@list='$(bin_PROGRAMS)'; test -n "$(bindir)" || list=; \
files=`for p in $$list; do echo "$$p"; done | \
sed -e 'h;s,^.*/,,;s/$(EXEEXT)$$//;$(transform)' \
-e 's/$$/$(EXEEXT)/' `; \
test -n "$$list" || exit 0; \
echo " ( cd '$(DESTDIR)$(bindir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(bindir)" && rm -f $$files
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
clean-binPROGRAMS:
@list='$(bin_PROGRAMS)'; test -n "$$list" || exit 0; \
echo " rm -f" $$list; \
rm -f $$list || exit $$?; \
test -n "$(EXEEXT)" || exit 0; \
list=`for p in $$list; do echo "$$p"; done | sed 's/$(EXEEXT)$$//'`; \
echo " rm -f" $$list; \
rm -f $$list
2002-10-29 19:58:12 +00:00
ntpq$(EXEEXT): $(ntpq_OBJECTS) $(ntpq_DEPENDENCIES)
@rm -f ntpq$(EXEEXT)
$(LINK) $(ntpq_OBJECTS) $(ntpq_LDADD) $(LIBS)
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
mostlyclean-compile:
-rm -f *.$(OBJEXT)
1999-12-09 13:01:21 +00:00
distclean-compile:
-rm -f *.tab.c
2002-10-29 19:58:12 +00:00
../util/ansi2knr:
$(am__cd) ../util && $(MAKE) $(AM_MAKEFLAGS) ./ansi2knr
1999-12-09 13:01:21 +00:00
mostlyclean-kr:
2004-07-20 15:01:56 +00:00
-test "$U" = "" || rm -f *_.c
2002-10-29 19:58:12 +00:00
2004-07-20 15:01:56 +00:00
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpq$U.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpq-opts$U.Po@am__quote@
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/ntpq-subs$U.Po@am__quote@
2002-10-29 19:58:12 +00:00
.c.o:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
2004-07-20 15:01:56 +00:00
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c $<
2002-10-29 19:58:12 +00:00
.c.obj:
@am__fastdepCC_TRUE@ $(COMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ `$(CYGPATH_W) '$<'`
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Po
2004-07-20 15:01:56 +00:00
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
.c.lo:
@am__fastdepCC_TRUE@ $(LTCOMPILE) -MT $@ -MD -MP -MF $(DEPDIR)/$*.Tpo -c -o $@ $<
@am__fastdepCC_TRUE@ $(am__mv) $(DEPDIR)/$*.Tpo $(DEPDIR)/$*.Plo
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
1999-12-09 13:01:21 +00:00
ntpq_.c: ntpq.c $(ANSI2KNR)
2004-07-20 15:01:56 +00:00
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq.c; then echo $(srcdir)/ntpq.c; else echo ntpq.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
ntpq-opts_.c: ntpq-opts.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq-opts.c; then echo $(srcdir)/ntpq-opts.c; else echo ntpq-opts.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
ntpq-subs_.c: ntpq-subs.c $(ANSI2KNR)
$(CPP) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq-subs.c; then echo $(srcdir)/ntpq-subs.c; else echo ntpq-subs.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > $@ || rm -f $@
ntpq_.$(OBJEXT) ntpq_.lo ntpq-opts_.$(OBJEXT) ntpq-opts_.lo \
ntpq-subs_.$(OBJEXT) ntpq-subs_.lo : $(ANSI2KNR)
1999-12-09 13:01:21 +00:00
mostlyclean-libtool:
-rm -f *.lo
2004-07-20 15:01:56 +00:00
clean-libtool:
-rm -rf .libs _libs
install-man1: $(man_MANS)
@$(NORMAL_INSTALL)
test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
@list=''; test -n "$(man1dir)" || exit 0; \
{ for i in $$list; do echo "$$i"; done; \
l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
sed -n '/\.1[a-z]*$$/p'; \
} | while read p; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
echo "$$d$$p"; echo "$$p"; \
done | \
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
sed 'N;N;s,\n, ,g' | { \
list=; while read file base inst; do \
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
fi; \
done; \
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
while read files; do \
test -z "$$files" || { \
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
$(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
done; }
uninstall-man1:
@$(NORMAL_UNINSTALL)
@list=''; test -n "$(man1dir)" || exit 0; \
files=`{ for i in $$list; do echo "$$i"; done; \
l2='$(man_MANS)'; for i in $$l2; do echo "$$i"; done | \
sed -n '/\.1[a-z]*$$/p'; \
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
test -z "$$files" || { \
echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
1999-12-09 13:01:21 +00:00
2000-01-28 14:55:50 +00:00
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
2004-07-20 15:01:56 +00:00
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
2000-01-28 14:55:50 +00:00
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
2004-07-20 15:01:56 +00:00
mkid -fID $$unique
tags: TAGS
1999-12-09 13:01:21 +00:00
2002-10-29 19:58:12 +00:00
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
2000-01-28 14:55:50 +00:00
$(TAGS_FILES) $(LISP)
set x; \
1999-12-09 13:01:21 +00:00
here=`pwd`; \
2004-07-20 15:01:56 +00:00
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
shift; \
if test -z "$(ETAGS_ARGS)$$*$$unique"; then :; else \
test -n "$$unique" || unique=$$empty_fix; \
if test $$# -gt 0; then \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
"$$@" $$unique; \
else \
$(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
$$unique; \
fi; \
fi
2004-07-20 15:01:56 +00:00
ctags: CTAGS
CTAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
$(TAGS_FILES) $(LISP)
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
2000-01-28 14:55:50 +00:00
unique=`for i in $$list; do \
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
done | \
$(AWK) '{ files[$$0] = 1; nonempty = 1; } \
END { if (nonempty) { for (i in files) print i; }; }'`; \
test -z "$(CTAGS_ARGS)$$unique" \
2004-07-20 15:01:56 +00:00
|| $(CTAGS) $(CTAGSFLAGS) $(AM_CTAGSFLAGS) $(CTAGS_ARGS) \
$$unique
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
GTAGS:
2004-07-20 15:01:56 +00:00
here=`$(am__cd) $(top_builddir) && pwd` \
&& $(am__cd) $(top_srcdir) \
&& gtags -i $(GTAGS_ARGS) "$$here"
1999-12-09 13:01:21 +00:00
distclean-tags:
2004-07-20 15:01:56 +00:00
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
2001-08-29 14:35:15 +00:00
distdir: $(DISTFILES)
@list='$(MANS)'; if test -n "$$list"; then \
list=`for p in $$list; do \
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
if test -n "$$list" && \
grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
echo " typically \`make maintainer-clean' will remove them" >&2; \
exit 1; \
else :; fi; \
else :; fi
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
topsrcdirstrip=`echo "$(top_srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
list='$(DISTFILES)'; \
dist_files=`for file in $$list; do echo $$file; done | \
sed -e "s|^$$srcdirstrip/||;t" \
-e "s|^$$topsrcdirstrip/|$(top_builddir)/|;t"`; \
case $$dist_files in \
*/*) $(MKDIR_P) `echo "$$dist_files" | \
sed '/\//!d;s|^|$(distdir)/|;s,/[^/]*$$,,' | \
sort -u` ;; \
esac; \
for file in $$dist_files; do \
2004-07-20 15:01:56 +00:00
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
2001-08-29 14:35:15 +00:00
if test -d $$d/$$file; then \
dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
if test -d "$(distdir)/$$file"; then \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
fi; \
2004-07-20 15:01:56 +00:00
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
2004-07-20 15:01:56 +00:00
fi; \
cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
2001-08-29 14:35:15 +00:00
else \
test -f "$(distdir)/$$file" \
|| cp -p $$d/$$file "$(distdir)/$$file" \
2001-08-29 14:35:15 +00:00
|| exit 1; \
fi; \
done
1999-12-09 13:01:21 +00:00
check-am: all-am
check: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) check-am
all-am: Makefile $(PROGRAMS) $(MANS) $(HEADERS)
2001-08-29 14:35:15 +00:00
installdirs:
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"; do \
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
done
install: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) install-am
2001-08-29 14:35:15 +00:00
install-exec: install-exec-am
1999-12-09 13:01:21 +00:00
install-data: install-data-am
2001-08-29 14:35:15 +00:00
uninstall: uninstall-am
1999-12-09 13:01:21 +00:00
install-am: all-am
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
2001-08-29 14:35:15 +00:00
installcheck: installcheck-am
install-strip:
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
install_sh_PROGRAM="$(INSTALL_STRIP_PROGRAM)" INSTALL_STRIP_FLAG=-s \
2002-10-29 19:58:12 +00:00
`test -z '$(STRIP)' || \
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
1999-12-09 13:01:21 +00:00
mostlyclean-generic:
clean-generic:
distclean-generic:
-test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
-test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
1999-12-09 13:01:21 +00:00
-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
maintainer-clean-generic:
2001-08-29 14:35:15 +00:00
@echo "This command is intended for maintainers to use"
@echo "it deletes files that may require special tools to rebuild."
-test -z "$(BUILT_SOURCES)" || rm -f $(BUILT_SOURCES)
2001-08-29 14:35:15 +00:00
clean: clean-am
1999-12-09 13:01:21 +00:00
clean-am: clean-binPROGRAMS clean-generic clean-libtool mostlyclean-am
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
distclean: distclean-am
2004-07-20 15:01:56 +00:00
-rm -rf ./$(DEPDIR)
-rm -f Makefile
distclean-am: clean-am distclean-compile distclean-generic \
distclean-tags
1999-12-09 13:01:21 +00:00
2002-10-29 19:58:12 +00:00
dvi: dvi-am
1999-12-09 13:01:21 +00:00
2001-08-29 14:35:15 +00:00
dvi-am:
1999-12-09 13:01:21 +00:00
html: html-am
html-am:
2002-10-29 19:58:12 +00:00
info: info-am
2001-08-29 14:35:15 +00:00
info-am:
install-data-am: install-man
2001-08-29 14:35:15 +00:00
install-dvi: install-dvi-am
install-dvi-am:
2001-08-29 14:35:15 +00:00
install-exec-am: install-binPROGRAMS
install-html: install-html-am
install-html-am:
2002-10-29 19:58:12 +00:00
install-info: install-info-am
2001-08-29 14:35:15 +00:00
install-info-am:
install-man: install-man1
2001-08-29 14:35:15 +00:00
install-pdf: install-pdf-am
install-pdf-am:
install-ps: install-ps-am
install-ps-am:
2001-08-29 14:35:15 +00:00
installcheck-am:
1999-12-09 13:01:21 +00:00
maintainer-clean: maintainer-clean-am
2004-07-20 15:01:56 +00:00
-rm -rf ./$(DEPDIR)
-rm -f Makefile
2001-08-29 14:35:15 +00:00
maintainer-clean-am: distclean-am maintainer-clean-generic
mostlyclean: mostlyclean-am
mostlyclean-am: mostlyclean-compile mostlyclean-generic mostlyclean-kr \
mostlyclean-libtool
2001-08-29 14:35:15 +00:00
2004-07-20 15:01:56 +00:00
pdf: pdf-am
pdf-am:
ps: ps-am
ps-am:
uninstall-am: uninstall-binPROGRAMS uninstall-man
uninstall-man: uninstall-man1
2001-08-29 14:35:15 +00:00
.MAKE: ../util/ansi2knr all check install install-am install-strip
2004-07-20 15:01:56 +00:00
.PHONY: CTAGS GTAGS all all-am check check-am clean clean-binPROGRAMS \
clean-generic clean-libtool ctags distclean distclean-compile \
distclean-generic distclean-libtool distclean-tags distdir dvi \
dvi-am html html-am info info-am install install-am \
install-binPROGRAMS install-data install-data-am install-dvi \
install-dvi-am install-exec install-exec-am install-html \
install-html-am install-info install-info-am install-man \
install-man1 install-pdf install-pdf-am install-ps \
install-ps-am install-strip installcheck installcheck-am \
installdirs maintainer-clean maintainer-clean-generic \
mostlyclean mostlyclean-compile mostlyclean-generic \
mostlyclean-kr mostlyclean-libtool pdf pdf-am ps ps-am tags \
uninstall uninstall-am uninstall-binPROGRAMS uninstall-man \
uninstall-man1
1999-12-09 13:01:21 +00:00
$(srcdir)/ntpq-opts.h: $(srcdir)/ntpq-opts.c
$(srcdir)/ntpq-opts.c: $(srcdir)/ntpq-opts.def $(std_def_list)
$(run_ag) ntpq-opts.def
$(srcdir)/ntpq.1: $(srcdir)/ntpq-opts.def $(std_def_list)
$(run_ag) -Tagman1.tpl -bntpq ntpq-opts.def
$(srcdir)/ntpq-opts.texi $(srcdir)/ntpq-opts.menu: $(srcdir)/ntpq-opts.def $(std_def_list)
$(run_ag) -Taginfo.tpl -DLEVEL=section ntpq-opts.def
1999-12-09 13:01:21 +00:00
$(PROGRAMS): $(LDADD)
../libntp/libntp.a:
cd ../libntp && $(MAKE)
$(top_srcdir)/version :
cd $(top_srcdir) && $(MAKE) version
2004-07-20 15:01:56 +00:00
version.o: $(ntpq_OBJECTS) ../libntp/libntp.a Makefile $(top_srcdir)/version
2002-10-29 19:58:12 +00:00
env CSET=`cat $(top_srcdir)/version` $(top_builddir)/scripts/mkver ntpq
1999-12-09 13:01:21 +00:00
$(COMPILE) -c version.c
1999-12-09 13:01:21 +00:00
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: