summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/cvs/lib/Makefile.am
blob: 5984fcf0c66730ee58600864713774a2931c1f00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
## Process this file with automake to produce Makefile.in
# Makefile for library files used by GNU CVS.
# Copyright (C) 1986, 1988-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.

# For now we need to include $(top_srcdir)/src because some systems
# (at least 'AIX rioscpu2 3 4 000030498200',
# 'HP-UX hp60 B.10.20 A 9000/770 hp60 two-user license', &
# 'IRIX64 sgiop110 6.5 07151433 IP30') have trouble finding error.h
# when compiling savecwd.c
#
# FIXME - the fact that compiling on my Linux 2.2.16 system finds
# /usr/include/error.h instead of $(top_srcdir)/src/error.h but
# everything compiles and tests anyhow implies that src/error.h may
# be unecessary now.  Should look more deeply into this
#
# $(includeopt) is CVS specific and set by configure
INCLUDES = -I$(top_srcdir)/src $(includeopt)

noinst_LIBRARIES = libcvs.a

# Always use CVS's regular expression matcher regex.o, because of
# variations in regular expression syntax - we want to be the same
# across systems and (probably) compared with old versions of CVS too.
#
# On a more mundane/detail level, having regex.h match regex.c can be
# an issue if we aren't careful.
#
# Also should look into unifying regular expression matching in CVS
# with the diff library (perhaps to have the caller, CVS, do the
# matching?)
libcvs_a_SOURCES = \
	argmatch.c \
	ftruncate.c \
	getdate.y \
	getline.c \
	getopt.c \
	getopt1.c \
	md5.c \
	regex.c \
	savecwd.c \
	sighandle.c \
	stripslash.c \
	xgetwd.c \
	yesno.c \
	getline.h \
	getopt.h \
	fnmatch.h \
	md5.h \
	regex.h \
	savecwd.h \
	system.h \
	wait.h \
	xselect.h \
	xtime.h
## because @LIBOBJS@ is included below, automake automatically knows about
##     dup2.c
##     fncase.c
##     fnmatch.c
##     hostname.c
##     memmove.c
##     mkdir.c
##     rename.c
##     strstr.c
##     strerror.c
##     strtoul.c
##     valloc.c
##     waitpid.c
libcvs_a_LIBADD = @LIBOBJS@

EXTRA_DIST = \
	.cvsignore \
	ChangeLog.fsf \
	build_lib.com \
	xgssapi.h

# for backwards compatibility with the old makefiles
realclean: maintainer-clean
.PHONY: realclean