1.include "../Makefile.inc" 2 3LIB= diffutils 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= allocator.c \ 13 areadlink.o \ 14 binary-io.o \ 15 bitrotate.o \ 16 c-ctype.c \ 17 c-stack.c \ 18 c-strcasecmp.c \ 19 c-strncasecmp.c \ 20 careadlinkat.o \ 21 dirname.c \ 22 basename.c \ 23 dirname-lgpl.c \ 24 basename-lgpl.c \ 25 stripslash.c \ 26 exclude.c \ 27 exitfail.c \ 28 fd-hook.c \ 29 file-type.c \ 30 filenamecat.c \ 31 filenamecat-lgpl.c \ 32 freopen-safer.c \ 33 gettime.c \ 34 hard-locale.c \ 35 hash.c \ 36 imaxtostr.c \ 37 inttostr.c \ 38 offtostr.c \ 39 uinttostr.c \ 40 umaxtostr.c \ 41 localcharset.c \ 42 malloca.c \ 43 mbchar.c \ 44 mbiter.c \ 45 mbscasecmp.c \ 46 mbslen.c \ 47 mbsstr.c \ 48 mbuiter.c \ 49 progname.c \ 50 propername.c \ 51 quotearg.c \ 52 sh-quote.c \ 53 sig-handler.c \ 54 stat-time.c \ 55 strftime.c \ 56 striconv.c \ 57 strnlen1.c \ 58 system-quote.c \ 59 tempname.c \ 60 timespec.c \ 61 trim.c \ 62 unistd.c \ 63 u8-mbtoucr.c \ 64 u8-uctomb.c \ 65 u8-uctomb-aux.c \ 66 width.c \ 67 version-etc.c \ 68 version-etc-fsf.c \ 69 wctype-h.c \ 70 xmalloc.c \ 71 xalloc-die.c \ 72 xfreopen.c \ 73 xreadlink.c \ 74 xsize.c \ 75 xstriconv.c \ 76 xstrndup.c \ 77 xstrtol.c \ 78 xstrtoul.c \ 79 xstrtol-error.c \ 80 xstrtoumax.c \ 81 xvasprintf.c \ 82 xasprintf.c \ 83 cmpbuf.c \ 84 prepargs.c \ 85 asnprintf.c \ 86 dup2.c \ 87 error.c \ 88 fcntl.c \ 89 fnmatch.c \ 90 getopt.c \ 91 getopt1.c \ 92 printf-args.c \ 93 printf-parse.c \ 94 regex.c \ 95 secure_getenv.c \ 96 strerror.c \ 97 strerror-override.c \ 98 vasnprintf.c \ 99 wcwidth.c 100 101.include <bsd.lib.mk> 102