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 hash.c \ 31 i-ring.c \ 32 localcharset.c \ 33 malloca.c \ 34 mbchar.c \ 35 mbscasecmp.c \ 36 mbslen.c \ 37 mbsstr.c \ 38 openat-die.c \ 39 openat-safer.c \ 40 progname.c \ 41 propername.c \ 42 quotearg.c \ 43 save-cwd.c \ 44 striconv.c \ 45 strnlen1.c \ 46 trim.c \ 47 dup-safer.c \ 48 fd-safer.c \ 49 pipe-safer.c \ 50 u8-mbtoucr.c \ 51 u8-uctomb.c \ 52 u8-uctomb-aux.c \ 53 width.c \ 54 version-etc.c \ 55 version-etc-fsf.c \ 56 xmalloc.c \ 57 xalloc-die.c \ 58 xstriconv.c \ 59 xstrtoimax.c \ 60 xstrtol.c \ 61 xstrtoul.c \ 62 xstrtol-error.c \ 63 colorize.c \ 64 chdir-long.c \ 65 dup2.c \ 66 error.c \ 67 fcntl.c \ 68 fts.c \ 69 getopt.c \ 70 getopt1.c \ 71 obstack.c \ 72 openat-proc.c \ 73 regex.c \ 74 strerror.c \ 75 strerror-override.c 76 77# no longer needed 78# wcwidth.c 79 80.include <bsd.lib.mk> 81