1## Process this file with automake to produce Makefile.in 2# Makefile for GNU CVS program. 3# 4# Copyright (C) 1986-2005 The Free Software Foundation, Inc. 5# 6# Portions Copyright (C) 1998-2005 Derek Price, Ximbiot <http://ximbiot.com>, 7# and others. 8 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. 13 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. 18 19SHELL = /bin/sh 20 21AM_CPPFLAGS = -I$(top_srcdir)/lib -I$(top_builddir)/lib \ 22 -I$(top_srcdir)/diff $(ZLIB_CPPFLAGS) 23 24bin_PROGRAMS = cvs 25bin_SCRIPTS = cvsbug 26 27# The cvs executable 28cvs_SOURCES = \ 29 acl.c \ 30 add.c \ 31 admin.c \ 32 annotate.c \ 33 buffer.c \ 34 checkin.c \ 35 checkout.c \ 36 classify.c \ 37 client.c \ 38 commit.c \ 39 create_adm.c \ 40 cvsrc.c \ 41 diff.c \ 42 edit.c \ 43 entries.c \ 44 error.c \ 45 exithandle.c \ 46 expand_path.c \ 47 fileattr.c \ 48 filesubr.c \ 49 find_names.c \ 50 hardlink.c \ 51 hash.c \ 52 history.c \ 53 ignore.c \ 54 import.c \ 55 lock.c \ 56 log.c \ 57 log-buffer.c log-buffer.h \ 58 login.c \ 59 logmsg.c \ 60 ls.c \ 61 main.c \ 62 mkmodules.c \ 63 modules.c \ 64 ms-buffer.c ms-buffer.h \ 65 myndbm.c \ 66 no_diff.c \ 67 parseinfo.c parseinfo.h \ 68 patch.c \ 69 rcs.c \ 70 rcscmds.c \ 71 recurse.c \ 72 release.c \ 73 remove.c \ 74 repos.c \ 75 root.c \ 76 rsh-client.c rsh-client.h \ 77 run.c \ 78 scramble.c \ 79 server.c \ 80 stack.c stack.h \ 81 status.c \ 82 subr.c subr.h \ 83 tag.c \ 84 update.c \ 85 version.c \ 86 vers_ts.c \ 87 watch.c \ 88 wrapper.c \ 89 zlib.c \ 90 buffer.h \ 91 client.h \ 92 cvs.h \ 93 edit.h \ 94 fileattr.h \ 95 hardlink.h \ 96 hash.h \ 97 history.h \ 98 myndbm.h \ 99 rcs.h \ 100 root.h \ 101 server.h \ 102 update.h \ 103 watch.h 104 105EXTRA_cvs_SOURCES = gssapi-client.c gssapi-client.h \ 106 kerberos4-client.c kerberos4-client.h \ 107 socket-client.c socket-client.h 108 109cvs_DEPENDENCIES = $(cvs_client_objects) \ 110 ../diff/libdiff.a \ 111 ../lib/libcvs.a \ 112 $(ZLIB_LIBS) 113cvs_LDADD = $(cvs_client_objects) \ 114 ../diff/libdiff.a \ 115 ../lib/libcvs.a \ 116 $(ZLIB_LIBS) \ 117 $(LIB_CLOCK_GETTIME) \ 118 $(LIB_NANOSLEEP) \ 119 $(LIBINTL) 120 121# General 122EXTRA_DIST = \ 123 .cvsignore \ 124 ChangeLog-9194 \ 125 ChangeLog-9395 \ 126 ChangeLog-96 \ 127 ChangeLog-97 \ 128 build_src.com \ 129 sanity.sh 130 131check-local: localcheck remotecheck proxycheck 132 133.PHONY: localcheck 134localcheck: sanity.config.sh 135 $(SHELL) $(srcdir)/sanity.sh `pwd`/cvs$(EXEEXT) 136 137.PHONY: remotecheck 138remotecheck: all sanity.config.sh 139 $(SHELL) $(srcdir)/sanity.sh -r `pwd`/cvs$(EXEEXT) 140 141.PHONY: proxycheck 142proxycheck: all sanity.config.sh 143 $(SHELL) $(srcdir)/sanity.sh -p `pwd`/cvs$(EXEEXT) 144 145# Our distclean targets 146distclean-local: 147 rm -f check.log check.plog check.plog~ 148 149## MAINTAINER Targets 150 151# for backwards compatibility with the old makefiles 152.PHONY: realclean 153realclean: maintainer-clean 154