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