summaryrefslogtreecommitdiff
path: root/external/gpl2/gettext/bin/xgettext/Makefile
blob: 24f617e9e6e2e7c7ebce098efc04108e011bad2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#	$NetBSD: Makefile,v 1.1 2016/01/12 22:58:02 christos Exp $

PROG=	xgettext
SRCS=	\
po-time.c \
uniname.c \
xgettext.c \
x-awk.c \
x-c.c \
x-csharp.c \
x-elisp.c \
x-glade.c \
x-java.c \
x-librep.c \
x-lisp.c \
x-perl.c \
x-php.c \
x-po.c \
x-python.c \
x-rst.c \
x-scheme.c \
x-sh.c \
x-smalltalk.c \
x-tcl.c \
x-ycp.c 

LDADD+=	-lexpat
DPADD+= ${LIBEXPAT}

COPTS.xgettext.c = -Wno-stack-protector

CWARNFLAGS.clang+=	-Wno-empty-body

.include "${.CURDIR}/../Makefile.inc.prog"

.PATH: ${DIST}/gettext-tools/libuniname
CPPFLAGS+=	-I${DIST}/gettext-tools/libuniname