Deleted Added
full compact
Makefile.am (81404) Makefile.am (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.

--- 61 unchanged lines hidden (view full) ---

70 root.c \
71 run.c \
72 scramble.c \
73 server.c \
74 status.c \
75 subr.c \
76 tag.c \
77 update.c \
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.

--- 61 unchanged lines hidden (view full) ---

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 \
78 vers_ts.c \
79 watch.c \
80 wrapper.c \
81 zlib.c \
82 buffer.h \
83 client.h \
84 cvs.h \
85 edit.h \
86 error.h \
87 fileattr.h \
88 hardlink.h \
89 hash.h \
90 myndbm.h \
91 rcs.h \
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 \
92 server.h \
93 update.h \
94 server.h \
95 update.h \
96 version.h \
94 watch.h
97 watch.h
98
99BUILT_SOURCES = version.h
100
95cvs_LDADD = \
96 ../diff/libdiff.a \
97 ../lib/libcvs.a \
101cvs_LDADD = \
102 ../diff/libdiff.a \
103 ../lib/libcvs.a \
98 ../zlib/libz.a \
99 version.o
100cvs_EXTRA_DIST = version.c
104 ../zlib/libz.a
101
102# extra clean targets
103# wish this could be distclean-hdr-local but it's not part of automake
104DISTCLEANFILES = options.h-SAVED check.log check.plog
105
106# General
107EXTRA_DIST = \
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 = \
108 $(cvs_EXTRA_DIST) \
109 .cvsignore \
110 ChangeLog-9194 \
111 ChangeLog-9395 \
112 ChangeLog-96 \
113 ChangeLog-97 \
114 build_src.com \
112 .cvsignore \
113 ChangeLog-9194 \
114 ChangeLog-9395 \
115 ChangeLog-96 \
116 ChangeLog-97 \
117 build_src.com \
115 sanity.sh \
116 version.c \
117 version.c.in
118 sanity.sh
118
119
119check-local:
120check-local: localcheck remotecheck
121
122.PHONY: localcheck
123localcheck:
120 $(SHELL) $(srcdir)/sanity.sh `pwd`/cvs
121
122.PHONY: remotecheck
123remotecheck: all
124 $(SHELL) $(srcdir)/sanity.sh -r `pwd`/cvs
125
126## MAINTAINER Targets
127
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
128# version.c
129# - build this here so that we can distribute it
130# - version.c needs to be updated only once, since it depends on
131# configure.in, not on the results of a 'configure' run.
132# - It is guaranteed (with GNU Make) that when the version in configure.in
133# is changed, acversion.m4 is built only after the new version number is
134# propagated to the Makefile. (Libtool uses the same guarantee.)
135# - need the explicit version.o dependency or else make won't match
136# $(srcdir)/version.c when looking for a dependency for version.c
137version.o: $(srcdir)/version.c
138$(srcdir)/version.c: $(srcdir)/version.c.in $(top_srcdir)/configure.in
139 sed 's,@VERSION\@,$(VERSION),g' $(srcdir)/version.c.in >$(srcdir)/version.tc
140 mv $(srcdir)/version.tc $(srcdir)/version.c
141
142# for backwards compatibility with the old makefiles
143.PHONY: realclean
144realclean: maintainer-clean
132# for backwards compatibility with the old makefiles
133.PHONY: realclean
134realclean: maintainer-clean