minix/external/gpl3/gcc/usr.bin/libcpp/Makefile
Ben Gras c8f3b10909 fix a few more minix specific warnings
. also disable stack protection feature for gcc,
	  causes build errors for pkgsrc gcc on minix

Change-Id: I1c6e2bcb4d948098d642543d7b2711284ee55c72
2013-08-27 16:16:03 +00:00

30 lines
544 B
Makefile

# $NetBSD: Makefile,v 1.3 2011/06/29 02:01:37 mrg 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/${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}
init.d init.o: localedir.h