a9fc136dbd
works. sparc & i386 support is included here. libstdc++-v3 does not yet properly build for some strange reasons (that may be due to broken netbsd header files, it's not yet clear) but i have been able to compile, link and run both i386 & sparc hello.c.
21 lines
374 B
Makefile
21 lines
374 B
Makefile
# $NetBSD: Makefile,v 1.1 2003/07/25 16:32:39 mrg Exp $
|
|
|
|
NOLINKLIB= # defined
|
|
NOLINT= # defined
|
|
NOPIC= # defined
|
|
NOPROFILE= # defined
|
|
|
|
LIB= cpp
|
|
|
|
SRCS= ${G_LIBCPP_OBJS:.o=.c}
|
|
|
|
CPPFLAGS+= -I${.CURDIR} -I${GCCARCH} -I${BACKENDOBJ} \
|
|
${G_ALL_CFLAGS:M-D*} ${G_INCLUDES:M-I*:N-I.*} \
|
|
-DPREFIX=\"/usr\"
|
|
|
|
.include <bsd.lib.mk>
|
|
|
|
${OBJS}: ${G_LIBCPP_DEPS}
|
|
|
|
.PATH: ${DIST}/gcc
|