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