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