xref: /freebsd/contrib/ntp/ntpq/Makefile.in (revision 5129159789cc9d7bc514e4546b88e3427695002d)
1# Makefile.in generated automatically by automake 1.4a from Makefile.am
2
3# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
4# This Makefile.in is free software; the Free Software Foundation
5# gives unlimited permission to copy and/or distribute it,
6# with or without modifications, as long as this notice is preserved.
7
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
10# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
11# PARTICULAR PURPOSE.
12
13SHELL = @SHELL@
14
15srcdir = @srcdir@
16top_srcdir = @top_srcdir@
17VPATH = @srcdir@
18prefix = @prefix@
19exec_prefix = @exec_prefix@
20
21bindir = @bindir@
22sbindir = @sbindir@
23libexecdir = @libexecdir@
24datadir = @datadir@
25sysconfdir = @sysconfdir@
26sharedstatedir = @sharedstatedir@
27localstatedir = @localstatedir@
28libdir = @libdir@
29infodir = @infodir@
30mandir = @mandir@
31includedir = @includedir@
32oldincludedir = /usr/include
33
34DESTDIR =
35
36pkgdatadir = $(datadir)/@PACKAGE@
37pkglibdir = $(libdir)/@PACKAGE@
38pkgincludedir = $(includedir)/@PACKAGE@
39
40top_builddir = ..
41
42ACLOCAL = @ACLOCAL@
43AUTOCONF = @AUTOCONF@
44AUTOMAKE = @AUTOMAKE@
45AUTOHEADER = @AUTOHEADER@
46
47INSTALL = @INSTALL@
48INSTALL_PROGRAM = @INSTALL_PROGRAM@
49INSTALL_DATA = @INSTALL_DATA@
50INSTALL_SCRIPT = @INSTALL_SCRIPT@
51INSTALL_STRIP_FLAG =
52transform = @program_transform_name@
53
54NORMAL_INSTALL = :
55PRE_INSTALL = :
56POST_INSTALL = :
57NORMAL_UNINSTALL = :
58PRE_UNINSTALL = :
59POST_UNINSTALL = :
60build_alias = @build_alias@
61build_triplet = @build@
62host_alias = @host_alias@
63host_triplet = @host@
64target_alias = @target_alias@
65target_triplet = @target@
66AMTAR = @AMTAR@
67AMTARFLAGS = @AMTARFLAGS@
68AWK = @AWK@
69CC = @CC@
70CFLAGS = @CFLAGS@
71CHUTEST = @CHUTEST@
72CLKTEST = @CLKTEST@
73CPP = @CPP@
74DCFD = @DCFD@
75LDFLAGS = @LDFLAGS@
76LIBPARSE = @LIBPARSE@
77LIBRSAREF = @LIBRSAREF@
78LN_S = @LN_S@
79MAKEINFO = @MAKEINFO@
80MAKE_ADJTIMED = @MAKE_ADJTIMED@
81MAKE_CHECK_Y2K = @MAKE_CHECK_Y2K@
82MAKE_LIBPARSE = @MAKE_LIBPARSE@
83MAKE_LIBPARSE_KERNEL = @MAKE_LIBPARSE_KERNEL@
84MAKE_LIBRSAREF = @MAKE_LIBRSAREF@
85MAKE_NTPTIME = @MAKE_NTPTIME@
86MAKE_PARSEKMODULE = @MAKE_PARSEKMODULE@
87MAKE_TICKADJ = @MAKE_TICKADJ@
88PACKAGE = @PACKAGE@
89PATH_SH = @PATH_SH@
90PROPDELAY = @PROPDELAY@
91RANLIB = @RANLIB@
92RSAREF = @RSAREF@
93TESTDCF = @TESTDCF@
94U = @U@
95VERSION = @VERSION@
96
97#AUTOMAKE_OPTIONS = ../util/ansi2knr no-dependencies
98
99
100AUTOMAKE_OPTIONS = ../util/ansi2knr
101bin_PROGRAMS = ntpq
102INCLUDES = -I$(top_srcdir)/include
103# LDADD might need RESLIB and ADJLIB
104LDADD = version.o ../libntp/libntp.a @LIBRSAREF@
105DISTCLEANFILES = .version
106noinst_HEADERS = ntpq.h
107#EXTRA_DIST = ntpq.mak
108ETAGS_ARGS = Makefile.am
109
110ntpq_SOURCES = ntpq.c ntpq_ops.c
111subdir = ntpq
112mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
113CONFIG_HEADER = ../config.h
114CONFIG_CLEAN_FILES =
115PROGRAMS =  $(bin_PROGRAMS)
116
117
118DEFS = @DEFS@ -I. -I$(srcdir) -I..
119CPPFLAGS = @CPPFLAGS@
120LIBS = @LIBS@
121ANSI2KNR = ../util/ansi2knr
122am_ntpq_OBJECTS =  ntpq$U.o ntpq_ops$U.o
123ntpq_OBJECTS =  $(am_ntpq_OBJECTS)
124ntpq_LDADD = $(LDADD)
125ntpq_DEPENDENCIES =  version.o ../libntp/libntp.a
126ntpq_LDFLAGS =
127COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
128CCLD = $(CC)
129LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
130DIST_SOURCES =  $(ntpq_SOURCES)
131HEADERS =  $(noinst_HEADERS)
132
133DIST_COMMON =  README $(noinst_HEADERS) Makefile.am Makefile.in
134
135
136DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
137
138GZIP_ENV = --best
139SOURCES = $(ntpq_SOURCES)
140OBJECTS = $(am_ntpq_OBJECTS)
141
142all: all-redirect
143.SUFFIXES:
144.SUFFIXES: .c .o
145$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
146	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps ntpq/Makefile
147
148Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
149	cd $(top_builddir) \
150	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
151
152
153mostlyclean-binPROGRAMS:
154
155clean-binPROGRAMS:
156	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
157
158distclean-binPROGRAMS:
159
160maintainer-clean-binPROGRAMS:
161
162install-binPROGRAMS: $(bin_PROGRAMS)
163	@$(NORMAL_INSTALL)
164	$(mkinstalldirs) $(DESTDIR)$(bindir)
165	@list='$(bin_PROGRAMS)'; for p in $$list; do \
166	  if test -f $$p; then \
167	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
168	    echo "  $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
169	     $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
170	  else :; fi; \
171	done
172
173uninstall-binPROGRAMS:
174	@$(NORMAL_UNINSTALL)
175	@list='$(bin_PROGRAMS)'; for p in $$list; do \
176	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
177	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
178	  rm -f $(DESTDIR)$(bindir)/$$f; \
179	done
180
181.c.o:
182	$(COMPILE) -c $<
183
184mostlyclean-compile:
185	-rm -f *.o core *.core
186
187clean-compile:
188
189distclean-compile:
190	-rm -f *.tab.c
191
192maintainer-clean-compile:
193../util/ansi2knr: ../util/ansi2knr.o
194	cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
195
196../util/ansi2knr.o:
197	cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.o
198
199
200mostlyclean-kr:
201	-rm -f *_.c
202
203clean-kr:
204
205distclean-kr:
206
207maintainer-clean-kr:
208ntpq$U.o:
209ntpq_ops$U.o:
210
211ntpq: $(ntpq_OBJECTS) $(ntpq_DEPENDENCIES)
212	@rm -f ntpq
213	$(LINK) $(ntpq_LDFLAGS) $(ntpq_OBJECTS) $(ntpq_LDADD) $(LIBS)
214ntpq_.c: ntpq.c $(ANSI2KNR)
215	$(CPP) $(DEFS) $(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) > ntpq_.c
216ntpq_ops_.c: ntpq_ops.c $(ANSI2KNR)
217	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpq_ops.c; then echo $(srcdir)/ntpq_ops.c; else echo ntpq_ops.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpq_ops_.c
218ntpq_.o ntpq_ops_.o : $(ANSI2KNR)
219
220tags: TAGS
221
222ID: $(HEADERS) $(SOURCES) $(LISP)
223	list='$(SOURCES) $(HEADERS)'; \
224	unique=`for i in $$list; do echo $$i; done | \
225	  ${AWK:-awk} '    { files[$$0] = 1; } \
226	       END { for (i in files) print i; }'`; \
227	here=`pwd` && cd $(srcdir) \
228	  && mkid -f$$here/ID $$unique $(LISP)
229
230TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
231	tags=; \
232	here=`pwd`; \
233	list='$(SOURCES) $(HEADERS)'; \
234	unique=`for i in $$list; do echo $$i; done | \
235	  ${AWK:-awk} '    { files[$$0] = 1; } \
236	       END { for (i in files) print i; }'`; \
237	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
238	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
239
240mostlyclean-tags:
241
242clean-tags:
243
244distclean-tags:
245	-rm -f TAGS ID
246
247maintainer-clean-tags:
248
249distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
250
251distdir: $(DISTFILES)
252	@for file in $(DISTFILES); do \
253	  d=$(srcdir); \
254	  if test -d $$d/$$file; then \
255	    cp -pr $$d/$$file $(distdir)/$$file; \
256	  else \
257	    test -f $(distdir)/$$file \
258	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
259	    || cp -p $$d/$$file $(distdir)/$$file || :; \
260	  fi; \
261	done
262ntpq.o: ntpq.c ntpq.h ../include/ntp_fp.h ../include/ntp_types.h \
263	../include/ntp_machine.h ../config.h ../include/ntp_proto.h \
264	../include/ntp.h ../include/ntp_control.h \
265	../include/ntp_string.h ../include/ntp_malloc.h \
266	../include/ntp_unixtime.h ../include/ntp_calendar.h \
267	../include/ntp_io.h ../include/ntp_select.h \
268	../include/ntp_stdlib.h ../include/l_stdlib.h
269ntpq_ops.o: ntpq_ops.c ntpq.h ../include/ntp_fp.h ../include/ntp_types.h \
270	../include/ntp_machine.h ../config.h ../include/ntp_proto.h \
271	../include/ntp.h ../include/ntp_control.h \
272	../include/ntp_string.h ../include/ntp_malloc.h \
273	../include/ntp_stdlib.h ../include/l_stdlib.h
274
275info-am:
276info: info-am
277dvi-am:
278dvi: dvi-am
279check-am: all-am
280check: check-am
281installcheck-am:
282installcheck: installcheck-am
283install-exec-am: install-binPROGRAMS
284install-exec: install-exec-am
285
286install-data-am:
287install-data: install-data-am
288
289install-am: all-am
290	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
291install: install-am
292uninstall-am: uninstall-binPROGRAMS
293uninstall: uninstall-am
294all-am: Makefile $(PROGRAMS) $(HEADERS)
295all-redirect: all-am
296install-strip:
297	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
298installdirs:
299	$(mkinstalldirs)  $(DESTDIR)$(bindir)
300
301
302mostlyclean-generic:
303
304clean-generic:
305
306distclean-generic:
307	-rm -f Makefile $(CONFIG_CLEAN_FILES)
308	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
309	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
310
311maintainer-clean-generic:
312mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
313		mostlyclean-kr mostlyclean-tags mostlyclean-generic
314
315mostlyclean: mostlyclean-am
316
317clean-am:  clean-binPROGRAMS clean-compile clean-kr clean-tags \
318		clean-generic mostlyclean-am
319
320clean: clean-am
321
322distclean-am:  distclean-binPROGRAMS distclean-compile distclean-kr \
323		distclean-tags distclean-generic clean-am
324
325distclean: distclean-am
326
327maintainer-clean-am:  maintainer-clean-binPROGRAMS \
328		maintainer-clean-compile maintainer-clean-kr \
329		maintainer-clean-tags maintainer-clean-generic \
330		distclean-am
331	@echo "This command is intended for maintainers to use;"
332	@echo "it deletes files that may require special tools to rebuild."
333
334maintainer-clean: maintainer-clean-am
335
336.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
337maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
338mostlyclean-compile distclean-compile clean-compile \
339maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
340maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
341maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
342installcheck-am installcheck install-exec-am install-exec \
343install-data-am install-data install-am install uninstall-am uninstall \
344all-redirect all-am all install-strip installdirs mostlyclean-generic \
345distclean-generic clean-generic maintainer-clean-generic clean \
346mostlyclean distclean maintainer-clean
347
348
349$(PROGRAMS): $(LDADD)
350
351../libntp/libntp.a:
352	cd ../libntp && $(MAKE)
353
354version.o: $(ntpq_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile
355	$(top_builddir)/scripts/mkver ntpq
356	$(COMPILE) -c version.c
357
358# Tell versions [3.59,3.63) of GNU make to not export all variables.
359# Otherwise a system limit (for SysV at least) may be exceeded.
360.NOEXPORT:
361