df8fd12f9b4622587346cef324b5d47ebfab762d
[dragonfly.git] / gnu / usr.bin / grep / libgreputils / Makefile
1 .include "../Makefile.inc"
2
3 LIB=            greputils
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-ctype.c \
13                 c-strcasecmp.c \
14                 c-strncasecmp.c \
15                 exitfail.c \
16                 isdir.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                 striconv.c \
26                 strnlen1.c \
27                 trim.c \
28                 width.c \
29                 version-etc.c \
30                 version-etc-fsf.c \
31                 xalloc-die.c \
32                 xstriconv.c \
33                 xstrndup.c \
34                 xstrtoumax.c \
35                 savedir.c \
36                 argmatch.c \
37                 basename.c \
38                 basename-lgpl.c \
39                 close-stream.c \
40                 closeout.c \
41                 dirname.c \
42                 dirname-lgpl.c \
43                 error.c \
44                 exclude.c \
45                 getopt.c \
46                 getopt1.c \
47                 hard-locale.c \
48                 hash.c \
49                 mempcpy.c \
50                 obstack.c \
51                 quote.c \
52                 quotearg.c \
53                 regex.c \
54                 stripslash.c \
55                 wcwidth.c \
56                 xmalloc.c \
57                 xstrtol.c \
58                 xstrtol-error.c \
59                 xstrtoul.c \
60                 close-stream.c \
61                 closeout.c \
62                 u8-mbtoucr.c \
63                 u8-uctomb.c \
64                 u8-uctomb-aux.c \
65                 xmalloc.c \
66                 strerror.c
67
68 .include <bsd.lib.mk>