xref: /freebsd/contrib/ntp/ntpdate/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 = ntpdate ntptimeset
102ntptimeset_SOURCES = ntptimeset.c ntptime_config.c
103INCLUDES = -I$(top_srcdir)/include
104# LDADD might need RESLIB and ADJLIB
105LDADD = version.o ../libntp/libntp.a @LIBRSAREF@
106DISTCLEANFILES = .version stamp-v
107noinst_HEADERS = ntpdate.h
108#EXTRA_DIST = ntpdate.mak
109ETAGS_ARGS = Makefile.am
110subdir = ntpdate
111mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
112CONFIG_HEADER = ../config.h
113CONFIG_CLEAN_FILES =
114PROGRAMS =  $(bin_PROGRAMS)
115
116
117DEFS = @DEFS@ -I. -I$(srcdir) -I..
118CPPFLAGS = @CPPFLAGS@
119LIBS = @LIBS@
120ANSI2KNR = ../util/ansi2knr
121ntpdate_SOURCES = ntpdate.c
122ntpdate_OBJECTS =  ntpdate$U.o
123ntpdate_LDADD = $(LDADD)
124ntpdate_DEPENDENCIES =  version.o ../libntp/libntp.a
125ntpdate_LDFLAGS =
126am_ntptimeset_OBJECTS =  ntptimeset$U.o ntptime_config$U.o
127ntptimeset_OBJECTS =  $(am_ntptimeset_OBJECTS)
128ntptimeset_LDADD = $(LDADD)
129ntptimeset_DEPENDENCIES =  version.o ../libntp/libntp.a
130ntptimeset_LDFLAGS =
131COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
132CCLD = $(CC)
133LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
134DIST_SOURCES =  ntpdate.c $(ntptimeset_SOURCES)
135HEADERS =  $(noinst_HEADERS)
136
137DIST_COMMON =  README $(noinst_HEADERS) Makefile.am Makefile.in
138
139
140DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
141
142GZIP_ENV = --best
143SOURCES = ntpdate.c $(ntptimeset_SOURCES)
144OBJECTS = ntpdate$U.o $(am_ntptimeset_OBJECTS)
145
146all: all-redirect
147.SUFFIXES:
148.SUFFIXES: .c .o
149$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
150	cd $(top_srcdir) && $(AUTOMAKE) --gnu --include-deps ntpdate/Makefile
151
152Makefile: $(srcdir)/Makefile.in  $(top_builddir)/config.status
153	cd $(top_builddir) \
154	  && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
155
156
157mostlyclean-binPROGRAMS:
158
159clean-binPROGRAMS:
160	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
161
162distclean-binPROGRAMS:
163
164maintainer-clean-binPROGRAMS:
165
166install-binPROGRAMS: $(bin_PROGRAMS)
167	@$(NORMAL_INSTALL)
168	$(mkinstalldirs) $(DESTDIR)$(bindir)
169	@list='$(bin_PROGRAMS)'; for p in $$list; do \
170	  if test -f $$p; then \
171	    f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
172	    echo "  $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f"; \
173	     $(INSTALL_PROGRAM) $(INSTALL_STRIP_FLAG) $$p $(DESTDIR)$(bindir)/$$f; \
174	  else :; fi; \
175	done
176
177uninstall-binPROGRAMS:
178	@$(NORMAL_UNINSTALL)
179	@list='$(bin_PROGRAMS)'; for p in $$list; do \
180	  f="`echo $$p|sed -e 's/$(EXEEXT)$$//' -e '$(transform)' -e 's/$$/$(EXEEXT)/'`"; \
181	  echo " rm -f $(DESTDIR)$(bindir)/$$f"; \
182	  rm -f $(DESTDIR)$(bindir)/$$f; \
183	done
184
185.c.o:
186	$(COMPILE) -c $<
187
188mostlyclean-compile:
189	-rm -f *.o core *.core
190
191clean-compile:
192
193distclean-compile:
194	-rm -f *.tab.c
195
196maintainer-clean-compile:
197../util/ansi2knr: ../util/ansi2knr.o
198	cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr
199
200../util/ansi2knr.o:
201	cd ../util && $(MAKE) $(AM_MAKEFLAGS) ansi2knr.o
202
203
204mostlyclean-kr:
205	-rm -f *_.c
206
207clean-kr:
208
209distclean-kr:
210
211maintainer-clean-kr:
212ntpdate$U.o:
213
214ntpdate: $(ntpdate_OBJECTS) $(ntpdate_DEPENDENCIES)
215	@rm -f ntpdate
216	$(LINK) $(ntpdate_LDFLAGS) $(ntpdate_OBJECTS) $(ntpdate_LDADD) $(LIBS)
217ntptimeset$U.o:
218ntptime_config$U.o:
219
220ntptimeset: $(ntptimeset_OBJECTS) $(ntptimeset_DEPENDENCIES)
221	@rm -f ntptimeset
222	$(LINK) $(ntptimeset_LDFLAGS) $(ntptimeset_OBJECTS) $(ntptimeset_LDADD) $(LIBS)
223ntpdate_.c: ntpdate.c $(ANSI2KNR)
224	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntpdate.c; then echo $(srcdir)/ntpdate.c; else echo ntpdate.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntpdate_.c
225ntptime_config_.c: ntptime_config.c $(ANSI2KNR)
226	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntptime_config.c; then echo $(srcdir)/ntptime_config.c; else echo ntptime_config.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntptime_config_.c
227ntptimeset_.c: ntptimeset.c $(ANSI2KNR)
228	$(CPP) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) `if test -f $(srcdir)/ntptimeset.c; then echo $(srcdir)/ntptimeset.c; else echo ntptimeset.c; fi` | sed 's/^# \([0-9]\)/#line \1/' | $(ANSI2KNR) > ntptimeset_.c
229ntpdate_.o ntptime_config_.o ntptimeset_.o : $(ANSI2KNR)
230
231tags: TAGS
232
233ID: $(HEADERS) $(SOURCES) $(LISP)
234	list='$(SOURCES) $(HEADERS)'; \
235	unique=`for i in $$list; do echo $$i; done | \
236	  ${AWK:-awk} '    { files[$$0] = 1; } \
237	       END { for (i in files) print i; }'`; \
238	here=`pwd` && cd $(srcdir) \
239	  && mkid -f$$here/ID $$unique $(LISP)
240
241TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) $(LISP)
242	tags=; \
243	here=`pwd`; \
244	list='$(SOURCES) $(HEADERS)'; \
245	unique=`for i in $$list; do echo $$i; done | \
246	  ${AWK:-awk} '    { files[$$0] = 1; } \
247	       END { for (i in files) print i; }'`; \
248	test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
249	  || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags  $$unique $(LISP) -o $$here/TAGS)
250
251mostlyclean-tags:
252
253clean-tags:
254
255distclean-tags:
256	-rm -f TAGS ID
257
258maintainer-clean-tags:
259
260distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
261
262distdir: $(DISTFILES)
263	@for file in $(DISTFILES); do \
264	  d=$(srcdir); \
265	  if test -d $$d/$$file; then \
266	    cp -pr $$d/$$file $(distdir)/$$file; \
267	  else \
268	    test -f $(distdir)/$$file \
269	    || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
270	    || cp -p $$d/$$file $(distdir)/$$file || :; \
271	  fi; \
272	done
273ntpdate.o: ntpdate.c ../config.h ../include/ntp_fp.h \
274	../include/ntp_types.h ../include/ntp_machine.h \
275	../include/ntp_proto.h ../include/ntp.h ../include/ntp_io.h \
276	../include/ntp_unixtime.h ntpdate.h ../include/ntp_malloc.h \
277	../include/ntp_string.h ../include/ntp_syslog.h \
278	../include/ntp_select.h ../include/ntp_stdlib.h \
279	../include/l_stdlib.h ../include/recvbuff.h
280ntptime_config.o: ntptime_config.c ../config.h ../include/ntp_fp.h \
281	../include/ntp_types.h ../include/ntp_machine.h \
282	../include/ntp_proto.h ../include/ntp.h ../include/ntp_io.h \
283	../include/ntp_unixtime.h ../include/ntp_filegen.h ntpdate.h \
284	../include/ntp_malloc.h ../include/ntp_syslog.h \
285	../include/ntp_stdlib.h ../include/ntp_string.h \
286	../include/l_stdlib.h
287ntptimeset.o: ntptimeset.c ../config.h ../include/ntp_fp.h \
288	../include/ntp_types.h ../include/ntp_machine.h \
289	../include/ntp_proto.h ../include/ntp.h ../include/ntp_io.h \
290	../include/iosignal.h ../include/ntp_refclock.h \
291	../include/recvbuff.h ../include/ntp_unixtime.h ntpdate.h \
292	../include/ntp_malloc.h ../include/ntp_string.h \
293	../include/ntp_syslog.h ../include/ntp_select.h \
294	../include/ntp_stdlib.h ../include/l_stdlib.h
295
296info-am:
297info: info-am
298dvi-am:
299dvi: dvi-am
300check-am: all-am
301check: check-am
302installcheck-am:
303installcheck: installcheck-am
304install-exec-am: install-binPROGRAMS
305install-exec: install-exec-am
306
307install-data-am:
308install-data: install-data-am
309
310install-am: all-am
311	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
312install: install-am
313uninstall-am: uninstall-binPROGRAMS
314uninstall: uninstall-am
315all-am: Makefile $(PROGRAMS) $(HEADERS)
316all-redirect: all-am
317install-strip:
318	$(MAKE) $(AM_MAKEFLAGS) INSTALL_STRIP_FLAG=-s install
319installdirs:
320	$(mkinstalldirs)  $(DESTDIR)$(bindir)
321
322
323mostlyclean-generic:
324
325clean-generic:
326
327distclean-generic:
328	-rm -f Makefile $(CONFIG_CLEAN_FILES)
329	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
330	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
331
332maintainer-clean-generic:
333mostlyclean-am:  mostlyclean-binPROGRAMS mostlyclean-compile \
334		mostlyclean-kr mostlyclean-tags mostlyclean-generic
335
336mostlyclean: mostlyclean-am
337
338clean-am:  clean-binPROGRAMS clean-compile clean-kr clean-tags \
339		clean-generic mostlyclean-am
340
341clean: clean-am
342
343distclean-am:  distclean-binPROGRAMS distclean-compile distclean-kr \
344		distclean-tags distclean-generic clean-am
345
346distclean: distclean-am
347
348maintainer-clean-am:  maintainer-clean-binPROGRAMS \
349		maintainer-clean-compile maintainer-clean-kr \
350		maintainer-clean-tags maintainer-clean-generic \
351		distclean-am
352	@echo "This command is intended for maintainers to use;"
353	@echo "it deletes files that may require special tools to rebuild."
354
355maintainer-clean: maintainer-clean-am
356
357.PHONY: mostlyclean-binPROGRAMS distclean-binPROGRAMS clean-binPROGRAMS \
358maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
359mostlyclean-compile distclean-compile clean-compile \
360maintainer-clean-compile mostlyclean-kr distclean-kr clean-kr \
361maintainer-clean-kr tags mostlyclean-tags distclean-tags clean-tags \
362maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
363installcheck-am installcheck install-exec-am install-exec \
364install-data-am install-data install-am install uninstall-am uninstall \
365all-redirect all-am all install-strip installdirs mostlyclean-generic \
366distclean-generic clean-generic maintainer-clean-generic clean \
367mostlyclean distclean maintainer-clean
368
369
370$(PROGRAMS): $(LDADD)
371
372../libntp/libntp.a:
373	cd ../libntp && $(MAKE)
374
375version.o: $(ntpdate_OBJECTS) ../libntp/libntp.a @LIBRSAREF@ Makefile
376	$(top_builddir)/scripts/mkver ntpdate
377	$(COMPILE) -c version.c
378
379# Tell versions [3.59,3.63) of GNU make to not export all variables.
380# Otherwise a system limit (for SysV at least) may be exceeded.
381.NOEXPORT:
382