mirror of
https://github.com/openbsd/src.git
synced 2024-12-22 16:42:56 -08:00
1acad36e95
stamp-h1.in. Modifying files in the source tree considered harmful.
462 lines
14 KiB
Makefile
462 lines
14 KiB
Makefile
# Makefile.in generated automatically by automake 1.4e from Makefile.am.
|
|
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
|
|
# Free Software Foundation, Inc.
|
|
# This Makefile.in is free software; the Free Software Foundation
|
|
# gives unlimited permission to copy and/or distribute it,
|
|
# with or without modifications, as long as this notice is preserved.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE.
|
|
|
|
@SET_MAKE@
|
|
|
|
# Master Makefile for the GNU Concurrent Versions System.
|
|
# Copyright (C) 1986, 1988-1992, 1994, 2000 Free Software Foundation, Inc.
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
# it under the terms of the GNU General Public License as published by
|
|
# the Free Software Foundation; either version 2, or (at your option)
|
|
# any later version.
|
|
|
|
# This program is distributed in the hope that it will be useful,
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
# GNU General Public License for more details.
|
|
|
|
|
|
SHELL = @SHELL@
|
|
|
|
srcdir = @srcdir@
|
|
top_srcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
prefix = @prefix@
|
|
exec_prefix = @exec_prefix@
|
|
|
|
bindir = @bindir@
|
|
sbindir = @sbindir@
|
|
libexecdir = @libexecdir@
|
|
datadir = @datadir@
|
|
sysconfdir = @sysconfdir@
|
|
sharedstatedir = @sharedstatedir@
|
|
localstatedir = @localstatedir@
|
|
libdir = @libdir@
|
|
infodir = @infodir@
|
|
mandir = @mandir@
|
|
includedir = @includedir@
|
|
oldincludedir = /usr/include
|
|
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
|
|
|
top_builddir = .
|
|
|
|
ACLOCAL = @ACLOCAL@
|
|
AUTOCONF = @AUTOCONF@
|
|
AUTOMAKE = @AUTOMAKE@
|
|
AUTOHEADER = @AUTOHEADER@
|
|
|
|
INSTALL = @INSTALL@
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
|
INSTALL_DATA = @INSTALL_DATA@
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
|
transform = @program_transform_name@
|
|
|
|
NORMAL_INSTALL = :
|
|
PRE_INSTALL = :
|
|
POST_INSTALL = :
|
|
NORMAL_UNINSTALL = :
|
|
PRE_UNINSTALL = :
|
|
POST_UNINSTALL = :
|
|
AMTAR = @AMTAR@
|
|
AWK = @AWK@
|
|
CC = @CC@
|
|
CSH = @CSH@
|
|
DEPDIR = @DEPDIR@
|
|
ETAGS = @ETAGS@
|
|
ETAGS_INCLUDE_OPTION = @ETAGS_INCLUDE_OPTION@
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
|
INSTALL_STRIP_PROGRAM_ENV = @INSTALL_STRIP_PROGRAM_ENV@
|
|
KRB4 = @KRB4@
|
|
LN_S = @LN_S@
|
|
MAKEINFO = @MAKEINFO@
|
|
PACKAGE = @PACKAGE@
|
|
PERL = @PERL@
|
|
PR = @PR@
|
|
PS2PDF = @PS2PDF@
|
|
RANLIB = @RANLIB@
|
|
ROFF = @ROFF@
|
|
STRIP = @STRIP@
|
|
TEXI2DVI = @TEXI2DVI@
|
|
VERSION = @VERSION@
|
|
YACC = @YACC@
|
|
_am_include = @_am_include@
|
|
_am_quote = @_am_quote@
|
|
includeopt = @includeopt@
|
|
install_sh = @install_sh@
|
|
|
|
AUTOMAKE_OPTIONS = 1.4a dist-bzip2
|
|
|
|
# Unix source subdirs, where we'll want to run lint and etags:
|
|
# This is a legacy variable from b4 Automake
|
|
USOURCE_SUBDIRS = lib @ZLIBSUBDIRS@ diff src
|
|
# Documentation directories; special handling
|
|
INSTALL_MAN=man
|
|
# All other subdirs:
|
|
SUBDIRS = ${USOURCE_SUBDIRS} ${INSTALL_MAN} doc contrib tools \
|
|
windows-NT os2 emx vms
|
|
|
|
|
|
EXTRA_DIST = \
|
|
.cvsignore \
|
|
BUGS \
|
|
ChangeLog.zoo \
|
|
DEVEL-CVS \
|
|
FAQ \
|
|
HACKING \
|
|
MINOR-BUGS \
|
|
PROJECTS \
|
|
README.VMS \
|
|
TESTS \
|
|
build.com \
|
|
cvs-format.el \
|
|
cvs.spec \
|
|
cvs.spec.in \
|
|
cvsnt.dsp \
|
|
cvsnt.dsw \
|
|
cvsnt.mak
|
|
|
|
EXEEXT =
|
|
OBJEXT = o
|
|
subdir = .
|
|
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
|
CONFIG_HEADER = config.h $(top_builddir)/src/options.h
|
|
CONFIG_CLEAN_FILES = emx/Makefile os2/Makefile zlib/Makefile
|
|
DIST_SOURCES =
|
|
|
|
RECURSIVE_TARGETS = all-recursive install-data-recursive \
|
|
install-exec-recursive installdirs-recursive install-recursive \
|
|
uninstall-recursive check-recursive installcheck-recursive
|
|
DIST_COMMON = README ./stamp-h1.in AUTHORS COPYING COPYING.LIB \
|
|
ChangeLog INSTALL Makefile.am Makefile.in NEWS TODO acconfig.h \
|
|
acinclude.m4 aclocal.m4 config.h.in configure configure.in \
|
|
depcomp install-sh missing mkinstalldirs
|
|
DIST_SUBDIRS = $(SUBDIRS)
|
|
all: config.h
|
|
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
|
|
|
.SUFFIXES:
|
|
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
|
cd $(top_builddir) && \
|
|
CONFIG_HEADERS= CONFIG_LINKS= \
|
|
CONFIG_FILES=$@ $(SHELL) ./config.status
|
|
|
|
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
|
|
$(SHELL) ./config.status --recheck
|
|
|
|
config.h: stamp-h1
|
|
@if test ! -f $@; then \
|
|
rm -f stamp-h1; \
|
|
$(MAKE) stamp-h1; \
|
|
else :; fi
|
|
stamp-h1: $(srcdir)/config.h.in $(top_builddir)/config.status
|
|
@rm -f stamp-h1 stamp-h1T
|
|
@echo timestamp > stamp-h1T 2> /dev/null
|
|
cd $(top_builddir) \
|
|
&& CONFIG_FILES= CONFIG_HEADERS=config.h \
|
|
$(SHELL) ./config.status
|
|
@mv stamp-h1T stamp-h1
|
|
|
|
distclean-hdr:
|
|
-rm -f config.h
|
|
emx/Makefile: $(top_builddir)/config.status $(top_srcdir)/emx/Makefile.in
|
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
|
|
os2/Makefile: $(top_builddir)/config.status $(top_srcdir)/os2/Makefile.in
|
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
|
|
zlib/Makefile: $(top_builddir)/config.status $(top_srcdir)/zlib/Makefile.in
|
|
cd $(top_builddir) && CONFIG_FILES=$@ CONFIG_HEADERS= CONFIG_LINKS= $(SHELL) ./config.status
|
|
|
|
# This directory's subdirectories are mostly independent; you can cd
|
|
# into them and run `make' without going through this Makefile.
|
|
# To change the values of `make' variables: instead of editing Makefiles,
|
|
# (1) if the variable is set in `config.status', edit `config.status'
|
|
# (which will cause the Makefiles to be regenerated when you run `make');
|
|
# (2) otherwise, pass the desired values on the `make' command line.
|
|
$(RECURSIVE_TARGETS):
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
dot_seen=no; \
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
echo "Making $$target in $$subdir"; \
|
|
if test "$$subdir" = "."; then \
|
|
dot_seen=yes; \
|
|
local_target="$$target-am"; \
|
|
else \
|
|
local_target="$$target"; \
|
|
fi; \
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
done; \
|
|
if test "$$dot_seen" = "no"; then \
|
|
$(MAKE) $(AM_MAKEFLAGS) "$$target-am" || exit 1; \
|
|
fi; test -z "$$fail"
|
|
|
|
mostlyclean-recursive clean-recursive distclean-recursive \
|
|
maintainer-clean-recursive:
|
|
@set fnord $(MAKEFLAGS); amf=$$2; \
|
|
dot_seen=no; \
|
|
case "$@" in \
|
|
distclean-* | maintainer-clean-*) list='$(DIST_SUBDIRS)' ;; \
|
|
*) list='$(SUBDIRS)' ;; \
|
|
esac; \
|
|
rev=''; for subdir in $$list; do \
|
|
if test "$$subdir" = "."; then :; else \
|
|
rev="$$subdir $$rev"; \
|
|
fi; \
|
|
done; \
|
|
rev="$$rev ."; \
|
|
target=`echo $@ | sed s/-recursive//`; \
|
|
for subdir in $$rev; do \
|
|
echo "Making $$target in $$subdir"; \
|
|
if test "$$subdir" = "."; then \
|
|
local_target="$$target-am"; \
|
|
else \
|
|
local_target="$$target"; \
|
|
fi; \
|
|
(cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) $$local_target) \
|
|
|| case "$$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
|
|
done && test -z "$$fail"
|
|
tags-recursive:
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
test "$$subdir" = . || (cd $$subdir && $(MAKE) $(AM_MAKEFLAGS) tags); \
|
|
done
|
|
|
|
tags: TAGS
|
|
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
|
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
mkid -fID $$unique $(LISP)
|
|
|
|
TAGS: tags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \
|
|
$(TAGS_FILES) $(LISP)
|
|
tags=; \
|
|
here=`pwd`; \
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
if test "$$subdir" = .; then :; else \
|
|
test -f $$subdir/TAGS && tags="$$tags $(ETAGS_INCLUDE_OPTION)$$here/$$subdir/TAGS"; \
|
|
fi; \
|
|
done; \
|
|
list='$(SOURCES) $(HEADERS) $(TAGS_FILES)'; \
|
|
unique=`for i in $$list @CONFIG@; do \
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
|
done | \
|
|
$(AWK) ' { files[$$0] = 1; } \
|
|
END { for (i in files) print i; }'`; \
|
|
test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
|
|
|| $(ETAGS) $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP)
|
|
|
|
GTAGS:
|
|
here=`CDPATH=: && cd $(top_builddir) && pwd` \
|
|
&& cd $(top_srcdir) \
|
|
&& gtags -i $$here
|
|
|
|
distclean-tags:
|
|
-rm -f TAGS ID
|
|
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
|
|
|
top_distdir = .
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
|
|
|
GZIP_ENV = --best
|
|
|
|
distdir: $(DISTFILES)
|
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
|
mkdir $(distdir)
|
|
$(mkinstalldirs) $(distdir)/contrib $(distdir)/emx $(distdir)/os2 $(distdir)/src $(distdir)/zlib
|
|
@for file in $(DISTFILES); do \
|
|
d=$(srcdir); \
|
|
if test -d $$d/$$file; then \
|
|
cp -pR $$d/$$file $(distdir) \
|
|
|| exit 1; \
|
|
else \
|
|
test -f $(distdir)/$$file \
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
for subdir in $(SUBDIRS); do \
|
|
if test "$$subdir" = .; then :; else \
|
|
test -d $(distdir)/$$subdir \
|
|
|| mkdir $(distdir)/$$subdir \
|
|
|| exit 1; \
|
|
(cd $$subdir && \
|
|
$(MAKE) $(AM_MAKEFLAGS) \
|
|
top_distdir="$(top_distdir)" \
|
|
distdir=../$(distdir)/$$subdir \
|
|
distdir) \
|
|
|| exit 1; \
|
|
fi; \
|
|
done
|
|
-find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
|
|
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
|
|
! -type d ! -perm -400 -exec chmod a+r {} \; -o \
|
|
! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
|
|
|| chmod -R a+r $(distdir)
|
|
dist: distdir
|
|
$(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
|
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
|
|
|
dist-bzip2: distdir
|
|
$(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2
|
|
-chmod -R a+w $(distdir) >/dev/null 2>&1; rm -rf $(distdir)
|
|
|
|
# This target untars the dist file and tries a VPATH configuration. Then
|
|
# it guarantees that the distribution is self-contained by making another
|
|
# tarfile.
|
|
distcheck: dist
|
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
|
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
|
|
chmod -R a-w $(distdir); chmod a+w $(distdir)
|
|
mkdir $(distdir)/=build
|
|
mkdir $(distdir)/=inst
|
|
chmod a-w $(distdir)
|
|
dc_install_base=`CDPATH=: && cd $(distdir)/=inst && pwd` \
|
|
&& cd $(distdir)/=build \
|
|
&& ../configure --srcdir=.. --prefix=$$dc_install_base \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dvi \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) check \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) install \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) installcheck \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) uninstall \
|
|
&& test `find $$dc_install_base -type f -print | wc -l` -le 1 \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) dist \
|
|
&& $(MAKE) $(AM_MAKEFLAGS) distclean \
|
|
&& rm -f $(distdir).tar.gz \
|
|
&& (test `find . -type f -print | wc -l` -eq 0 \
|
|
|| (echo "Error: files left after distclean" 1>&2; \
|
|
exit 1) )
|
|
-chmod -R a+w $(distdir) > /dev/null 2>&1; rm -rf $(distdir)
|
|
@echo "$(distdir).tar.gz is ready for distribution" | \
|
|
sed 'h;s/./=/g;p;x;p;x'
|
|
check-am: all-am
|
|
check: check-recursive
|
|
all-am: Makefile config.h
|
|
|
|
installdirs: installdirs-recursive
|
|
installdirs-am:
|
|
|
|
install: install-recursive
|
|
install-exec: install-exec-recursive
|
|
install-data: install-data-recursive
|
|
uninstall: uninstall-recursive
|
|
|
|
install-am: all-am
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
|
|
|
installcheck: installcheck-recursive
|
|
|
|
install-strip:
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
|
INSTALL_PROGRAM_ENV='$(INSTALL_STRIP_PROGRAM_ENV)' install
|
|
|
|
mostlyclean-generic:
|
|
|
|
clean-generic:
|
|
|
|
distclean-generic:
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
|
|
|
maintainer-clean-generic:
|
|
@echo "This command is intended for maintainers to use"
|
|
@echo "it deletes files that may require special tools to rebuild."
|
|
-rm -f Makefile.in
|
|
clean: clean-recursive
|
|
|
|
clean-am: clean-generic mostlyclean-am
|
|
|
|
dist-all: dist dist-bzip2
|
|
|
|
distclean: distclean-recursive
|
|
-rm -f config.status
|
|
distclean-am: clean-am distclean-generic distclean-hdr distclean-tags
|
|
|
|
dvi:
|
|
|
|
dvi-am:
|
|
|
|
info:
|
|
|
|
info-am:
|
|
|
|
install-data-am:
|
|
|
|
install-exec-am:
|
|
|
|
install-info:
|
|
|
|
install-man:
|
|
|
|
installcheck-am:
|
|
|
|
maintainer-clean: maintainer-clean-recursive
|
|
-rm -f config.status
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
|
|
|
mostlyclean: mostlyclean-recursive
|
|
|
|
mostlyclean-am: mostlyclean-generic
|
|
|
|
.PHONY: $(RECURSIVE_TARGETS) all all-am check check-am clean \
|
|
clean-generic clean-recursive dist dist-all dist-bzip2 \
|
|
distcheck distclean distclean-generic distclean-hdr \
|
|
distclean-recursive distclean-tags distdir dvi dvi-am info \
|
|
info-am install install-am install-data install-data-am \
|
|
install-data-recursive install-exec install-exec-am \
|
|
install-exec-recursive install-info install-man \
|
|
install-recursive install-strip installcheck installcheck-am \
|
|
installdirs installdirs-am installdirs-recursive \
|
|
maintainer-clean maintainer-clean-generic \
|
|
maintainer-clean-recursive mostlyclean mostlyclean-generic \
|
|
mostlyclean-recursive tags tags-recursive uninstall \
|
|
uninstall-am uninstall-recursive
|
|
|
|
|
|
.PHONY: remotecheck
|
|
remotecheck: all
|
|
cd src && $(MAKE) $(AM_MAKEFLAGS) "$@"
|
|
|
|
.PHONY: doc
|
|
doc:
|
|
cd doc && $(MAKE) $(AM_MAKEFLAGS) "$@"
|
|
|
|
# - cvs.spec needs to be updated only once, since it depends on
|
|
# configure.in, not on the results of a 'configure' run.
|
|
# - It is guaranteed (with GNU Make) that when the version in configure.in
|
|
# is changed, acversion.m4 is built only after the new version number is
|
|
# propagated to the Makefile. (Libtool uses the same guarantee.)
|
|
cvs.spec: $(srcdir)/cvs.spec.in $(top_srcdir)/configure.in
|
|
sed 's,@VERSION\@,$(VERSION),g' $(srcdir)/cvs.spec.in >cvs.tspec
|
|
mv cvs.tspec $(srcdir)/cvs.spec
|
|
|
|
# for backwards compatibility with the old makefiles
|
|
.PHONY: realclean
|
|
realclean: maintainer-clean
|
|
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
|
.NOEXPORT:
|