1.include "../Makefile.inc" 2 3LIB= greputils 4INTERNALLIB= true 5 6CONTRIBDIR= ${BASEDIR}/lib 7.PATH: ${CONTRIBDIR} ${CONTRIBDIR}/uniwidth ${CONTRIBDIR}/unistr 8 9CFLAGS+= -I${CONTRIBDIR} -I${.CURDIR} -I${.OBJDIR} 10CFLAGS+= -DHAVE_CONFIG_H 11 12SRCS= argmatch.c \ 13 c-ctype.c \ 14 c-strcasecmp.c \ 15 c-strncasecmp.c \ 16 cloexec.c \ 17 close-stream.c \ 18 closeout.c \ 19 cycle-check.c \ 20 opendir-safer.c \ 21 dirname-lgpl.c \ 22 basename-lgpl.c \ 23 stripslash.c \ 24 exclude.c \ 25 exitfail.c \ 26 creat-safer.c \ 27 open-safer.c \ 28 fd-hook.c \ 29 filenamecat-lgpl.c \ 30 hard-locale.c \ 31 hash.c \ 32 i-ring.c \ 33 localcharset.c \ 34 malloca.c \ 35 mbchar.c \ 36 mbscasecmp.c \ 37 mbslen.c \ 38 mbsstr.c \ 39 openat-die.c \ 40 openat-safer.c \ 41 progname.c \ 42 propername.c \ 43 quotearg.c \ 44 save-cwd.c \ 45 striconv.c \ 46 strnlen1.c \ 47 trim.c \ 48 dup-safer.c \ 49 fd-safer.c \ 50 u8-mbtoucr.c \ 51 u8-uctomb.c \ 52 u8-uctomb-aux.c \ 53 pipe-safer.c \ 54 width.c \ 55 version-etc.c \ 56 version-etc-fsf.c \ 57 xmalloc.c \ 58 xalloc-die.c \ 59 xstriconv.c \ 60 xstrtoimax.c \ 61 xstrtol.c \ 62 xstrtoul.c \ 63 xstrtol-error.c \ 64 colorize.c \ 65 chdir-long.c \ 66 dup2.c \ 67 error.c \ 68 fcntl.c \ 69 fts.c \ 70 getopt.c \ 71 getopt1.c \ 72 obstack.c \ 73 openat-proc.c \ 74 regex.c \ 75 strerror.c \ 76 strerror-override.c \ 77 wcwidth.c 78 79.include <bsd.lib.mk> 80