Makefile.am revision 102840
1## Process this file with automake to produce Makefile.in 2# Makefile for GNU CVS program. 3# Copyright (C) 1986, 1988-1990, 2000 Free Software Foundation, Inc. 4 5# This program is free software; you can redistribute it and/or modify 6# it under the terms of the GNU General Public License as published by 7# the Free Software Foundation; either version 2, or (at your option) 8# any later version. 9 10# This program is distributed in the hope that it will be useful, 11# but WITHOUT ANY WARRANTY; without even the implied warranty of 12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 13# GNU General Public License for more details. 14 15SHELL = /bin/sh 16 17# $(includeopt) is CVS specific and set by configure 18# FIXME - This includes line is dependant on its order. This means there is 19# some namespace hackery going on that maybe shouldn't be. Long term fix is to 20# try and remove naming ocnflicts and fix Automake to allow particular includes 21# to be attached only to particular object files. Short term fix is either or. 22##INCLUDES = -I. -I.. -I$(srcdir) -I$(top_srcdir)/lib 23INCLUDES = -I$(top_srcdir)/lib -I$(top_srcdir)/diff -I$(top_srcdir)/zlib $(includeopt) 24 25bin_PROGRAMS = cvs 26bin_SCRIPTS = cvsbug 27 28# The cvs executable 29cvs_SOURCES = \ 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 diff.c \ 41 edit.c \ 42 entries.c \ 43 error.c \ 44 expand_path.c \ 45 fileattr.c \ 46 filesubr.c \ 47 find_names.c \ 48 hardlink.c \ 49 hash.c \ 50 history.c \ 51 ignore.c \ 52 import.c \ 53 lock.c \ 54 log.c \ 55 login.c \ 56 logmsg.c \ 57 main.c \ 58 mkmodules.c \ 59 modules.c \ 60 myndbm.c \ 61 no_diff.c \ 62 parseinfo.c \ 63 patch.c \ 64 rcs.c \ 65 rcscmds.c \ 66 recurse.c \ 67 release.c \ 68 remove.c \ 69 repos.c \ 70 root.c \ 71 run.c \ 72 scramble.c \ 73 server.c \ 74 status.c \ 75 subr.c \ 76 tag.c \ 77 update.c \ 78 version.c \ 79 vers_ts.c \ 80 watch.c \ 81 wrapper.c \ 82 zlib.c \ 83 buffer.h \ 84 client.h \ 85 cvs.h \ 86 edit.h \ 87 error.h \ 88 fileattr.h \ 89 hardlink.h \ 90 hash.h \ 91 myndbm.h \ 92 rcs.h \ 93 root.h \ 94 server.h \ 95 update.h \ 96 version.h \ 97 watch.h 98 99BUILT_SOURCES = version.h 100 101cvs_LDADD = \ 102 ../diff/libdiff.a \ 103 ../lib/libcvs.a \ 104 ../zlib/libz.a 105 106# extra clean targets 107# wish this could be distclean-hdr-local but it's not part of automake 108DISTCLEANFILES = options.h-SAVED check.log check.plog 109 110# General 111EXTRA_DIST = \ 112 .cvsignore \ 113 ChangeLog-9194 \ 114 ChangeLog-9395 \ 115 ChangeLog-96 \ 116 ChangeLog-97 \ 117 build_src.com \ 118 sanity.sh 119 120check-local: localcheck remotecheck 121 122.PHONY: localcheck 123localcheck: 124 $(SHELL) $(srcdir)/sanity.sh `pwd`/cvs 125 126.PHONY: remotecheck 127remotecheck: all 128 $(SHELL) $(srcdir)/sanity.sh -r `pwd`/cvs 129 130## MAINTAINER Targets 131 132# for backwards compatibility with the old makefiles 133.PHONY: realclean 134realclean: maintainer-clean 135