1 ## Process this file with automake to produce Makefile.in
2 # Makefile for library files used by GNU CVS.
3 # Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994,
4 # 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
5 # Free Software Foundation, Inc.
7 # This program is free software; you can redistribute it and/or modify
8 # it under the terms of the GNU General Public License as published by
9 # the Free Software Foundation; either version 2, or (at your option)
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # For now we need to include $(top_srcdir)/src because some systems
18 # (at least 'AIX rioscpu2 3 4 000030498200',
19 # 'HP-UX hp60 B.10.20 A 9000/770 hp60 two-user license', &
20 # 'IRIX64 sgiop110 6.5 07151433 IP30') have trouble finding error.h
21 # when compiling savecwd.c
23 # FIXME - the fact that compiling on my Linux 2.2.16 system finds
24 # /usr/include/error.h instead of $(top_srcdir)/src/error.h but
25 # everything compiles and tests anyhow implies that src/error.h may
26 # be unecessary now. Should look more deeply into this
28 # $(includeopt) is CVS specific and set by configure
29 INCLUDES = -I$(top_srcdir)/src $(includeopt)
31 noinst_LIBRARIES = libcvs.a
33 # Always use CVS's regular expression matcher regex.o, because of
34 # variations in regular expression syntax - we want to be the same
35 # across systems and (probably) compared with old versions of CVS too.
37 # On a more mundane/detail level, having regex.h match regex.c can be
38 # an issue if we aren't careful.
40 # Also should look into unifying regular expression matching in CVS
41 # with the diff library (perhaps to have the caller, CVS, do the
67 ## because @LIBOBJS@ is included below, automake automatically knows about
82 libcvs_a_LIBADD = @LIBOBJS@
88 libcvs.dep libcvs.dsp libcvs.mak \
91 # For the xsize module from GNULIB.
92 libcvs_a_SOURCES += xsize.h
94 # Until Automake gets its act together
98 # for backwards compatibility with the old makefiles
99 realclean: maintainer-clean