Makefile.in (bde78045) Makefile.in (79822b2a)
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
1# Makefile for GNU CVS contributed sources.
2# Do not use this makefile directly, but only from `../Makefile'.
3# Copyright (C) 1986, 1988-1990 Free Software Foundation, Inc.
4
5# This program is free software; you can redistribute it and/or modify
6# it under the terms of the GNU General Public License as published by
7# the Free Software Foundation; either version 2, or (at your option)
8# any later version.
9
10# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
14
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
15SHELL = /bin/sh
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
16
37
17srcdir = @srcdir@
18top_srcdir = @top_srcdir@
19VPATH = @srcdir@
38# files installed in $(pkgdatadir)
39#
40# CONTRIB_FILES = README intro.doc cvscheck.man
20
41
42
43SHELL = @SHELL@
44
45srcdir = @srcdir@
46top_srcdir = @top_srcdir@
47VPATH = @srcdir@
21prefix = @prefix@
22exec_prefix = @exec_prefix@
23
48prefix = @prefix@
49exec_prefix = @exec_prefix@
50
24# Where to install the executables.
25bindir = @bindir@
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
26
63
27# Where to put the system-wide .cvsrc file
28libexecdir = $(prefix)/libexec
64pkgdatadir = $(datadir)/@PACKAGE@
65pkglibdir = $(libdir)/@PACKAGE@
66pkgincludedir = $(includedir)/@PACKAGE@
29
67
30# Where to put the system-wide .cvsrc file
31datadir = $(prefix)/share
68top_builddir = ..
32
69
33# Where to put the manual pages.
34mandir = @mandir@
70ACLOCAL = @ACLOCAL@
71AUTOCONF = @AUTOCONF@
72AUTOMAKE = @AUTOMAKE@
73AUTOHEADER = @AUTOHEADER@
35
74
36# where to find command interpreters
37perl_path = @perl_path@
38csh_path = @csh_path@
39
40# Use cp if you don't have install.
41INSTALL = @INSTALL@
75INSTALL = @INSTALL@
42INSTALL_DATA = @INSTALL_DATA@
43INSTALL_PROGRAM = @INSTALL_PROGRAM@
76INSTALL_PROGRAM = @INSTALL_PROGRAM@
77INSTALL_DATA = @INSTALL_DATA@
78INSTALL_SCRIPT = @INSTALL_SCRIPT@
79INSTALL_HEADER = $(INSTALL_DATA)
80transform = @program_transform_name@
44
81
45DISTFILES = \
46 ChangeLog README .cvsignore intro.doc \
47 Makefile.in clmerge.pl cln_hist.pl commit_prep.pl cvs2vendor.sh \
48 cvs_acls.pl cvscheck.sh cvscheck.man cvshelp.man descend.sh \
49 descend.man dirfns.shar log.pl log_accum.pl mfpipe.pl rcs-to-cvs.sh \
50 rcs2log.sh rcslock.pl sccs2rcs.csh rcs2sccs.sh
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@
51
114
52# files installed in $(datadir)/cvs/contrib
53#
54CONTRIB_FILES = README intro.doc cvscheck.man
115contribdir = $(pkgdatadir)/contrib
55
116
56# things we actually build and install....
57#
58PROGS = rcs2log
59CONTRIB_PROGS = clmerge cln_hist commit_prep cvs2vendor cvs_acls cvscheck \
60 log log_accum mfpipe rcs-to-cvs rcs2log rcslock sccs2rcs
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
61
132
62.SUFFIXES: .pl .sh .csh
63
133
64.pl:
65 rm -f $@
66 sed -e 's,xPERL_PATHx,$(perl_path),' $< > $@-t
67 mv $@-t $@
68 chmod +x $@
134contrib_DATA = \
135 README \
136 intro.doc
69
137
70.csh:
71 rm -f $@
72 sed -e 's,xCSH_PATHx,$(csh_path),' $< > $@-t
73 mv $@-t $@
74 chmod +x $@
75
138
76.sh:
77 rm -f $@
78 cp $< $@
79 chmod +x $@
139contrib_MANS = \
140 cvscheck.man
80
141
81all: Makefile $(PROGS) $(CONTRIB_PROGS)
82.PHONY: all
83
142
84install: all installdirs
85 for f in $(CONTRIB_FILES) ; do\
86 $(INSTALL_DATA) $(srcdir)/$$f $(datadir)/cvs/contrib/$$f; \
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; \
87 done
224 done
88 for f in $(CONTRIB_PROGS) ; do\
89 $(INSTALL_PROGRAM) $$f $(libexecdir)/cvs/contrib/$$f; \
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; \
90 done
232 done
91 for f in $(PROGS) ; do\
92 $(INSTALL_PROGRAM) $$f $(bindir)/$$f; \
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; \
93 done
241 done
94.PHONY: install
95
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
96installdirs:
275installdirs:
97 $(SHELL) $(top_srcdir)/mkinstalldirs $(datadir)/cvs/contrib
98 $(SHELL) $(top_srcdir)/mkinstalldirs $(libexecdir)/cvs/contrib
99.PHONY: installdirs
276 $(mkinstalldirs) $(DESTDIR)$(contribdir) $(DESTDIR)$(contribdir)
100
277
101tags:
102.PHONY: tags
278install: install-am
279install-exec: install-exec-am
280install-data: install-data-am
281uninstall: uninstall-am
103
282
104TAGS:
105.PHONY: TAGS
283install-am: all-am
284 @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
106
285
107ls:
108 @echo $(DISTFILES)
109.PHONY: ls
286installcheck: installcheck-am
110
287
111clean:
112 rm -f *.o core
113.PHONY: clean
288install-strip:
289 $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
290 INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
114
291
115distclean: clean
116 rm -f Makefile $(PROGS) $(CONTRIB_PROGS)
117.PHONY: distclean
292mostlyclean-generic:
118
293
119realclean: distclean
120.PHONY: realclean
294clean-generic:
295 -test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
121
296
122dist-dir:
123 mkdir ${DISTDIR}
124 for i in ${DISTFILES}; do \
125 ln $(srcdir)/$${i} ${DISTDIR}; \
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); \
126 done
372 done
127.PHONY: dist-dir
128
373
129subdir = contrib
130Makefile: ../config.status Makefile.in
131 cd .. && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= ./config.status
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: