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