init.o wants a localedir.h to define LOCALEDIR now. make it so.

This commit is contained in:
mrg 2011-06-28 09:31:55 +00:00
parent b5a3cd5336
commit 498a5a5a14
1 changed files with 7 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.1 2011/06/21 06:03:15 mrg Exp $
# $NetBSD: Makefile,v 1.2 2011/06/28 09:31:55 mrg Exp $
LIBISPRIVATE= yes
@ -7,7 +7,7 @@ LIB= cpp
SRCS= ${G_libcpp_a_OBJS:.o=.c}
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${MACHINE_ARCH} \
-I${GCCARCH} -I${BACKENDOBJ} \
-I${GCCARCH} -I${BACKENDOBJ} -I. \
${G_INCLUDES:M-I*:N-I.*} \
-DPREFIX=\"/usr\"
@ -18,3 +18,8 @@ ${OBJS}: ${G_LIBCPP_DEPS}
.PATH: ${DIST}/libcpp
# ${DIST}/gcc
localedir.h:
echo '#define LOCALEDIR "/usr/share/locale"' > ${.TARGET}
init.o: localedir.h