Sync usage with man page.
[netbsd-mini2440.git] / external / gpl2 / xcvs / dist / src / Makefile.am
blob160fa2dcd655cf62ef8c384b7800e1a6d89d3bad
1 ## Process this file with automake to produce Makefile.in
2 # Makefile for GNU CVS program.
4 # Copyright (C) 1986-2005 The Free Software Foundation, Inc.
6 # Portions Copyright (C) 1998-2005 Derek Price, Ximbiot <http://ximbiot.com>,
7 #                                  and others.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; either version 2, or (at your option)
12 # any later version.
14 # This program is distributed in the hope that it will be useful,
15 # but WITHOUT ANY WARRANTY; without even the implied warranty of
16 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 # GNU General Public License for more details.
19 SHELL = /bin/sh
21 AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib \
22               -I$(top_srcdir)/diff $(ZLIB_CPPFLAGS)
24 bin_PROGRAMS = cvs
25 bin_SCRIPTS = cvsbug
27 # The cvs executable
28 cvs_SOURCES = \
29         add.c \
30         admin.c \
31         annotate.c \
32         buffer.c \
33         checkin.c \
34         checkout.c \
35         classify.c \
36         client.c \
37         commit.c \
38         create_adm.c \
39         cvsrc.c \
40         diff.c \
41         edit.c \
42         entries.c \
43         error.c \
44         exithandle.c \
45         expand_path.c \
46         fileattr.c \
47         filesubr.c \
48         find_names.c \
49         hardlink.c \
50         hash.c \
51         history.c \
52         ignore.c \
53         import.c \
54         lock.c \
55         log.c \
56         log-buffer.c log-buffer.h \
57         login.c \
58         logmsg.c \
59         ls.c \
60         main.c \
61         mkmodules.c \
62         modules.c \
63         ms-buffer.c ms-buffer.h \
64         myndbm.c \
65         no_diff.c \
66         parseinfo.c parseinfo.h \
67         patch.c \
68         rcs.c \
69         rcscmds.c \
70         recurse.c \
71         release.c \
72         remove.c \
73         repos.c \
74         root.c \
75         rsh-client.c rsh-client.h \
76         run.c \
77         scramble.c \
78         server.c \
79         stack.c stack.h \
80         status.c \
81         subr.c subr.h \
82         tag.c \
83         update.c \
84         version.c \
85         vers_ts.c \
86         watch.c \
87         wrapper.c \
88         zlib.c \
89         buffer.h \
90         client.h \
91         cvs.h \
92         edit.h \
93         fileattr.h \
94         hardlink.h \
95         hash.h \
96         history.h \
97         myndbm.h \
98         rcs.h \
99         root.h \
100         server.h \
101         update.h \
102         watch.h
104 EXTRA_cvs_SOURCES = gssapi-client.c gssapi-client.h \
105                     kerberos4-client.c kerberos4-client.h \
106                     socket-client.c socket-client.h
108 cvs_DEPENDENCIES = $(cvs_client_objects) \
109         ../diff/libdiff.a \
110         ../lib/libcvs.a \
111         $(ZLIB_LIBS)
112 cvs_LDADD = $(cvs_client_objects) \
113         ../diff/libdiff.a \
114         ../lib/libcvs.a \
115         $(ZLIB_LIBS) \
116         $(LIB_CLOCK_GETTIME) \
117         $(LIB_NANOSLEEP) \
118         $(LIBINTL)
120 # General
121 EXTRA_DIST = \
122         .cvsignore \
123         ChangeLog-9194 \
124         ChangeLog-9395 \
125         ChangeLog-96 \
126         ChangeLog-97 \
127         build_src.com \
128         sanity.sh
130 check-local: localcheck remotecheck proxycheck
132 .PHONY: localcheck
133 localcheck: sanity.config.sh
134         $(SHELL) $(srcdir)/sanity.sh `pwd`/cvs$(EXEEXT)
136 .PHONY: remotecheck
137 remotecheck: all sanity.config.sh
138         $(SHELL) $(srcdir)/sanity.sh -r `pwd`/cvs$(EXEEXT)
140 .PHONY: proxycheck
141 proxycheck: all sanity.config.sh
142         $(SHELL) $(srcdir)/sanity.sh -p `pwd`/cvs$(EXEEXT)
144 # Our distclean targets
145 distclean-local:
146         rm -f check.log check.plog check.plog~
148 ## MAINTAINER Targets
150 # for backwards compatibility with the old makefiles
151 .PHONY: realclean
152 realclean: maintainer-clean