xref: /openbsd/gnu/usr.bin/cvs/Makefile.in (revision 4bdff4be)
1# Makefile.in generated automatically by automake 1.4e from Makefile.am.
2
3# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4# Free Software Foundation, Inc.
5# This Makefile.in is free software; the Free Software Foundation
6# gives unlimited permission to copy and/or distribute it,
7# with or without modifications, as long as this notice is preserved.
8
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12# PARTICULAR PURPOSE.
13
14@SET_MAKE@
15
16# Master Makefile for the GNU Concurrent Versions System.
17# Copyright (C) 1986, 1988-1992, 1994, 2000 Free Software Foundation, Inc.
18
19# This program is free software; you can redistribute it and/or modify
20# it under the terms of the GNU General Public License as published by
21# the Free Software Foundation; either version 2, or (at your option)
22# any later version.
23
24# This program is distributed in the hope that it will be useful,
25# but WITHOUT ANY WARRANTY; without even the implied warranty of
26# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
27# GNU General Public License for more details.
28
29
30SHELL = @SHELL@
31
32srcdir = @srcdir@
33top_srcdir = @top_srcdir@
34VPATH = @srcdir@
35prefix = @prefix@
36exec_prefix = @exec_prefix@
37
38bindir = @bindir@
39sbindir = @sbindir@
40libexecdir = @libexecdir@
41datadir = @datadir@
42sysconfdir = @sysconfdir@
43sharedstatedir = @sharedstatedir@
44localstatedir = @localstatedir@
45libdir = @libdir@
46infodir = @infodir@
47mandir = @mandir@
48includedir = @includedir@
49oldincludedir = /usr/include
50
51pkgdatadir = $(datadir)/@PACKAGE@
52pkglibdir = $(libdir)/@PACKAGE@
53pkgincludedir = $(includedir)/@PACKAGE@
54
55top_builddir = .
56
57ACLOCAL = @ACLOCAL@
58AUTOCONF = @AUTOCONF@
59AUTOMAKE = @AUTOMAKE@
60AUTOHEADER = @AUTOHEADER@
61
62INSTALL = @INSTALL@
63INSTALL_PROGRAM = @INSTALL_PROGRAM@
64INSTALL_DATA = @INSTALL_DATA@
65INSTALL_SCRIPT = @INSTALL_SCRIPT@
66INSTALL_HEADER = $(INSTALL_DATA)
67transform = @program_transform_name@
68
69NORMAL_INSTALL = :
70PRE_INSTALL = :
71POST_INSTALL = :
72NORMAL_UNINSTALL = :
73PRE_UNINSTALL = :
74POST_UNINSTALL = :
75AMTAR = @AMTAR@
76AWK = @AWK@
77CC = @CC@
78CSH = @CSH@
79DEPDIR = @DEPDIR@
80ETAGS = @ETAGS@
81ETAGS_INCLUDE_OPTION = @ETAGS_INCLUDE_OPTION@
82INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
83INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
84KRB4 = @KRB4@
85LN_S = @LN_S@
86MAKEINFO = @MAKEINFO@
87PACKAGE = @PACKAGE@
88PERL = @PERL@
89PR = @PR@
90PS2PDF = @PS2PDF@
91RANLIB = @RANLIB@
92ROFF = @ROFF@
93STRIP = @STRIP@
94TEXI2DVI = @TEXI2DVI@
95VERSION = @VERSION@
96YACC = @YACC@
97_am_include = @_am_include@
98_am_quote = @_am_quote@
99includeopt = @includeopt@
100install_sh = @install_sh@
101
102AUTOMAKE_OPTIONS = 1.4a dist-bzip2
103
104# Unix source subdirs, where we'll want to run lint and etags:
105# This is a legacy variable from b4 Automake
106USOURCE_SUBDIRS = lib @ZLIBSUBDIRS@ diff src
107# Documentation directories; special handling
108INSTALL_MAN=man
109# All other subdirs:
110SUBDIRS = ${USOURCE_SUBDIRS} ${INSTALL_MAN} doc contrib tools \
111	windows-NT os2 emx vms
112
113
114EXTRA_DIST = \
115	.cvsignore \
116	BUGS \
117	ChangeLog.zoo \
118	DEVEL-CVS \
119	FAQ \
120	HACKING \
121	MINOR-BUGS \
122	PROJECTS \
123	README.VMS \
124	TESTS \
125	build.com \
126	cvs-format.el \
127	cvs.spec \
128	cvs.spec.in \
129	cvsnt.dsp \
130	cvsnt.dsw \
131	cvsnt.mak
132
133EXEEXT =
134OBJEXT = o
135subdir = .
136ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
137mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
138CONFIG_HEADER = config.h $(top_builddir)/src/options.h
139CONFIG_CLEAN_FILES = emx/Makefile os2/Makefile zlib/Makefile
140DIST_SOURCES =
141
142RECURSIVE_TARGETS = all-recursive install-data-recursive \
143	install-exec-recursive installdirs-recursive install-recursive \
144	uninstall-recursive check-recursive installcheck-recursive
145DIST_COMMON = README ./stamp-h1.in AUTHORS COPYING COPYING.LIB \
146	ChangeLog INSTALL Makefile.am Makefile.in NEWS TODO acconfig.h \
147	acinclude.m4 aclocal.m4 config.h.in configure configure.in \
148	depcomp install-sh missing mkinstalldirs
149DIST_SUBDIRS = $(SUBDIRS)
150all: config.h
151	$(MAKE) $(AM_MAKEFLAGS) all-recursive
152
153.SUFFIXES:
154
155Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
156	cd $(top_builddir) && \
157	  CONFIG_HEADERS= CONFIG_LINKS= \
158	  CONFIG_FILES=$@ $(SHELL) ./config.status
159
160config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
161	$(SHELL) ./config.status --recheck
162
163config.h: stamp-h1
164	@if test ! -f $@; then \
165		rm -f stamp-h1; \
166		$(MAKE) stamp-h1; \
167	else :; fi
168stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
169	@rm -f stamp-h1 stamp-h1T
170	@echo timestamp > stamp-h1T 2> /dev/null
171	cd $(top_builddir) \
172	  && CONFIG_FILES= CONFIG_HEADERS=config.h \
173	     $(SHELL) ./config.status
174	@mv stamp-h1T stamp-h1
175
176distclean-hdr:
177	-rm -f config.h
178emx/Makefile: $(top_builddir)/config.status $(top_srcdir)/emx/Makefile.in
179	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
180os2/Makefile: $(top_builddir)/config.status $(top_srcdir)/os2/Makefile.in
181	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
182zlib/Makefile: $(top_builddir)/config.status $(top_srcdir)/zlib/Makefile.in
183	cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
184
185# This directory's subdirectories are mostly independent; you can cd
186# into them and run `make' without going through this Makefile.
187# To change the values of `make' variables: instead of editing Makefiles,
188# (1) if the variable is set in `config.status', edit `config.status'
189#     (which will cause the Makefiles to be regenerated when you run `make');
190# (2) otherwise, pass the desired values on the `make' command line.
191$(RECURSIVE_TARGETS):
192	@set fnord $(MAKEFLAGS); amf=$$2; \
193	dot_seen=no; \
194	target=`echo $@ | sed s/-recursive//`; \
195	list='$(SUBDIRS)'; for subdir in $$list; do \
196	  echo "Making $$target in $$subdir"; \
197	  if test "$$subdir" = "."; then \
198	    dot_seen=yes; \
199	    local_target="$$target-am"; \
200	  else \
201	    local_target="$$target"; \
202	  fi; \
203	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
204	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
205	done; \
206	if test "$$dot_seen" = "no"; then \
207	  $(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
208	fi; test -z "$$fail"
209
210mostlyclean-recursive clean-recursive distclean-recursive \
211maintainer-clean-recursive:
212	@set fnord $(MAKEFLAGS); amf=$$2; \
213	dot_seen=no; \
214	case "$@" in \
215	  distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
216	  *) list='$(SUBDIRS)' ;; \
217	esac; \
218	rev=''; for subdir in $$list; do \
219	  if test "$$subdir" = "."; then :; else \
220	    rev="$$subdir $$rev"; \
221	  fi; \
222	done; \
223	rev="$$rev ."; \
224	target=`echo $@ | sed s/-recursive//`; \
225	for subdir in $$rev; do \
226	  echo "Making $$target in $$subdir"; \
227	  if test "$$subdir" = "."; then \
228	    local_target="$$target-am"; \
229	  else \
230	    local_target="$$target"; \
231	  fi; \
232	  (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
233	   || case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
234	done && test -z "$$fail"
235tags-recursive:
236	list='$(SUBDIRS)'; for subdir in $$list; do \
237	  test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
238	done
239
240tags: TAGS
241
242ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
243	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
244	unique=`for i in $$list; do \
245	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
246	  done | \
247	  $(AWK) '    { files[$$0] = 1; } \
248	       END { for (i in files) print i; }'`; \
249	mkid -fID $$unique $(LISP)
250
251TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
252		$(TAGS_FILES) $(LISP)
253	tags=; \
254	here=`pwd`; \
255	list='$(SUBDIRS)'; for subdir in $$list; do \
256	  if test "$$subdir" = .; then :; else \
257	    test -f $$subdir/TAGS && tags="$$tags $(ETAGS_INCLUDE_OPTION)$$here/$$subdir/TAGS"; \
258	  fi; \
259	done; \
260	list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
261	unique=`for i in $$list @CONFIG@; do \
262	    if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
263	  done | \
264	  $(AWK) '    { files[$$0] = 1; } \
265	       END { for (i in files) print i; }'`; \
266	test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
267	  || $(ETAGS) $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)
268
269GTAGS:
270	here=`CDPATH=: && cd $(top_builddir) && pwd` \
271	  && cd $(top_srcdir) \
272	  && gtags -i $$here
273
274distclean-tags:
275	-rm -f TAGS ID
276
277DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
278
279top_distdir = .
280distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
281
282GZIP_ENV = --best
283
284distdir: $(DISTFILES)
285	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
286	mkdir $(distdir)
287	$(mkinstalldirs) $(distdir)/contrib $(distdir)/emx $(distdir)/os2 $(distdir)/src $(distdir)/zlib
288	@for file in $(DISTFILES); do \
289	  d=$(srcdir); \
290	  if test -d $$d/$$file; then \
291	    cp -pR $$d/$$file $(distdir) \
292	    || exit 1; \
293	  else \
294	    test -f $(distdir)/$$file \
295	    || cp -p $$d/$$file $(distdir)/$$file \
296	    || exit 1; \
297	  fi; \
298	done
299	for subdir in $(SUBDIRS); do \
300	  if test "$$subdir" = .; then :; else \
301	    test -d $(distdir)/$$subdir \
302	    || mkdir $(distdir)/$$subdir \
303	    || exit 1; \
304	    (cd $$subdir && \
305	      $(MAKE) $(AM_MAKEFLAGS) \
306	        top_distdir="$(top_distdir)" \
307	        distdir=../$(distdir)/$$subdir \
308	        distdir) \
309	      || exit 1; \
310	  fi; \
311	done
312	-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
313	  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
314	  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
315	  ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
316	|| chmod -R a+r $(distdir)
317dist: distdir
318	$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
319	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
320
321dist-bzip2: distdir
322	$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
323	-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
324
325# This target untars the dist file and tries a VPATH configuration.  Then
326# it guarantees that the distribution is self-contained by making another
327# tarfile.
328distcheck: dist
329	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
330	GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
331	chmod -R a-w $(distdir); chmod a+w $(distdir)
332	mkdir $(distdir)/=build
333	mkdir $(distdir)/=inst
334	chmod a-w $(distdir)
335	dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
336	  && cd $(distdir)/=build \
337	  && ../configure --srcdir=.. --prefix=$$dc_install_base \
338	  && $(MAKE) $(AM_MAKEFLAGS) \
339	  && $(MAKE) $(AM_MAKEFLAGS) dvi \
340	  && $(MAKE) $(AM_MAKEFLAGS) check \
341	  && $(MAKE) $(AM_MAKEFLAGS) install \
342	  && $(MAKE) $(AM_MAKEFLAGS) installcheck \
343	  && $(MAKE) $(AM_MAKEFLAGS) uninstall \
344	  && test `find $$dc_install_base -type f -print | wc -l` -le 1 \
345	  && $(MAKE) $(AM_MAKEFLAGS) dist \
346	  && $(MAKE) $(AM_MAKEFLAGS) distclean \
347	  && rm -f $(distdir).tar.gz \
348	  && (test `find . -type f -print | wc -l` -eq 0 \
349	     || (echo "Error: files left after distclean" 1>&2; \
350	         exit 1) )
351	-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
352	@echo "$(distdir).tar.gz is ready for distribution" | \
353	  sed 'h;s/./=/g;p;x;p;x'
354check-am: all-am
355check: check-recursive
356all-am: Makefile config.h
357
358installdirs: installdirs-recursive
359installdirs-am:
360
361install: install-recursive
362install-exec: install-exec-recursive
363install-data: install-data-recursive
364uninstall: uninstall-recursive
365
366install-am: all-am
367	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
368
369installcheck: installcheck-recursive
370
371install-strip:
372	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
373	  INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
374
375mostlyclean-generic:
376
377clean-generic:
378
379distclean-generic:
380	-rm -f Makefile $(CONFIG_CLEAN_FILES)
381	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
382
383maintainer-clean-generic:
384	@echo "This command is intended for maintainers to use"
385	@echo "it deletes files that may require special tools to rebuild."
386	-rm -f Makefile.in
387clean: clean-recursive
388
389clean-am: clean-generic mostlyclean-am
390
391dist-all: dist dist-bzip2
392
393distclean: distclean-recursive
394	-rm -f config.status
395distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
396
397dvi:
398
399dvi-am:
400
401info:
402
403info-am:
404
405install-data-am:
406
407install-exec-am:
408
409install-info:
410
411install-man:
412
413installcheck-am:
414
415maintainer-clean: maintainer-clean-recursive
416	-rm -f config.status
417maintainer-clean-am: distclean-am maintainer-clean-generic
418
419mostlyclean: mostlyclean-recursive
420
421mostlyclean-am: mostlyclean-generic
422
423.PHONY: $(RECURSIVE_TARGETS) all all-am check check-am clean \
424	clean-generic clean-recursive dist dist-all dist-bzip2 \
425	distcheck distclean distclean-generic distclean-hdr \
426	distclean-recursive distclean-tags distdir dvi dvi-am info \
427	info-am install install-am install-data install-data-am \
428	install-data-recursive install-exec install-exec-am \
429	install-exec-recursive install-info install-man \
430	install-recursive install-strip installcheck installcheck-am \
431	installdirs installdirs-am installdirs-recursive \
432	maintainer-clean maintainer-clean-generic \
433	maintainer-clean-recursive mostlyclean mostlyclean-generic \
434	mostlyclean-recursive tags tags-recursive uninstall \
435	uninstall-am uninstall-recursive
436
437
438.PHONY: remotecheck
439remotecheck: all
440	cd src && $(MAKE) $(AM_MAKEFLAGS) "$@"
441
442.PHONY: doc
443doc:
444	cd doc && $(MAKE) $(AM_MAKEFLAGS) "$@"
445
446# - cvs.spec needs to be updated only once, since it depends on
447#   configure.in, not on the results of a 'configure' run.
448# - It is guaranteed (with GNU Make) that when the version in configure.in
449#   is changed, acversion.m4 is built only after the new version number is
450#   propagated to the Makefile.  (Libtool uses the same guarantee.)
451cvs.spec: $(srcdir)/cvs.spec.in $(top_srcdir)/configure.in
452	sed 's,@VERSION\@,$(VERSION),g' $(srcdir)/cvs.spec.in >cvs.tspec
453	mv cvs.tspec $(srcdir)/cvs.spec
454
455# for backwards compatibility with the old makefiles
456.PHONY: realclean
457realclean: maintainer-clean
458
459# Tell versions [3.59,3.63) of GNU make to not export all variables.
460# Otherwise a system limit (for SysV at least) may be exceeded.
461.NOEXPORT:
462