ef825b9577cf48598642844af2b8811746855981
[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=   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         dup2.c \
84         error.c \
85         fcntl.c \
86         fnmatch.c \
87         getopt.c \
88         getopt1.c \
89         printf-args.c \
90         printf-parse.c \
91         regex.c \
92         secure_getenv.c \
93         strerror.c \
94         strerror-override.c \
95         vasnprintf.c \
96         wcwidth.c
97
98 # sources that produces empty objects
99 #SRCS+= \
100         fd-hook.c \
101         unistd.c \
102         wctype-h.c
103
104 .include <bsd.lib.mk>