minix/external/gpl3/gcc/usr.bin/libcpp/Makefile

32 lines
574 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.5 2013/08/22 00:17:48 matt Exp $
LIBISPRIVATE= yes
.if defined(__MINIX)
NOGCCERROR=yes
NOCLANGERROR=yes
.endif
LIB= cpp
SRCS= ${G_libcpp_a_OBJS:.o=.c}
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/arch/${GCC_MACHINE_ARCH} \
-I${GCCARCH} -I${BACKENDOBJ} -I. \
${G_INCLUDES:M-I*:N-I.*} \
-DPREFIX=\"/usr\"
.include <bsd.lib.mk>
COPTS+= -Wno-stack-protector
${OBJS}: ${G_LIBCPP_DEPS}
.PATH: ${DIST}/libcpp
# ${DIST}/gcc
localedir.h:
echo '#define LOCALEDIR "/usr/share/locale"' > ${.TARGET}
CLEANFILES+= localedir.h
init.d init.o: localedir.h