tools/llvm: Do not build with symbols
[minix3.git] / gnu / usr.bin / texinfo / common / Makefile
blob4e52abddf621a477d6f03f4bbabbe3a0f74d9086
1 # $NetBSD: Makefile,v 1.13 2008/09/03 11:58:30 lukem Exp $
3 .include "../Makefile.inc"
4 LIBISPRIVATE= yes
6 LIB= common
7 SRCS+= substring.c xexit.c xmalloc.c xstrdup.c key.c doc.c
9 CPPFLAGS+= -DGNULOCALEDIR=\"/usr/share/locale\" \
10 -DLOCALE_ALIAS_PATH=\"/usr/share/locale:.\" \
11 -I${IDIST}/info
13 .include <bsd.lib.mk>
15 .PATH: ${IDIST}/lib ${IDIST}/po
17 all: ${FILES}
18 .SUFFIXES: .gmo .mo
19 .gmo.mo:
20 ${_MKTARGET_CREATE}
21 @cp $< $@
23 GEN_SRCS = funs.h key.c doc.c
24 CLEANFILES+= ${GEN_SRCS}
26 CMD_SRCS = session.c echo-area.c infodoc.c m-x.c indices.c nodemenu.c \
27 footnotes.c variables.c
29 MAKEDOCDIR!=cd ${.CURDIR}/../makedoc && ${PRINTOBJDIR}
30 MAKEDOC=${MAKEDOCDIR}/makedoc
32 ${GEN_SRCS}: ${MAKEDOC} ${CMD_SRCS}
33 ${_MKMSG_CREATE} ${GEN_SRCS}
34 ${.ALLSRC}
36 .PATH: ${IDIST}/info ${IDIST}/doc