Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/diffutils Import build structure for diffutils-2...



details:   https://anonhg.NetBSD.org/src/rev/7a3bbad0222f
branches:  trunk
changeset: 542291:7a3bbad0222f
user:      wiz <wiz%NetBSD.org@localhost>
date:      Sun Jan 26 00:40:40 2003 +0000

description:
Import build structure for diffutils-2.8.1. Reviewed by christos.

diffstat:

 gnu/usr.bin/diffutils/Makefile          |    7 +
 gnu/usr.bin/diffutils/Makefile.inc      |   18 +
 gnu/usr.bin/diffutils/cmp/Makefile      |   14 +
 gnu/usr.bin/diffutils/diff/Makefile     |   19 +
 gnu/usr.bin/diffutils/diff3/Makefile    |   14 +
 gnu/usr.bin/diffutils/include/config.h  |  516 ++++++++++++++++++++++++++++++++
 gnu/usr.bin/diffutils/include/fnmatch.h |   69 ++++
 gnu/usr.bin/diffutils/include/regex.h   |   46 ++
 gnu/usr.bin/diffutils/lib/Makefile      |   22 +
 gnu/usr.bin/diffutils/sdiff/Makefile    |   14 +
 10 files changed, 739 insertions(+), 0 deletions(-)

diffs (truncated from 779 to 300 lines):

diff -r d4c658a67355 -r 7a3bbad0222f gnu/usr.bin/diffutils/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/diffutils/Makefile    Sun Jan 26 00:40:40 2003 +0000
@@ -0,0 +1,7 @@
+#      $NetBSD: Makefile,v 1.1.1.1 2003/01/26 00:40:40 wiz Exp $
+
+# We don't use GNU cmp, but have our own
+
+SUBDIR=        lib .WAIT diff diff3 sdiff # cmp
+
+.include <bsd.subdir.mk>
diff -r d4c658a67355 -r 7a3bbad0222f gnu/usr.bin/diffutils/Makefile.inc
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/diffutils/Makefile.inc        Sun Jan 26 00:40:40 2003 +0000
@@ -0,0 +1,18 @@
+#      $NetBSD: Makefile.inc,v 1.1.1.1 2003/01/26 00:40:40 wiz Exp $
+
+.include <bsd.own.mk>
+
+WARNS= 0
+
+IDIST= ${NETBSDSRCDIR}/gnu/dist/diffutils-2.8.1
+
+CPPFLAGS+=     -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H \
+               -I${.CURDIR}/../include -I${IDIST}/lib
+
+DOBJDIR!=      cd $(.CURDIR)/../lib && ${PRINTOBJDIR}
+
+LIBDIFFUTILS=  ${DOBJDIR}/libdiffutils.a
+
+.if exists(${.CURDIR}/../../Makefile.inc)
+.include "${.CURDIR}/../../Makefile.inc"
+.endif
diff -r d4c658a67355 -r 7a3bbad0222f gnu/usr.bin/diffutils/cmp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/diffutils/cmp/Makefile        Sun Jan 26 00:40:40 2003 +0000
@@ -0,0 +1,14 @@
+#      $NetBSD: Makefile,v 1.1.1.1 2003/01/26 00:40:40 wiz Exp $
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST=          ${IDIST}/src
+.PATH:         ${DIST} ${IDIST}/man
+
+PROG=          cmp
+SRCS=          cmp.c version.c
+
+DPADD+=                ${LIBDIFFUTILS}
+LDADD+=                ${LIBDIFFUTILS}
+
+.include <bsd.prog.mk>
diff -r d4c658a67355 -r 7a3bbad0222f gnu/usr.bin/diffutils/diff/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/diffutils/diff/Makefile       Sun Jan 26 00:40:40 2003 +0000
@@ -0,0 +1,19 @@
+#      $NetBSD: Makefile,v 1.1.1.1 2003/01/26 00:40:40 wiz Exp $
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST=          ${IDIST}/src
+.PATH:         ${DIST} ${IDIST}/doc ${IDIST}/man
+
+PROG=          diff
+SRCS=          analyze.c context.c diff.c dir.c ed.c ifdef.c io.c \
+               normal.c side.c util.c version.c
+
+DPADD+=                ${LIBDIFFUTILS}
+LDADD+=                ${LIBDIFFUTILS}
+
+INFOFLAGS=     -I${IDIST}/doc
+TEXINFO=       diff.texi
+
+.include <bsd.info.mk>
+.include <bsd.prog.mk>
diff -r d4c658a67355 -r 7a3bbad0222f gnu/usr.bin/diffutils/diff3/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/diffutils/diff3/Makefile      Sun Jan 26 00:40:40 2003 +0000
@@ -0,0 +1,14 @@
+#      $NetBSD: Makefile,v 1.1.1.1 2003/01/26 00:40:40 wiz Exp $
+
+.include "${.CURDIR}/../Makefile.inc"
+
+DIST=          ${IDIST}/src
+.PATH:         ${DIST} ${IDIST}/man
+
+PROG=          diff3
+SRCS=          diff3.c version.c
+
+DPADD+=                ${LIBDIFFUTILS}
+LDADD+=                ${LIBDIFFUTILS}
+
+.include <bsd.prog.mk>
diff -r d4c658a67355 -r 7a3bbad0222f gnu/usr.bin/diffutils/include/config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/gnu/usr.bin/diffutils/include/config.h    Sun Jan 26 00:40:40 2003 +0000
@@ -0,0 +1,516 @@
+/* config.h.  Generated by configure.  */
+/* config.hin.  Generated from configure.ac by autoheader.  */
+
+/* Define to 1 if the `closedir' function returns void instead of `int'. */
+/* #undef CLOSEDIR_VOID */
+
+/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
+   systems. This function is required for `alloca.c' support on those systems.
+   */
+/* #undef CRAY_STACKSEG_END */
+
+/* Define to 1 if using `alloca.c'. */
+/* #undef C_ALLOCA */
+
+/* Name of "diff" program, unless overridden. */
+#define DEFAULT_DIFF_PROGRAM "diff"
+
+/* Name of editor program, unless overridden. */
+#define DEFAULT_EDITOR_PROGRAM "ed"
+
+/* Define to 1 if translation of program messages to the user's native
+   language is requested. */
+/* #undef ENABLE_NLS */
+
+/* Define on systems for which file names may have a so-called `drive letter'
+   prefix, define this to compute the length of that prefix, including the
+   colon. */
+#define FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX 0
+
+/* Define if the backslash character may also serve as a file name component
+   separator. */
+#define FILESYSTEM_BACKSLASH_IS_FILE_NAME_SEPARATOR 0
+
+#if FILESYSTEM_ACCEPTS_DRIVE_LETTER_PREFIX
+# define FILESYSTEM_PREFIX_LEN(Filename) \
+  ((Filename)[0] && (Filename)[1] == ':' ? 2 : 0)
+#else
+# define FILESYSTEM_PREFIX_LEN(Filename) 0
+#endif
+
+/* Define to 1 if you have `alloca', as a function or macro. */
+#define HAVE_ALLOCA 1
+
+/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
+   */
+/* #undef HAVE_ALLOCA_H */
+
+/* Define to 1 if you have the `bcopy' function. */
+#define HAVE_BCOPY 1
+
+/* Define to 1 if you have the `btowc' function. */
+/* #undef HAVE_BTOWC */
+
+/* Define to 1 if you have the `bzero' function. */
+#define HAVE_BZERO 1
+
+/* Define to 1 if you have the `clock_gettime' function. */
+#define HAVE_CLOCK_GETTIME 1
+
+/* Define if backslash-a works in C strings. */
+#define HAVE_C_BACKSLASH_A 1
+
+/* Define to 1 if C supports variable-length arrays. */
+#define HAVE_C_VARARRAYS 1
+
+/* Define if the GNU dcgettext() function is already present or preinstalled.
+   */
+/* #undef HAVE_DCGETTEXT */
+
+/* Define to 1 if you have the declaration of `clearerr_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_CLEARERR_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
+   don't. */
+#define HAVE_DECL_FEOF_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `ferror_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_FERROR_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `fflush_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_FFLUSH_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_FGETS_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `fputc_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_FPUTC_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `fputs_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_FPUTS_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `fread_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_FREAD_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `fwrite_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_FWRITE_UNLOCKED 0
+
+/* Define to 1 if you have the declaration of `getchar_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_GETCHAR_UNLOCKED 1
+
+/* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
+   don't. */
+#define HAVE_DECL_GETC_UNLOCKED 1
+
+/* Define to 1 if you have the declaration of `getenv', and to 0 if you don't.
+   */
+#define HAVE_DECL_GETENV 1
+
+/* Define to 1 if you have the declaration of `putchar_unlocked', and to 0 if
+   you don't. */
+#define HAVE_DECL_PUTCHAR_UNLOCKED 1
+
+/* Define to 1 if you have the declaration of `putc_unlocked', and to 0 if you
+   don't. */
+#define HAVE_DECL_PUTC_UNLOCKED 1
+
+/* Define to 1 if you have the declaration of `strerror', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRERROR 1
+
+/* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRERROR_R 0
+
+/* Define to 1 if you have the declaration of `strtoimax', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRTOIMAX 1
+
+/* Define to 1 if you have the declaration of `strtol', and to 0 if you don't.
+   */
+#define HAVE_DECL_STRTOL 1
+
+/* Define to 1 if you have the declaration of `strtoul', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRTOUL 1
+
+/* Define to 1 if you have the declaration of `strtoull', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRTOULL 1
+
+/* Define to 1 if you have the declaration of `strtoumax', and to 0 if you
+   don't. */
+#define HAVE_DECL_STRTOUMAX 1
+
+/* Define to 1 if you have the `diraccess' function. */
+/* #undef HAVE_DIRACCESS */
+
+/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
+   */
+#define HAVE_DIRENT_H 1
+
+/* Define if the malloc check has been performed. */
+#define HAVE_DONE_WORKING_MALLOC_CHECK 1
+
+/* Define if the realloc check has been performed. */
+#define HAVE_DONE_WORKING_REALLOC_CHECK 1
+
+/* Define to 1 if you have the `doprnt' function. */
+/* #undef HAVE_DOPRNT */
+
+/* Define to 1 if you have the `dup2' function. */
+#define HAVE_DUP2 1
+
+/* Define to 1 if you have the <fcntl.h> header file. */
+#define HAVE_FCNTL_H 1
+
+/* Define to 1 if your system has a working `fnmatch' function. */
+/* WIZ: #undef HAVE_FNMATCH */
+#define HAVE_FNMATCH 1
+
+/* Define to 1 if you have the `fork' function. */
+#define HAVE_FORK 1
+
+/* Define if the GNU gettext() function is already present or preinstalled. */
+/* #undef HAVE_GETTEXT */
+
+/* Define to 1 if you have the `gettimeofday' function. */
+#define HAVE_GETTIMEOFDAY 1
+
+/* Define if you have the iconv() function. */
+/* #undef HAVE_ICONV */
+
+/* Define to 1 if you have the <inttypes.h> header file. */
+#define HAVE_INTTYPES_H 1
+
+/* Define to 1 if you have the `isascii' function. */
+#define HAVE_ISASCII 1
+
+/* Define to 1 if you have the `iswprint' function. */
+#define HAVE_ISWPRINT 1
+
+/* Define to 1 if you have the <libintl.h> header file. */
+#define HAVE_LIBINTL_H 1
+
+/* Define to 1 if you have the <limits.h> header file. */



Home | Main Index | Thread Index | Old Index