xref: /openbsd/gnu/usr.bin/cvs/contrib/Makefile.in (revision 7b36286a)
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# Makefile for GNU CVS contributed sources.
17# Do not use this makefile directly, but only from `../Makefile'.
18# Copyright (C) 1986, 1988-1990 Free Software Foundation, Inc.
19
20# This program is free software; you can redistribute it and/or modify
21# it under the terms of the GNU General Public License as published by
22# the Free Software Foundation; either version 2, or (at your option)
23# any later version.
24
25# This program is distributed in the hope that it will be useful,
26# but WITHOUT ANY WARRANTY; without even the implied warranty of
27# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28# GNU General Public License for more details.
29
30# DISTFILES = \
31# 	ChangeLog README .cvsignore intro.doc \
32# 	Makefile.in clmerge.pl cln_hist.pl commit_prep.pl cvs2vendor.sh \
33# 	cvs_acls.pl cvscheck.sh cvscheck.man cvshelp.man debug_check_log.sh \
34# 	descend.sh \
35# 	descend.man dirfns.shar log.pl log_accum.pl mfpipe.pl rcs-to-cvs.sh \
36# 	rcs2log.sh rcslock.pl sccs2rcs.csh rcs2sccs.sh
37
38# files installed in $(pkgdatadir)
39#
40# CONTRIB_FILES = README intro.doc cvscheck.man
41
42
43SHELL = @SHELL@
44
45srcdir = @srcdir@
46top_srcdir = @top_srcdir@
47VPATH = @srcdir@
48prefix = @prefix@
49exec_prefix = @exec_prefix@
50
51bindir = @bindir@
52sbindir = @sbindir@
53libexecdir = @libexecdir@
54datadir = @datadir@
55sysconfdir = @sysconfdir@
56sharedstatedir = @sharedstatedir@
57localstatedir = @localstatedir@
58libdir = @libdir@
59infodir = @infodir@
60mandir = @mandir@
61includedir = @includedir@
62oldincludedir = /usr/include
63
64pkgdatadir = $(datadir)/@PACKAGE@
65pkglibdir = $(libdir)/@PACKAGE@
66pkglibexecdir = $(libexecdir)/@PACKAGE@
67pkgincludedir = $(includedir)/@PACKAGE@
68
69top_builddir = ..
70
71ACLOCAL = @ACLOCAL@
72AUTOCONF = @AUTOCONF@
73AUTOMAKE = @AUTOMAKE@
74AUTOHEADER = @AUTOHEADER@
75
76INSTALL = @INSTALL@
77INSTALL_PROGRAM = @INSTALL_PROGRAM@
78INSTALL_DATA = @INSTALL_DATA@
79INSTALL_SCRIPT = @INSTALL_SCRIPT@
80INSTALL_HEADER = $(INSTALL_DATA)
81transform = @program_transform_name@
82
83NORMAL_INSTALL = :
84PRE_INSTALL = :
85POST_INSTALL = :
86NORMAL_UNINSTALL = :
87PRE_UNINSTALL = :
88POST_UNINSTALL = :
89AMTAR = @AMTAR@
90AWK = @AWK@
91CC = @CC@
92CSH = @CSH@
93DEPDIR = @DEPDIR@
94ETAGS = @ETAGS@
95ETAGS_INCLUDE_OPTION = @ETAGS_INCLUDE_OPTION@
96INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
97INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
98KRB4 = @KRB4@
99LN_S = @LN_S@
100MAKEINFO = @MAKEINFO@
101PACKAGE = @PACKAGE@
102PERL = @PERL@
103PR = @PR@
104PS2PDF = @PS2PDF@
105RANLIB = @RANLIB@
106ROFF = @ROFF@
107STRIP = @STRIP@
108TEXI2DVI = @TEXI2DVI@
109VERSION = @VERSION@
110YACC = @YACC@
111_am_include = @_am_include@
112_am_quote = @_am_quote@
113includeopt = @includeopt@
114install_sh = @install_sh@
115
116contribdatadir   = $(pkgdatadir)/contrib
117contribscriptdir = $(pkglibexecdir)/contrib
118
119contrib_SCRIPTS = \
120	clmerge \
121	cln_hist \
122	commit_prep \
123	cvs2vendor \
124	cvs_acls \
125	cvscheck \
126	debug_check_log \
127	log \
128	log_accum \
129	mfpipe \
130	rcs-to-cvs \
131	rcs2log \
132	rcslock \
133	sccs2rcs
134
135
136contrib_DATA = \
137	README \
138	intro.doc
139
140
141contrib_MANS = \
142	cvscheck.man
143
144
145bin_LINKS = \
146	rcs2log
147
148
149EXTRA_DIST = \
150	.cvsignore \
151	$(contrib_DATA) \
152	$(contrib_MANS) \
153	cvs2vendor.sh \
154	cvscheck.sh \
155	cvshelp.man \
156	debug_check_log.sh \
157	descend.sh \
158	descend.man \
159	dirfns.shar \
160	rcs-to-cvs.sh \
161	rcs2log.sh \
162	rcs2sccs.sh
163
164
165CLEANFILES = $(bin_SCRIPTS) $(contrib_SCRIPTS)
166
167SUFFIXES = .sh
168EXEEXT =
169OBJEXT = o
170subdir = contrib
171mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
172CONFIG_HEADER = $(top_builddir)/config.h $(top_builddir)/src/options.h
173CONFIG_CLEAN_FILES = clmerge cln_hist commit_prep cvs_acls log log_accum \
174	mfpipe rcslock sccs2rcs
175SCRIPTS = $(contrib_SCRIPTS)
176
177DIST_SOURCES =
178DATA = $(contrib_DATA)
179
180DIST_COMMON = README ChangeLog Makefile.am Makefile.in clmerge.in \
181	cln_hist.in commit_prep.in cvs_acls.in log.in log_accum.in \
182	mfpipe.in rcslock.in sccs2rcs.in
183all: all-am
184
185.SUFFIXES:
186.SUFFIXES: .sh
187
188$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
189	cd $(top_srcdir) && \
190	  $(AUTOMAKE) --gnu  contrib/Makefile
191
192Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
193	cd $(top_builddir) && \
194	  CONFIG_HEADERS= CONFIG_LINKS= \
195	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
196clmerge: $(top_builddir)/config.status clmerge.in
197	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
198cln_hist: $(top_builddir)/config.status cln_hist.in
199	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
200commit_prep: $(top_builddir)/config.status commit_prep.in
201	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
202cvs_acls: $(top_builddir)/config.status cvs_acls.in
203	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
204log: $(top_builddir)/config.status log.in
205	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
206log_accum: $(top_builddir)/config.status log_accum.in
207	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
208mfpipe: $(top_builddir)/config.status mfpipe.in
209	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
210rcslock: $(top_builddir)/config.status rcslock.in
211	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
212sccs2rcs: $(top_builddir)/config.status sccs2rcs.in
213	cd $(top_builddir) && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
214install-contribSCRIPTS: $(contrib_SCRIPTS)
215	@$(NORMAL_INSTALL)
216	$(mkinstalldirs) $(DESTDIR)$(contribscriptdir)
217	@list='$(contrib_SCRIPTS)'; for p in $$list; do \
218	  f="`echo $$p|sed '$(transform)'`"; \
219	  if test -f $$p; then \
220	    echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(contribscriptdir)/$$f"; \
221	    $(INSTALL_SCRIPT) $$p $(DESTDIR)$(contribscriptdir)/$$f; \
222	  elif test -f $(srcdir)/$$p; then \
223	    echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(contribscriptdir)/$$f"; \
224	    $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(contribscriptdir)/$$f; \
225	  else :; fi; \
226	done
227
228uninstall-contribSCRIPTS:
229	@$(NORMAL_UNINSTALL)
230	@list='$(contrib_SCRIPTS)'; for p in $$list; do \
231	  f="`echo $$p|sed '$(transform)'`"; \
232	  echo " rm -f $(DESTDIR)$(contribscriptdir)/$$f"; \
233	  rm -f $(DESTDIR)$(contribscriptdir)/$$f; \
234	done
235install-contribDATA: $(contrib_DATA)
236	@$(NORMAL_INSTALL)
237	$(mkinstalldirs) $(DESTDIR)$(contribdatadir)
238	@list='$(contrib_DATA)'; for p in $$list; do \
239	  if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
240	  f="`echo $$p | sed -e 's|^.*/||'`"; \
241	  echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(contribdatadir)/$$f"; \
242	  $(INSTALL_DATA) $$d$$p $(DESTDIR)$(contribdatadir)/$$f; \
243	done
244
245uninstall-contribDATA:
246	@$(NORMAL_UNINSTALL)
247	@list='$(contrib_DATA)'; for p in $$list; do \
248	  f="`echo $$p | sed -e 's|^.*/||'`"; \
249	  echo " rm -f $(DESTDIR)$(contribdatadir)/$$f"; \
250	  rm -f $(DESTDIR)$(contribdatadir)/$$f; \
251	done
252tags: TAGS
253TAGS:
254
255
256DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
257
258top_distdir = ..
259distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
260
261distdir: $(DISTFILES)
262	@for file in $(DISTFILES); do \
263	  d=$(srcdir); \
264	  if test -d $$d/$$file; then \
265	    cp -pR $$d/$$file $(distdir) \
266	    || exit 1; \
267	  else \
268	    test -f $(distdir)/$$file \
269	    || cp -p $$d/$$file $(distdir)/$$file \
270	    || exit 1; \
271	  fi; \
272	done
273check-am: all-am
274check: check-am
275all-am: Makefile $(SCRIPTS) $(DATA)
276
277installdirs:
278	$(mkinstalldirs) $(DESTDIR)$(contribscriptdir) $(DESTDIR)$(contribdatadir)
279
280install: install-am
281install-exec: install-exec-am
282install-data: install-data-am
283uninstall: uninstall-am
284
285install-am: all-am
286	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
287
288installcheck: installcheck-am
289
290install-strip:
291	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
292	  INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
293
294mostlyclean-generic:
295
296clean-generic:
297	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
298
299distclean-generic:
300	-rm -f Makefile $(CONFIG_CLEAN_FILES)
301	-rm -f config.cache config.log stamp-h stamp-h[0-9]*
302
303maintainer-clean-generic:
304	@echo "This command is intended for maintainers to use"
305	@echo "it deletes files that may require special tools to rebuild."
306	-rm -f Makefile.in
307clean: clean-am
308
309clean-am: clean-generic mostlyclean-am
310
311distclean: distclean-am
312
313distclean-am: clean-am distclean-generic
314
315dvi:
316
317dvi-am:
318
319info:
320
321info-am:
322
323install-data-am: install-contribDATA install-contribSCRIPTS \
324	install-data-local
325
326install-exec-am:
327
328install-info:
329
330install-man:
331
332installcheck-am:
333
334maintainer-clean: maintainer-clean-am
335
336maintainer-clean-am: distclean-am maintainer-clean-generic
337
338mostlyclean: mostlyclean-am
339
340mostlyclean-am: mostlyclean-generic
341
342uninstall-am: uninstall-contribDATA uninstall-contribSCRIPTS \
343	uninstall-local
344
345.PHONY: all all-am check check-am clean clean-generic distclean \
346	distclean-generic distdir dvi dvi-am info info-am install \
347	install-am install-contribDATA install-contribSCRIPTS \
348	install-data install-data-am install-data-local install-exec \
349	install-exec-am install-info install-man install-strip \
350	installcheck installcheck-am installdirs maintainer-clean \
351	maintainer-clean-generic mostlyclean mostlyclean-generic \
352	uninstall uninstall-am uninstall-contribDATA \
353	uninstall-contribSCRIPTS uninstall-local
354
355
356# we'd rather have a link here rather than two copies of a script
357install-data-local:
358	# FIXME - this path should be determined dynamically from bindir
359	# & contribscriptdir
360	@$(NORMAL_INSTALL)
361	$(mkinstalldirs) $(DESTDIR)$(bindir)
362	@list='$(bin_LINKS)'; for p in $$list; do \
363	    echo "test ! -e $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
364	    echo "  && cd $(DESTDIR)$(bindir) && $(LN_S) $(contribscriptdir)/`echo $$p|sed '$(transform)'` ."; \
365	    (test ! -e $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'` \
366	        && cd $(DESTDIR)$(bindir) && $(LN_S) $(contribscriptdir)/`echo $$p|sed '$(transform)'` .) \
367	      || (echo "Link creation failed" && if test -f $$p; then \
368	           echo " $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
369	           $(INSTALL_SCRIPT) $$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
370	         else if test -f $(srcdir)/$$p; then \
371	           echo " $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`"; \
372	           $(INSTALL_SCRIPT) $(srcdir)/$$p $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
373	         else :; fi; fi); \
374	done
375
376uninstall-local:
377	@$(NORMAL_UNINSTALL)
378	list='$(bin_LINKS)'; for p in $$list; do \
379	  rm -f $(DESTDIR)$(bindir)/`echo $$p|sed '$(transform)'`; \
380	done
381
382.sh:
383	rm -f $@
384	cp $< $@
385	chmod +x $@
386
387# for backwards compatibility with the old makefiles
388realclean: maintainer-clean
389.PHONY: realclean
390
391# Tell versions [3.59,3.63) of GNU make to not export all variables.
392# Otherwise a system limit (for SysV at least) may be exceeded.
393.NOEXPORT:
394