diff options
| author | christos <christos@NetBSD.org> | 2000-09-04 21:46:56 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2000-09-04 21:46:56 +0000 |
| commit | 7803a4e4eff3e1fcfd26156a9c448fae2e3ef3c3 (patch) | |
| tree | 18b8eb18ba9df0376cb63dee6b56037d5bd7b397 /gnu | |
| parent | 16cc52a1aada59725a28ade9c5a877d98a4b57d8 (diff) | |
Add reach-over Makefiles for cvs
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.bin/cvs/Makefile | 7 | ||||
| -rw-r--r-- | gnu/usr.bin/cvs/Makefile.inc | 30 | ||||
| -rw-r--r-- | gnu/usr.bin/cvs/cvs/Makefile | 24 | ||||
| -rw-r--r-- | gnu/usr.bin/cvs/cvsbug/Makefile | 30 | ||||
| -rw-r--r-- | gnu/usr.bin/cvs/doc/Makefile | 11 | ||||
| -rw-r--r-- | gnu/usr.bin/cvs/include/config.h | 278 | ||||
| -rw-r--r-- | gnu/usr.bin/cvs/libcvs/Makefile | 19 | ||||
| -rw-r--r-- | gnu/usr.bin/cvs/libdiff/Makefile | 17 | ||||
| -rw-r--r-- | gnu/usr.bin/cvs/rcs2log/Makefile | 13 |
9 files changed, 429 insertions, 0 deletions
diff --git a/gnu/usr.bin/cvs/Makefile b/gnu/usr.bin/cvs/Makefile new file mode 100644 index 00000000000..92ea2d3fe4a --- /dev/null +++ b/gnu/usr.bin/cvs/Makefile @@ -0,0 +1,7 @@ +# $NetBSD: Makefile,v 1.1 2000/09/04 21:46:56 christos Exp $ + +# The two four of these are libraries and have to be built first. + +SUBDIR= libcvs libdiff doc cvs cvsbug rcs2log + +.include <bsd.subdir.mk> diff --git a/gnu/usr.bin/cvs/Makefile.inc b/gnu/usr.bin/cvs/Makefile.inc new file mode 100644 index 00000000000..1f89de97005 --- /dev/null +++ b/gnu/usr.bin/cvs/Makefile.inc @@ -0,0 +1,30 @@ +# $NetBSD: Makefile.inc,v 1.1 2000/09/04 21:46:56 christos Exp $ + +WARNS?= 0 + +IDIST= ${.CURDIR}/../../../dist/cvs + +CPPFLAGS+= -DHAVE_CONFIG_H -I${.CURDIR}/../include -I${IDIST}/lib \ + -I${IDIST}/diff -I${IDIST}/src + +DOBJDIR!=cd $(.CURDIR)/../libdiff; \ + printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f- + +COBJDIR!=cd $(.CURDIR)/../libcvs; \ + printf "xxx: .MAKE\n\t@echo \$${.OBJDIR}\n" | ${MAKE} -s -f- + +LIBDIFF= ${DOBJDIR}/libdiff.a +LIBCVS= ${COBJDIR}/libcvs.a + +# Directories to install into. +#PFIX_LIBEXECDIR=/usr/libexec/postfix +#PFIX_ETCDIR= /etc/postfix +#PFIX_EXAMPLEDIR=/usr/share/examples/postfix +#PFIX_SBINDIR= /usr/sbin + +# postfix check wants a lot of files to be owned by root +#BINOWN= root + +.if exists(${.CURDIR}/../../Makefile.inc) +.include "${.CURDIR}/../../Makefile.inc" +.endif diff --git a/gnu/usr.bin/cvs/cvs/Makefile b/gnu/usr.bin/cvs/cvs/Makefile new file mode 100644 index 00000000000..bec89f44c46 --- /dev/null +++ b/gnu/usr.bin/cvs/cvs/Makefile @@ -0,0 +1,24 @@ +# $NetBSD: Makefile,v 1.1 2000/09/04 21:46:56 christos Exp $ + +.include "../Makefile.inc" + +PROG= cvs + +DIST= ${IDIST}/src +.PATH: ${DIST} ${IDIST}/man + +MAN= cvs.1 cvs.5 +SRCS= add.c admin.c buffer.c checkin.c checkout.c classify.c \ + client.c commit.c create_adm.c cvsrc.c diff.c edit.c \ + entries.c error.c expand_path.c fileattr.c filesubr.c \ + find_names.c hardlink.c hash.c history.c ignore.c import.c \ + lock.c log.c login.c logmsg.c main.c mkmodules.c modules.c \ + myndbm.c no_diff.c parseinfo.c patch.c rcs.c rcscmds.c \ + recurse.c release.c remove.c repos.c root.c rtag.c run.c \ + scramble.c server.c status.c subr.c tag.c update.c vers_ts.c \ + version.c watch.c wrapper.c zlib.c + +DPADD+= ${LIBDIFF} ${LIBCVS} ${LIBCRYPT} ${LIBZ} +LDADD+= ${LIBDIFF} ${LIBCVS} -lcrypt -lz + +.include <bsd.prog.mk> diff --git a/gnu/usr.bin/cvs/cvsbug/Makefile b/gnu/usr.bin/cvs/cvsbug/Makefile new file mode 100644 index 00000000000..8618814a32f --- /dev/null +++ b/gnu/usr.bin/cvs/cvsbug/Makefile @@ -0,0 +1,30 @@ +# $NetBSD: Makefile,v 1.1 2000/09/04 21:46:56 christos Exp $ + +.include "../Makefile.inc" + +DIST=${IDIST}/src +.PATH: ${DIST} +PROG= cvsbug + +DIST= ${IDIST}/src +.PATH: ${DIST} ${IDIST}/man + +MAN= cvsbug.8 +SRCS= cvsbug.sh +CLEANFILES+=.fname + +cvsbug: cvsbug.sh + sed -e 's,xLIBDIRx,Not installed,g' \ + -e "s,xVERSIONx,`cat .fname`,g" ${.ALLSRC} > ${.TARGET} + chmod a+x ${.TARGET} + +cvsbug: .fname + +.fname: version.c + echo > .fname \ + cvs-`sed < ${.ALLSRC} \ + -e '/version_string/!d' \ + -e 's/[^0-9.]*\([0-9.]*\).*/\1/' \ + -e q` + +.include <bsd.prog.mk> diff --git a/gnu/usr.bin/cvs/doc/Makefile b/gnu/usr.bin/cvs/doc/Makefile new file mode 100644 index 00000000000..7fa4948005f --- /dev/null +++ b/gnu/usr.bin/cvs/doc/Makefile @@ -0,0 +1,11 @@ +# $NetBSD: Makefile,v 1.1 2000/09/04 21:46:57 christos Exp $ + +.include "../Makefile.inc" + +DIST=${IDIST}/doc +.PATH: ${DIST} +TEXINFO = cvsclient.texi cvs.texinfo +INFOFLAGS = -I${DIST} -I${.CURDIR} + + +.include <bsd.info.mk> diff --git a/gnu/usr.bin/cvs/include/config.h b/gnu/usr.bin/cvs/include/config.h new file mode 100644 index 00000000000..1f7ca9dc222 --- /dev/null +++ b/gnu/usr.bin/cvs/include/config.h @@ -0,0 +1,278 @@ +/* config.h. Generated automatically by configure. */ +/* config.h.in. Generated automatically from configure.in by autoheader. */ + +/* Define if on AIX 3. + System headers sometimes define this. + We just want to avoid a redefinition error message. */ +#ifndef _ALL_SOURCE +/* #undef _ALL_SOURCE */ +#endif + +/* Define if the closedir function returns void instead of int. */ +/* #undef CLOSEDIR_VOID */ + +/* Define to empty if the keyword does not work. */ +/* #undef const */ + +/* Define to `int' if <sys/types.h> doesn't define. */ +/* #undef gid_t */ + +/* Define if you support file names longer than 14 characters. */ +#define HAVE_LONG_FILE_NAMES 1 + +/* Define if your struct stat has st_blksize. */ +#define HAVE_ST_BLKSIZE 1 + +/* Define if you have <sys/wait.h> that is POSIX.1 compatible. */ +#define HAVE_SYS_WAIT_H 1 + +/* Define if utime(file, NULL) sets file's timestamp to the present. */ +#define HAVE_UTIME_NULL 1 + +/* Define if you have <vfork.h>. */ +/* #undef HAVE_VFORK_H */ + +/* Define if on MINIX. */ +/* #undef _MINIX */ + +/* Define to `int' if <sys/types.h> doesn't define. */ +/* #undef mode_t */ + +/* Define to `int' if <sys/types.h> doesn't define. */ +/* #undef pid_t */ + +/* Define if the system does not provide POSIX.1 features except + with this defined. */ +/* #undef _POSIX_1_SOURCE */ + +/* Define if you need to in order for stat and other things to work. */ +/* #undef _POSIX_SOURCE */ + +/* Define as the return type of signal handlers (int or void). */ +#define RETSIGTYPE void + +/* Define to `unsigned' if <sys/types.h> doesn't define. */ +/* #undef size_t */ + +/* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */ +/* #undef STAT_MACROS_BROKEN */ + +/* Define if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Define if you can safely include both <sys/time.h> and <time.h>. */ +#define TIME_WITH_SYS_TIME 1 + +/* Define to `int' if <sys/types.h> doesn't define. */ +/* #undef uid_t */ + +/* Define vfork as fork if vfork does not work. */ +/* #undef vfork */ + +/* Define if you have MIT Kerberos version 4 available. */ +/* #undef HAVE_KERBEROS */ + +/* Define if you have GSSAPI with MIT Kerberos version 5 available. */ +/* #undef HAVE_GSSAPI */ + +/* Define if GSS_C_NT_HOSTBASED_SERVICE is defined in the gssapi.h + header file. Only relevant when using GSSAPI. */ +/* #undef HAVE_GSS_C_NT_HOSTBASED_SERVICE */ + +/* Define if you want CVS to be able to be a remote repository client. */ +#define CLIENT_SUPPORT 1 + +/* Define if you want CVS to be able to serve repositories to remote + clients. */ +#define SERVER_SUPPORT 1 + +/* Define if you want to use the password authenticated server. */ +#define AUTH_SERVER_SUPPORT 1 + +/* Define if you want encryption support. */ +/* #undef ENCRYPTION */ + +/* Define if you have the connect function. */ +#define HAVE_CONNECT 1 + +/* Define if this system supports chown(), link(), and friends. */ +#define PRESERVE_PERMISSIONS_SUPPORT 1 + +/* Define if you have memchr (always for CVS). */ +#define HAVE_MEMCHR 1 + +/* Define if you have strchr (always for CVS). */ +#define HAVE_STRCHR 1 + +/* Define if utime requires write access to the file (true on Windows, + but not Unix). */ +/* #undef UTIME_EXPECTS_WRITABLE */ + +/* Define if setmode is required when writing binary data to stdout. */ +/* #undef USE_SETMODE_STDOUT */ + +/* Define if the diff library should use setmode for binary files. + FIXME: Why two different macros for setmode? */ +/* #undef HAVE_SETMODE */ + +/* Define if you have the crypt function. */ +#define HAVE_CRYPT 1 + +/* Define if you have the fchdir function. */ +#define HAVE_FCHDIR 1 + +/* Define if you have the fchmod function. */ +#define HAVE_FCHMOD 1 + +/* Define if you have the fsync function. */ +#define HAVE_FSYNC 1 + +/* Define if you have the ftime function. */ +/* #undef HAVE_FTIME */ + +/* Define if you have the ftruncate function. */ +#define HAVE_FTRUNCATE 1 + +/* Define if you have the getpagesize function. */ +#define HAVE_GETPAGESIZE 1 + +/* Define if you have the getspnam function. */ +/* #undef HAVE_GETSPNAM */ + +/* Define if you have the initgroups function. */ +#define HAVE_INITGROUPS 1 + +/* Define if you have the krb_get_err_text function. */ +/* #undef HAVE_KRB_GET_ERR_TEXT */ + +/* Define if you have the mktemp function. */ +#define HAVE_MKTEMP 1 + +/* Define if you have the putenv function. */ +#define HAVE_PUTENV 1 + +/* Define if you have the readlink function. */ +#define HAVE_READLINK 1 + +/* Define if you have the sigaction function. */ +#define HAVE_SIGACTION 1 + +/* Define if you have the sigblock function. */ +#define HAVE_SIGBLOCK 1 + +/* Define if you have the sigprocmask function. */ +#define HAVE_SIGPROCMASK 1 + +/* Define if you have the sigsetmask function. */ +#define HAVE_SIGSETMASK 1 + +/* Define if you have the sigvec function. */ +#define HAVE_SIGVEC 1 + +/* Define if you have the tempnam function. */ +#define HAVE_TEMPNAM 1 + +/* Define if you have the timezone function. */ +#define HAVE_TIMEZONE 1 + +/* Define if you have the tzset function. */ +#define HAVE_TZSET 1 + +/* Define if you have the vprintf function. */ +#define HAVE_VPRINTF 1 + +/* Define if you have the wait3 function. */ +#define HAVE_WAIT3 1 + +/* Define if you have the <direct.h> header file. */ +/* #undef HAVE_DIRECT_H */ + +/* Define if you have the <dirent.h> header file. */ +#define HAVE_DIRENT_H 1 + +/* Define if you have the <errno.h> header file. */ +#define HAVE_ERRNO_H 1 + +/* Define if you have the <fcntl.h> header file. */ +#define HAVE_FCNTL_H 1 + +/* Define if you have the <gssapi.h> header file. */ +/* #undef HAVE_GSSAPI_H */ + +/* Define if you have the <gssapi/gssapi.h> header file. */ +/* #undef HAVE_GSSAPI_GSSAPI_H */ + +/* Define if you have the <gssapi/gssapi_generic.h> header file. */ +/* #undef HAVE_GSSAPI_GSSAPI_GENERIC_H */ + +/* Define if you have the <io.h> header file. */ +/* #undef HAVE_IO_H */ + +/* Define if you have the <limits.h> header file. */ +#define HAVE_LIMITS_H 1 + +/* Define if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define if you have the <ndbm.h> header file. */ +#define HAVE_NDBM_H 1 + +/* Define if you have the <ndir.h> header file. */ +/* #undef HAVE_NDIR_H */ + +/* Define if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define if you have the <sys/bsdtypes.h> header file. */ +/* #undef HAVE_SYS_BSDTYPES_H */ + +/* Define if you have the <sys/dir.h> header file. */ +/* #undef HAVE_SYS_DIR_H */ + +/* Define if you have the <sys/file.h> header file. */ +#define HAVE_SYS_FILE_H 1 + +/* Define if you have the <sys/ndir.h> header file. */ +/* #undef HAVE_SYS_NDIR_H */ + +/* Define if you have the <sys/param.h> header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define if you have the <sys/resource.h> header file. */ +#define HAVE_SYS_RESOURCE_H 1 + +/* Define if you have the <sys/select.h> header file. */ +#define HAVE_SYS_SELECT_H 1 + +/* Define if you have the <sys/time.h> header file. */ +#define HAVE_SYS_TIME_H 1 + +/* Define if you have the <sys/timeb.h> header file. */ +#define HAVE_SYS_TIMEB_H 1 + +/* Define if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the <utime.h> header file. */ +#define HAVE_UTIME_H 1 + +/* Define if you have the crypt library (-lcrypt). */ +/* #undef HAVE_LIBCRYPT */ + +/* Define if you have the gen library (-lgen). */ +/* #undef HAVE_LIBGEN */ + +/* Define if you have the inet library (-linet). */ +/* #undef HAVE_LIBINET */ + +/* Define if you have the nsl library (-lnsl). */ +/* #undef HAVE_LIBNSL */ + +/* Define if you have the nsl_s library (-lnsl_s). */ +/* #undef HAVE_LIBNSL_S */ + +/* Define if you have the sec library (-lsec). */ +/* #undef HAVE_LIBSEC */ + +/* Define if you have the socket library (-lsocket). */ +/* #undef HAVE_LIBSOCKET */ diff --git a/gnu/usr.bin/cvs/libcvs/Makefile b/gnu/usr.bin/cvs/libcvs/Makefile new file mode 100644 index 00000000000..745dd9a384a --- /dev/null +++ b/gnu/usr.bin/cvs/libcvs/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1 2000/09/04 21:46:57 christos Exp $ + +LIB= cvs + +DIST= ${IDIST}/lib +.PATH: ${DIST} + +SRCS= argmatch.c dup2.c getdate.y getline.c getopt.c getopt1.c \ + md5.c regex.c savecwd.c sighandle.c stripslash.c xgetwd.c \ + yesno.c + +MKLINT= no +MKPIC= no +MKPROFILE= no + +# only needed during build +libinstall:: + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/cvs/libdiff/Makefile b/gnu/usr.bin/cvs/libdiff/Makefile new file mode 100644 index 00000000000..fd3c62f2619 --- /dev/null +++ b/gnu/usr.bin/cvs/libdiff/Makefile @@ -0,0 +1,17 @@ +# $NetBSD: Makefile,v 1.1 2000/09/04 21:46:57 christos Exp $ + +LIB= diff + +DIST= ${IDIST}/${LIB} +.PATH: ${DIST} + +SRCS != echo ${DIST}/*.c | sed -e s,${DIST}/,,g + +MKLINT= no +MKPIC= no +MKPROFILE= no + +# only needed during build +libinstall:: + +.include <bsd.lib.mk> diff --git a/gnu/usr.bin/cvs/rcs2log/Makefile b/gnu/usr.bin/cvs/rcs2log/Makefile new file mode 100644 index 00000000000..e983fd8e806 --- /dev/null +++ b/gnu/usr.bin/cvs/rcs2log/Makefile @@ -0,0 +1,13 @@ +# $NetBSD: Makefile,v 1.1 2000/09/04 21:46:57 christos Exp $ + +.include "../Makefile.inc" + +PROG= rcs2log + +DIST=${IDIST}/contrib +.PATH: ${DIST} + +NOMAN= 1 +SRCS= rcs2log.sh + +.include <bsd.prog.mk> |
