d837747716b52c7990e07e081a470b6003f9e896
[dragonfly.git] / gnu / usr.bin / diff / libdiffutils / Makefile
1 .include        "../Makefile.inc"
2
3 LIB=            diffutils
4 INTERNALLIB=    true
5
6 CONTRIBDIR=     ${BASEDIR}/lib
7 .PATH:          ${CONTRIBDIR} ${CONTRIBDIR}/uniwidth ${CONTRIBDIR}/unistr
8
9 CFLAGS+=        -I${CONTRIBDIR} -I${.CURDIR} -I${.OBJDIR}
10 CFLAGS+=        -DHAVE_CONFIG_H
11
12 SRCS=   c-stack.c \
13         c-ctype.c \
14         c-strcasecmp.c \
15         c-strncasecmp.c \
16         exitfail.c \
17         localcharset.c \
18         malloca.c \
19         mbchar.c \
20         mbscasecmp.c \
21         mbslen.c \
22         mbsstr.c \
23         progname.c \
24         propername.c \
25         sh-quote.c \
26         striconv.c \
27         strnlen1.c \
28         trim.c \
29         width.c \
30         version-etc.c \
31         version-etc-fsf.c \
32         xalloc-die.c \
33         xfreopen.c \
34         xstriconv.c \
35         xstrndup.c \
36         xstrtoumax.c \
37         cmpbuf.c \
38         prepargs.c \
39         basename.c \
40         basename-lgpl.c \
41         dirname.c \
42         dirname-lgpl.c \
43         dup2.c \
44         error.c \
45         exclude.c \
46         fcntl.c \
47         file-type.c \
48         fnmatch.c \
49         freopen-safer.c \
50         getopt.c \
51         getopt1.c \
52         gettime.c \
53         hard-locale.c \
54         hash.c \
55         imaxtostr.c \
56         mktime.c \
57         offtostr.c \
58         quote.c \
59         quotearg.c \
60         regex.c \
61         strftime.c \
62         stripslash.c \
63         tempname.c \
64         uinttostr.c \
65         umaxtostr.c \
66         wcwidth.c \
67         xmalloc.c \
68         xstrtol.c \
69         xstrtol-error.c \
70         xstrtoul.c \
71         filenamecat.c \
72         filenamecat-lgpl.c \
73         u8-mbtoucr.c \
74         u8-uctomb.c \
75         u8-uctomb-aux.c \
76         strerror-override.c
77
78 .include <bsd.lib.mk>