Expand PMF_FN_* macros.
[netbsd-mini2440.git] / gnu / usr.bin / gettext / libnlspr / Makefile
blob22492b164af9f64ef2e13a8cc972343962b792f7
1 # $NetBSD: Makefile,v 1.7 2006/11/10 17:36:08 christos Exp $
3 LIBISPRIVATE= yes
5 .include <bsd.own.mk>
7 LIB= nlspr
8 SRCS= \
9 dir-list.c \
10 file-list.c \
11 format.c \
12 format-awk.c \
13 format-c.c \
14 format-csharp.c \
15 format-elisp.c \
16 format-gcc-internal.c \
17 format-java.c \
18 format-librep.c \
19 format-lisp.c \
20 format-pascal.c \
21 format-perl-brace.c \
22 format-perl.c \
23 format-php.c \
24 format-python.c \
25 format-qt.c \
26 format-scheme.c \
27 format-sh.c \
28 format-tcl.c \
29 format-ycp.c \
30 localcharset.c \
31 message.c \
32 msgl-ascii.c \
33 msgl-cat.c \
34 msgl-charset.c \
35 msgl-english.c \
36 msgl-equal.c \
37 msgl-iconv.c \
38 open-po.c \
39 plural.c \
40 plural-eval.c \
41 plural-count.c \
42 plural-table.c \
43 po-charset.c \
44 po-error.c \
45 po-gram-gen.c \
46 po-lex.c \
47 po-time.c \
48 read-csharp.c \
49 read-java.c \
50 read-mo.c \
51 read-po-abstract.c \
52 read-po.c \
53 read-properties.c \
54 read-resources.c \
55 read-stringtable.c \
56 read-tcl.c \
57 str-list.c \
58 write-csharp.c \
59 write-java.c \
60 write-mo.c \
61 write-po.c \
62 write-properties.c \
63 write-qt.c \
64 write-resources.c \
65 write-stringtable.c \
66 write-tcl.c
68 .include "${.CURDIR}/../Makefile.inc"
70 .PATH: ${DIST}/gettext/gettext-tools/src ${DIST}/gettext/gettext-tools/lib
71 CPPFLAGS+=-I${DIST}/gettext/gettext-runtime/intl
72 CPPFLAGS+=-I${DIST}/gettext/gettext-tools/src
73 CPPFLAGS+=-DLIBDIR=\"${DESTDIR}/usr/share\"
74 CPPFLAGS+=-DGETTEXTJAR=\"${DESTDIR}/usr/share/gettext/gettext.jar\"
75 CPPFLAGS+=-DGETTEXTDATADIR=\"${DESTDIR}/usr/share/gettext\"
77 COPTS.format-java.c = -Wno-stack-protector
78 COPTS.msgl-cat.c = -Wno-stack-protector
79 COPTS.msgl-charset.c = -Wno-stack-protector
80 COPTS.msgl-iconv.c = -Wno-stack-protector
81 COPTS.plural.c = -Wno-stack-protector
82 COPTS.po-charset.c = -Wno-stack-protector
83 COPTS.po-gram-gen.c = -Wno-stack-protector
84 COPTS.read-tcl.c = -Wno-stack-protector
85 COPTS.write-csharp.c = -Wno-stack-protector
86 COPTS.write-java.c = -Wno-stack-protector
87 COPTS.write-mo.c = -Wno-stack-protector
88 COPTS.write-po.c = -Wno-stack-protector
89 COPTS.write-tcl.c = -Wno-stack-protector
91 .include <bsd.lib.mk>
93 # Override <sys.mk> double suffix rules to prevent *.y being yacced to *.[ch]
94 # (The latter already exist in the ${DIST}/gettext directory.)
96 .y.c:
97 @${_MKSHECHO} "# skipping yacc ${.CURDIR:T}/${.TARGET:T}"