1## Process this file with automake to produce Makefile.in 2# Makefile for library files used by GNU CVS. 3# Copyright (C) 1986, 1988-1994, 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 15# For now we need to include $(top_srcdir)/src because some systems 16# (at least 'AIX rioscpu2 3 4 000030498200', 17# 'HP-UX hp60 B.10.20 A 9000/770 hp60 two-user license', & 18# 'IRIX64 sgiop110 6.5 07151433 IP30') have trouble finding error.h 19# when compiling savecwd.c 20# 21# FIXME - the fact that compiling on my Linux 2.2.16 system finds 22# /usr/include/error.h instead of $(top_srcdir)/src/error.h but 23# everything compiles and tests anyhow implies that src/error.h may 24# be unecessary now. Should look more deeply into this 25# 26# $(includeopt) is CVS specific and set by configure 27INCLUDES = -I$(top_srcdir)/src $(includeopt) 28 29noinst_LIBRARIES = libcvs.a 30 31# Always use CVS's regular expression matcher regex.o, because of 32# variations in regular expression syntax - we want to be the same 33# across systems and (probably) compared with old versions of CVS too. 34# 35# On a more mundane/detail level, having regex.h match regex.c can be 36# an issue if we aren't careful. 37# 38# Also should look into unifying regular expression matching in CVS 39# with the diff library (perhaps to have the caller, CVS, do the 40# matching?) 41libcvs_a_SOURCES = \ 42 argmatch.c \ 43 ftruncate.c \ 44 getdate.y \ 45 getline.c \ 46 md5.c \ 47 regex.c \ 48 savecwd.c \ 49 sighandle.c \ 50 stripslash.c \ 51 xgetwd.c \ 52 yesno.c \ 53 getline.h \ 54 fnmatch.h \ 55 md5.h \ 56 regex.h \ 57 savecwd.h \ 58 system.h \ 59 wait.h \ 60 xselect.h \ 61 xtime.h 62## because @LIBOBJS@ is included below, automake automatically knows about 63## dup2.c 64## fncase.c 65## fnmatch.c 66## hostname.c 67## memmove.c 68## mkdir.c 69## rename.c 70## strstr.c 71## strerror.c 72## strtoul.c 73## valloc.c 74## waitpid.c 75libcvs_a_LIBADD = @LIBOBJS@ 76 77EXTRA_DIST = \ 78 .cvsignore \ 79 ChangeLog.fsf \ 80 build_lib.com \ 81 xgssapi.h 82 83# for backwards compatibility with the old makefiles 84realclean: maintainer-clean 85.PHONY: realclean 86