diff options
| author | wiz <wiz@NetBSD.org> | 2003-01-26 23:53:44 +0000 |
|---|---|---|
| committer | wiz <wiz@NetBSD.org> | 2003-01-26 23:53:44 +0000 |
| commit | 2a76369fee6c5ed66fe3ac10fefebecb2e6b90b4 (patch) | |
| tree | 3abc8d7739d72c80c0f6b61d32cdc290971b0bdd /gnu | |
| parent | 22e6e71f2feb78857ae3a9e010d48e3283764983 (diff) | |
Build structure update for grep-2.5.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/usr.bin/grep/Makefile | 46 | ||||
| -rw-r--r-- | gnu/usr.bin/grep/Makefile.inc | 18 | ||||
| -rw-r--r-- | gnu/usr.bin/grep/config.h | 208 | ||||
| -rw-r--r-- | gnu/usr.bin/grep/grep/Makefile | 33 | ||||
| -rw-r--r-- | gnu/usr.bin/grep/include/config.h | 341 | ||||
| -rw-r--r-- | gnu/usr.bin/grep/include/version.texi | 4 | ||||
| -rw-r--r-- | gnu/usr.bin/grep/lib/Makefile | 21 |
7 files changed, 420 insertions, 251 deletions
diff --git a/gnu/usr.bin/grep/Makefile b/gnu/usr.bin/grep/Makefile index e3bb7a07264..305dac737be 100644 --- a/gnu/usr.bin/grep/Makefile +++ b/gnu/usr.bin/grep/Makefile @@ -1,45 +1,5 @@ -# $NetBSD: Makefile,v 1.22 2002/09/19 03:09:37 lukem Exp $ +# $NetBSD: Makefile,v 1.23 2003/01/26 23:53:44 wiz Exp $ -.include <bsd.own.mk> +SUBDIR= lib .WAIT grep -PROG= grep -SRCS+= grep.c dfa.c kwset.c obstack.c savedir.c getopt.c getopt1.c \ - search.c stpcpy.c regex.c grepmat.c -MAN= grep.1 - -DIST= ${NETBSDSRCDIR}/gnu/dist - -CPPFLAGS+= -DHAVE_CONFIG_H -CLEANFILES+= ${PROG}.1 ${PROG}.info ${PROG}.cat1 - -LDADD+= -lintl -DPADD+= ${LIBINTL} -CPPFLAGS+= -I${DIST}/grep/src -I${.CURDIR} -CPPFLAGS+= -DENABLE_NLS -DHAVE_LIBINTL_H=1 \ - -DGNULOCALEDIR=\"/usr/share/locale\" \ - -DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" \ - -DLOCALEDIR=\"/usr/share/locale\" -# libintl-less build should use this instead of the above lines -#CPPFLAGS+= -I${DIST}/grep/src -I${.CURDIR} - -.if ${MKNLS} != "no" -.for F in de.gmo el.gmo es.gmo fr.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo \ - ru.gmo sl.gmo sv.gmo -FILES+= ${F} -FILESDIR_${F}= /usr/share/locale/${F:.gmo=}/LC_MESSAGES -FILESNAME_${F}= grep.mo -.endfor -.endif - -TEXINFO= grep.texi -INFOFLAGS= -I${NETBSDSRCDIR}/gnu/dist/grep/doc - -MLINKS= grep.1 egrep.1 \ - grep.1 fgrep.1 -LINKS= ${BINDIR}/grep ${BINDIR}/egrep \ - ${BINDIR}/grep ${BINDIR}/fgrep - -.include <bsd.info.mk> -.include <bsd.prog.mk> - -.PATH: ${DIST}/grep/doc ${DIST}/grep/intl ${DIST}/grep/po ${DIST}/grep/src +.include <bsd.subdir.mk> diff --git a/gnu/usr.bin/grep/Makefile.inc b/gnu/usr.bin/grep/Makefile.inc new file mode 100644 index 00000000000..0fd1e4d6851 --- /dev/null +++ b/gnu/usr.bin/grep/Makefile.inc @@ -0,0 +1,18 @@ +# $NetBSD: Makefile.inc,v 1.4 2003/01/26 23:53:44 wiz Exp $ + +.include <bsd.own.mk> + +WARNS= 0 + +IDIST= ${NETBSDSRCDIR}/gnu/dist/grep + +CPPFLAGS+= -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H \ + -I${.CURDIR}/../include -I${IDIST}/lib + +DOBJDIR!= cd $(.CURDIR)/../lib && ${PRINTOBJDIR} + +LIBGREPUTILS= ${DOBJDIR}/libgreputils.a + +.if exists(${.CURDIR}/../../Makefile.inc) +.include "${.CURDIR}/../../Makefile.inc" +.endif diff --git a/gnu/usr.bin/grep/config.h b/gnu/usr.bin/grep/config.h deleted file mode 100644 index 7e6bde9f03f..00000000000 --- a/gnu/usr.bin/grep/config.h +++ /dev/null @@ -1,208 +0,0 @@ -/* config.h. Generated automatically by configure. */ -/* config.hin. Generated automatically from configure.in by autoheader. */ - -/* Define if using alloca.c. */ -/* #undef C_ALLOCA */ - -/* 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 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 if you have alloca, as a function or macro. */ -#define HAVE_ALLOCA 1 - -/* Define if you have <alloca.h> and it should be used (not on Ultrix). */ -/* #undef HAVE_ALLOCA_H */ - -/* Define if you have a working `mmap' system call. */ -#define HAVE_MMAP 1 - -/* Define as __inline if that's what the C compiler calls it. */ -/* #undef inline */ - -/* Define to `long' if <sys/types.h> doesn't define. */ -/* #undef off_t */ - -/* Define to `unsigned' if <sys/types.h> doesn't define. */ -/* #undef size_t */ - -/* If using the C implementation of alloca, define if you know the - direction of stack growth for your system; otherwise it will be - automatically deduced at run-time. - STACK_DIRECTION > 0 => grows toward higher addresses - STACK_DIRECTION < 0 => grows toward lower addresses - STACK_DIRECTION = 0 => direction of growth unknown - */ -/* #undef STACK_DIRECTION */ - -/* 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 to use grep's error-checking malloc in the kwset routines. */ -#define GREP 1 - -/* Package name. */ -#define PACKAGE "grep" - -/* Version number. */ -#define VERSION "2.4" - -/* Define to `int' if <sys/types.h> doesn't define. */ -/* #undef ssize_t */ - -/* Hack for Visual C++ suggested by irox. */ -/* #undef alloca */ - -/* #undef HAVE_STPCPY */ - -/* #undef ENABLE_NLS */ - -/* #undef HAVE_CATGETS */ - -/* #undef HAVE_GETTEXT */ - -#define HAVE_LC_MESSAGES 1 - -/* - * DOS specific - */ -/* #undef HAVE_DOS_FILE_NAMES */ - -/* Define if you have the __argz_count function. */ -/* #undef HAVE___ARGZ_COUNT */ - -/* Define if you have the __argz_next function. */ -/* #undef HAVE___ARGZ_NEXT */ - -/* Define if you have the __argz_stringify function. */ -/* #undef HAVE___ARGZ_STRINGIFY */ - -/* Define if you have the btowc function. */ -/* #undef HAVE_BTOWC */ - -/* Define if you have the dcgettext function. */ -/* #undef HAVE_DCGETTEXT */ - -/* Define if you have the getcwd function. */ -#define HAVE_GETCWD 1 - -/* Define if you have the getpagesize function. */ -#define HAVE_GETPAGESIZE 1 - -/* Define if you have the isascii function. */ -#define HAVE_ISASCII 1 - -/* Define if you have the memchr function. */ -#define HAVE_MEMCHR 1 - -/* Define if you have the memmove function. */ -#define HAVE_MEMMOVE 1 - -/* Define if you have the munmap function. */ -#define HAVE_MUNMAP 1 - -/* Define if you have the putenv function. */ -#define HAVE_PUTENV 1 - -/* Define if you have the setenv function. */ -#define HAVE_SETENV 1 - -/* Define if you have the setlocale function. */ -#define HAVE_SETLOCALE 1 - -/* Define if you have the setmode function. */ -#define HAVE_SETMODE 1 - -/* Define if you have the stpcpy function. */ -/* #undef HAVE_STPCPY */ - -/* Define if you have the strcasecmp function. */ -#define HAVE_STRCASECMP 1 - -/* Define if you have the strchr function. */ -#define HAVE_STRCHR 1 - -/* Define if you have the strdup function. */ -#define HAVE_STRDUP 1 - -/* Define if you have the strerror function. */ -#define HAVE_STRERROR 1 - -/* Define if you have the wctype function. */ -/* #undef HAVE_WCTYPE */ - -/* Define if you have the <argz.h> header file. */ -/* #undef HAVE_ARGZ_H */ - -/* Define if you have the <dirent.h> header file. */ -#define HAVE_DIRENT_H 1 - -/* Define if you have the <libintl.h> header file. */ -/* #undef HAVE_LIBINTL_H */ - -/* Define if you have the <limits.h> header file. */ -#define HAVE_LIMITS_H 1 - -/* Define if you have the <locale.h> header file. */ -#define HAVE_LOCALE_H 1 - -/* Define if you have the <malloc.h> header file. */ -#define HAVE_MALLOC_H 1 - -/* Define if you have the <memory.h> header file. */ -#define HAVE_MEMORY_H 1 - -/* Define if you have the <ndir.h> header file. */ -/* #undef HAVE_NDIR_H */ - -/* Define if you have the <nl_types.h> header file. */ -#define HAVE_NL_TYPES_H 1 - -/* Define if you have the <stdlib.h> header file. */ -#define HAVE_STDLIB_H 1 - -/* Define if you have the <string.h> header file. */ -#define HAVE_STRING_H 1 - -/* Define if you have the <sys/dir.h> header file. */ -/* #undef HAVE_SYS_DIR_H */ - -/* 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 <unistd.h> header file. */ -#define HAVE_UNISTD_H 1 - -/* Define if you have the <wchar.h> header file. */ -/* #undef HAVE_WCHAR_H */ - -/* Define if you have the <wctype.h> header file. */ -/* #undef HAVE_WCTYPE_H */ - -/* Define if you have the i library (-li). */ -/* #undef HAVE_LIBI */ - -/* Number of bits in a file offset, on hosts where this is settable. */ -/* #undef _FILE_OFFSET_BITS */ - -/* Define to make fseeko etc. visible, on some hosts. */ -/* #undef _LARGEFILE_SOURCE */ - -/* Define for large files, on AIX-style hosts. */ -/* #undef _LARGE_FILES */ - -/* Define if compiler has function prototypes */ -#define PROTOTYPES 1 - diff --git a/gnu/usr.bin/grep/grep/Makefile b/gnu/usr.bin/grep/grep/Makefile new file mode 100644 index 00000000000..7cbda75f253 --- /dev/null +++ b/gnu/usr.bin/grep/grep/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.3 2003/01/26 23:53:45 wiz Exp $ + +.include "${.CURDIR}/../Makefile.inc" + +DIST= ${IDIST}/src +.PATH: ${DIST} ${IDIST}/doc ${IDIST}/man ${IDIST}/po + +PROG= grep +SRCS= grep.c dfa.c kwset.c search.c grepmat.c + +DPADD+= ${LIBGREPUTILS} ${LIBINTL} +LDADD+= ${LIBGREPUTILS} -lintl + +INFOFLAGS= -I${IDIST}/doc -I${.CURDIR}/../include +TEXINFO= grep.texi + +LINKS= ${BINDIR}/grep ${BINDIR}/egrep \ + ${BINDIR}/grep ${BINDIR}/fgrep +MLINKS= grep.1 egrep.1 \ + grep.1 fgrep.1 + +.if ${MKNLS} != "no" +.for F in cs.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fr.gmo gl.gmo hr.gmo \ + id.gmo it.gmo ja.gmo ko.gmo nl.gmo no.gmo pl.gmo pt_BR.gmo ru.gmo \ + sl.gmo sv.gmo +FILES+= ${F} +FILESDIR_${F}= /usr/share/locale/${F:.gmo=}/LC_MESSAGES +FILESNAME_${F}= grep.mo +.endfor +.endif + +.include <bsd.info.mk> +.include <bsd.prog.mk> diff --git a/gnu/usr.bin/grep/include/config.h b/gnu/usr.bin/grep/include/config.h new file mode 100644 index 00000000000..d0d783a0322 --- /dev/null +++ b/gnu/usr.bin/grep/include/config.h @@ -0,0 +1,341 @@ +/* config.h. Generated by configure. */ +/* config.hin. Generated from configure.in 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 */ + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ +#define ENABLE_NLS 1 + +/* We are building grep */ +#define GREP 1 + +/* 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 <argz.h> header file. */ +/* #undef HAVE_ARGZ_H */ + +/* Define to 1 if you have the `atexit' function. */ +#define HAVE_ATEXIT 1 + +/* Define to 1 if you have the `btowc' function. */ +/* #undef HAVE_BTOWC */ + +/* Define to 1 if you have the `dcgettext' function. */ +#define HAVE_DCGETTEXT 1 + +/* Define to 1 if strerror_r is declared. */ +#define HAVE_DECL_STRERROR_R 0 + +/* Define if <stdlib.h> declares strtoul. */ +#define HAVE_DECL_STRTOUL 1 + +/* Define if <stdlib.h> declares strtoull. */ +#define HAVE_DECL_STRTOULL 1 + +/* 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 if text file lines end in CRLF. */ +/* #undef HAVE_DOS_FILE_CONTENTS */ + +/* Define if your OS uses backslashes as directory separators */ +/* #undef HAVE_DOS_FILE_NAMES */ + +/* Define to 1 if you have the `feof_unlocked' function. */ +/* #undef HAVE_FEOF_UNLOCKED */ + +/* Define to 1 if you have the `fgets_unlocked' function. */ +/* #undef HAVE_FGETS_UNLOCKED */ + +/* Define to 1 if you have the `fnmatch' function. */ +#define HAVE_FNMATCH 1 + +/* Define to 1 if you have the `getcwd' function. */ +#define HAVE_GETCWD 1 + +/* Define to 1 if you have the `getegid' function. */ +#define HAVE_GETEGID 1 + +/* Define to 1 if you have the `geteuid' function. */ +#define HAVE_GETEUID 1 + +/* Define to 1 if you have the `getgid' function. */ +#define HAVE_GETGID 1 + +/* Define to 1 if you have the `getpagesize' function. */ +#define HAVE_GETPAGESIZE 1 + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#define HAVE_GETTEXT 1 + +/* Define to 1 if you have the `getuid' function. */ +#define HAVE_GETUID 1 + +/* Define if you have the iconv() function. */ +/* #undef HAVE_ICONV */ + +/* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and + declares uintmax_t. */ +#define HAVE_INTTYPES_H 1 + +/* Define to 1 if you have the `isascii' function. */ +#define HAVE_ISASCII 1 + +/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ +#define HAVE_LANGINFO_CODESET 1 + +/* Define if your <locale.h> file defines LC_MESSAGES. */ +#define HAVE_LC_MESSAGES 1 + +/* Define to 1 if you have the <libintl.h> header file. */ +#define HAVE_LIBINTL_H 1 + +/* Define to 1 if you have the `pcre' library (-lpcre). */ +/* #undef HAVE_LIBPCRE */ + +/* Define to 1 if you have the <limits.h> header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the <locale.h> header file. */ +#define HAVE_LOCALE_H 1 + +/* Define to 1 if you have the <malloc.h> header file. */ +#define HAVE_MALLOC_H 1 + +/* Define to 1 if you have the `mbrtowc' function. */ +#define HAVE_MBRTOWC 1 + +/* Define to 1 if you have the `memchr' function. */ +#define HAVE_MEMCHR 1 + +/* Define to 1 if you have the `memmove' function. */ +#define HAVE_MEMMOVE 1 + +/* Define to 1 if you have the <memory.h> header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the `mempcpy' function. */ +/* #undef HAVE_MEMPCPY */ + +/* Define to 1 if you have a working `mmap' system call. */ +#define HAVE_MMAP 1 + +/* Define to 1 if you have the `munmap' function. */ +#define HAVE_MUNMAP 1 + +/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */ +/* #undef HAVE_NDIR_H */ + +/* Define to 1 if you have the <nl_types.h> header file. */ +#define HAVE_NL_TYPES_H 1 + +/* Define to 1 if you have the `putenv' function. */ +#define HAVE_PUTENV 1 + +/* Define to 1 if you have the `setenv' function. */ +#define HAVE_SETENV 1 + +/* Define to 1 if you have the `setlocale' function. */ +#define HAVE_SETLOCALE 1 + +/* Define to 1 if you have the `setmode' function. */ +#define HAVE_SETMODE 1 + +/* Define to 1 if you have the <stddef.h> header file. */ +#define HAVE_STDDEF_H 1 + +/* Define to 1 if you have the <stdint.h> header file. */ +#define HAVE_STDINT_H 1 + +/* Define to 1 if you have the <stdlib.h> header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `stpcpy' function. */ +/* #undef HAVE_STPCPY */ + +/* Define to 1 if you have the `strcasecmp' function. */ +#define HAVE_STRCASECMP 1 + +/* Define to 1 if you have the `strchr' function. */ +#define HAVE_STRCHR 1 + +/* Define to 1 if you have the `strdup' function. */ +#define HAVE_STRDUP 1 + +/* Define to 1 if you have the `strerror' function. */ +#define HAVE_STRERROR 1 + +/* Define to 1 if you have the `strerror_r' function. */ +/* #undef HAVE_STRERROR_R */ + +/* Define to 1 if you have the <strings.h> header file. */ +#define HAVE_STRINGS_H 1 + +/* Define to 1 if you have the <string.h> header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the `strtoul' function. */ +#define HAVE_STRTOUL 1 + +/* Define to 1 if you have the `strtoull' function. */ +/* #undef HAVE_STRTOULL */ + +/* Define to 1 if you have the `strtoumax' function. */ +#define HAVE_STRTOUMAX 1 + +/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_DIR_H */ + +/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'. + */ +/* #undef HAVE_SYS_NDIR_H */ + +/* Define to 1 if you have the <sys/param.h> header file. */ +#define HAVE_SYS_PARAM_H 1 + +/* Define to 1 if you have the <sys/stat.h> header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the <sys/types.h> header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the `tsearch' function. */ +#define HAVE_TSEARCH 1 + +/* Define to 1 if you have the <unistd.h> header file. */ +#define HAVE_UNISTD_H 1 + +/* Define if you have the unsigned long long type. */ +#define HAVE_UNSIGNED_LONG_LONG 1 + +/* Define to 1 if you have the `vprintf' function. */ +#define HAVE_VPRINTF 1 + +/* Define to 1 if you have the <wchar.h> header file. */ +#define HAVE_WCHAR_H 1 + +/* Define to 1 if you have the `wctype' function. */ +/* #undef HAVE_WCTYPE */ + +/* Define to 1 if you have the <wctype.h> header file. */ +#define HAVE_WCTYPE_H 1 + +/* Define to 1 if strerror_r returns a string. */ +/* #undef HAVE_WORKING_STRERROR_R */ + +/* Define to 1 if you have the `__argz_count' function. */ +/* #undef HAVE___ARGZ_COUNT */ + +/* Define to 1 if you have the `__argz_next' function. */ +/* #undef HAVE___ARGZ_NEXT */ + +/* Define to 1 if you have the `__argz_stringify' function. */ +/* #undef HAVE___ARGZ_STRINGIFY */ + +/* Define as const if the declaration of iconv() needs const. */ +/* #undef ICONV_CONST */ + +/* Name of package */ +#define PACKAGE "grep" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "" + +/* Define if compiler has function prototypes */ +#define PROTOTYPES 1 + +/* If using the C implementation of alloca, define if you know the + direction of stack growth for your system; otherwise it will be + automatically deduced at run-time. + STACK_DIRECTION > 0 => grows toward higher addresses + STACK_DIRECTION < 0 => grows toward lower addresses + STACK_DIRECTION = 0 => direction of growth unknown */ +/* #undef STACK_DIRECTION */ + +/* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */ +/* #undef STAT_MACROS_BROKEN */ + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Version number of package */ +#define VERSION "2.5" + +/* Number of bits in a file offset, on hosts where this is settable. */ +/* #undef _FILE_OFFSET_BITS */ + +/* Define to make fseeko etc. visible, on some hosts. */ +/* #undef _LARGEFILE_SOURCE */ + +/* Define for large files, on AIX-style hosts. */ +/* #undef _LARGE_FILES */ + +/* Define if your compiler is broken */ +/* #undef alloca */ + +/* Define to empty if `const' does not conform to ANSI C. */ +/* #undef const */ + +/* Define as `__inline' if that's what the C compiler calls it, or to nothing + if it is not supported. */ +/* #undef inline */ + +/* Define to rpl_malloc if the replacement function should be used. */ +/* #undef malloc */ + +/* Define to a type if <wchar.h> does not define. */ +/* #undef mbstate_t */ + +/* Define to `long' if <sys/types.h> does not define. */ +/* #undef off_t */ + +/* Define to rpl_realloc if the replacement function should be used. */ +/* #undef realloc */ + +/* Define to `unsigned' if <sys/types.h> does not define. */ +/* #undef size_t */ + +/* Define to `int' if <sys/types.h> does not define. */ +/* #undef ssize_t */ + +/* Define to unsigned long or unsigned long long if <inttypes.h> doesn't + define. */ +/* #undef uintmax_t */ diff --git a/gnu/usr.bin/grep/include/version.texi b/gnu/usr.bin/grep/include/version.texi new file mode 100644 index 00000000000..0887dbefeaf --- /dev/null +++ b/gnu/usr.bin/grep/include/version.texi @@ -0,0 +1,4 @@ +@set UPDATED 22 January 2002 +@set UPDATED-MONTH January 2002 +@set EDITION 2.5 +@set VERSION 2.5 diff --git a/gnu/usr.bin/grep/lib/Makefile b/gnu/usr.bin/grep/lib/Makefile new file mode 100644 index 00000000000..10a0b356c3e --- /dev/null +++ b/gnu/usr.bin/grep/lib/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2003/01/26 23:53:47 wiz Exp $ + +NOLINT= # defined +NOPIC= # defined +NOPROFILE= # defined + +.include "${.CURDIR}/../Makefile.inc" + +LIB= greputils + +DIST= ${IDIST}/lib +.PATH: ${DIST} + +SRCS= closeout.c error.c exclude.c hard-locale.c isdir.c \ + obstack.c quotearg.c regex.c savedir.c stpcpy.c \ + xmalloc.c xstrtol.c xstrtoumax.c + +# only needed during build +libinstall:: + +.include <bsd.lib.mk> |
