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