]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/cvs/lib/Makefile.am
This commit was generated by cvs2svn to compensate for changes in r169942,
[FreeBSD/FreeBSD.git] / contrib / cvs / lib / Makefile.am
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.
6
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)
10 # any later version.
11
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.
16
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
22 #
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
27 #
28 # $(includeopt) is CVS specific and set by configure
29 INCLUDES = -I$(top_srcdir)/src $(includeopt)
30
31 noinst_LIBRARIES = libcvs.a
32
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.
36 #
37 # On a more mundane/detail level, having regex.h match regex.c can be
38 # an issue if we aren't careful.
39 #
40 # Also should look into unifying regular expression matching in CVS
41 # with the diff library (perhaps to have the caller, CVS, do the
42 # matching?)
43 libcvs_a_SOURCES = \
44         argmatch.c \
45         getdate.y \
46         getline.c \
47         getopt.c \
48         getopt1.c \
49         getpass.c \
50         md5.c \
51         regex.c \
52         savecwd.c \
53         sighandle.c \
54         stripslash.c \
55         xgetwd.c \
56         yesno.c \
57         getline.h \
58         getopt.h \
59         getpagesize.h \
60         md5.h \
61         regex.h \
62         savecwd.h \
63         system.h \
64         wait.h \
65         xselect.h \
66         xtime.h
67 ## because @LIBOBJS@ is included below, automake automatically knows about
68 ##     dup2.c
69 ##     fncase.c
70 ##     fnmatch.c
71 ##     fnmatch.h
72 ##     ftruncate.c
73 ##     gethostname.c
74 ##     memmove.c
75 ##     mkdir.c
76 ##     rename.c
77 ##     strstr.c
78 ##     strerror.c
79 ##     strtoul.c
80 ##     valloc.c
81 ##     waitpid.c
82 libcvs_a_LIBADD = @LIBOBJS@
83
84 EXTRA_DIST = \
85         .cvsignore \
86         ChangeLog.fsf \
87         build_lib.com \
88         libcvs.dep libcvs.dsp libcvs.mak \
89         xgssapi.h
90
91 # For the xsize module from GNULIB.
92 libcvs_a_SOURCES += xsize.h
93
94 # Until Automake gets its act together
95 distclean-local:
96         rm -f fnmatch.h
97
98 # for backwards compatibility with the old makefiles
99 realclean: maintainer-clean
100 .PHONY: realclean