xref: /freebsd/contrib/ntp/ntpdc/Makefile.in (revision c0b746e5e8d9479f05b3749cbf1f73b8928719bd)
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 = ntpdc
102INCLUDES = -I$(top_srcdir)/include
103# LDADD might need RESLIB and ADJLIB
104LDADD = version.o ../libntp/libntp.a @LIBRSAREF@
105DISTCLEANFILES = .version version.c
106noinst_HEADERS = ntpdc.h
107#EXTRA_DIST = ntpdc.mak
108ETAGS_ARGS = Makefile.am
109
110ntpdc_SOURCES = ntpdc.c ntpdc_ops.c
111subdir = ntpdc
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_ntpdc_OBJECTS =  ntpdc$U.o ntpdc_ops$U.o
123ntpdc_OBJECTS =  $(am_ntpdc_OBJECTS)
124ntpdc_LDADD = $(LDADD)
125ntpdc_DEPENDENCIES =  version.o ../libntp/libntp.a
126ntpdc_LDFLAGS =
127COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
128CCLD = $(CC)
129LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
130DIST_SOURCES =  $(ntpdc_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 = $(ntpdc_SOURCES)
140OBJECTS = $(am_ntpdc_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 ntpdc/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:
208ntpdc$U.o:
209ntpdc_ops$U.o:
210
211ntpdc: $(ntpdc_OBJECTS) $(ntpdc_DEPENDENCIES)
212	@rm -f ntpdc
213	$(LINK) $(ntpdc_LDFLAGS) $(ntpdc_OBJECTS) $(ntpdc_LDADD) $(LIBS)
214ntpdc_.c: ntpdc.c $(ANSI2KNR)
215	$(CPP) $(DEFS) $(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) > ntpdc_.c
216ntpdc_ops_.c: ntpdc_ops.c $(ANSI2KNR)
217	$(CPP) $(DEFS) $(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) > ntpdc_ops_.c
218ntpdc_.o ntpdc_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
262ntpdc.o: ntpdc.c ntpdc.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_request.h \
265	../include/ntp_string.h ../include/ntp_malloc.h \
266	../include/ntp_select.h ../include/ntp_io.h \
267	../include/ntp_stdlib.h ../include/l_stdlib.h
268ntpdc_ops.o: ntpdc_ops.c ../config.h ntpdc.h ../include/ntp_fp.h \
269	../include/ntp_types.h ../include/ntp_machine.h \
270	../include/ntp_proto.h ../include/ntp.h \
271	../include/ntp_request.h ../include/ntp_string.h \
272	../include/ntp_malloc.h ../include/ntp_control.h \
273	../include/ntp_refclock.h ../include/recvbuff.h \
274	../include/ntp_stdlib.h ../include/l_stdlib.h
275
276info-am:
277info: info-am
278dvi-am:
279dvi: dvi-am
280check-am: all-am
281check: check-am
282installcheck-am:
283installcheck: installcheck-am
284install-exec-am: install-binPROGRAMS
285install-exec: install-exec-am
286
287install-data-am:
288install-data: install-data-am
289
290install-am: all-am
291	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
292install: install-am
293uninstall-am: uninstall-binPROGRAMS
294uninstall: uninstall-am
295all-am: Makefile $(PROGRAMS) $(HEADERS)
296all-redirect: all-am
297install-strip:
298	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
299installdirs:
300	$(mkinstalldirs)  $(DESTDIR)$(bindir)
301
302
303mostlyclean-generic:
304
305clean-generic:
306
307distclean-generic:
308	-rm -f Makefile $(CONFIG_CLEAN_FILES)
309	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
310	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
311
312maintainer-clean-generic:
313mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
314		mostlyclean-kr mostlyclean-tags mostlyclean-generic
315
316mostlyclean: mostlyclean-am
317
318clean-am:  clean-binPROGRAMS clean-compile clean-kr clean-tags \
319		clean-generic mostlyclean-am
320
321clean: clean-am
322
323distclean-am:  distclean-binPROGRAMS distclean-compile distclean-kr \
324		distclean-tags distclean-generic clean-am
325
326distclean: distclean-am
327
328maintainer-clean-am:  maintainer-clean-binPROGRAMS \
329		maintainer-clean-compile maintainer-clean-kr \
330		maintainer-clean-tags maintainer-clean-generic \
331		distclean-am
332	@echo "This command is intended for maintainers to use;"
333	@echo "it deletes files that may require special tools to rebuild."
334
335maintainer-clean: maintainer-clean-am
336
337.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
338maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
339mostlyclean-compile distclean-compile clean-compile \
340maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
341maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
342maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
343installcheck-am installcheck install-exec-am install-exec \
344install-data-am install-data install-am install uninstall-am uninstall \
345all-redirect all-am all install-strip installdirs mostlyclean-generic \
346distclean-generic clean-generic maintainer-clean-generic clean \
347mostlyclean distclean maintainer-clean
348
349
350$(PROGRAMS): $(LDADD)
351
352../libntp/libntp.a:
353	cd ../libntp && $(MAKE)
354
355version.o: $(ntpdc_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile
356	$(top_builddir)/scripts/mkver ntpdc
357	$(COMPILE) -c version.c
358
359# Tell versions [3.59,3.63) of GNU make to not export all variables.
360# Otherwise a system limit (for SysV at least) may be exceeded.
361.NOEXPORT:
362