1995-12-01 20:58:53 +03:00
|
|
|
# from: @(#)Makefile 6.2 (Berkeley) 3/25/91
|
1998-07-28 22:53:40 +04:00
|
|
|
# $NetBSD: Makefile,v 1.9 1998/07/28 18:53:41 thorpej Exp $
|
1995-12-01 20:58:53 +03:00
|
|
|
|
1998-07-28 22:53:40 +04:00
|
|
|
.if (${MACHINE_ARCH} != "alpha") && \
|
|
|
|
(${MACHINE_ARCH} != "powerpc")
|
1997-05-14 01:01:55 +04:00
|
|
|
PROG= g++
|
|
|
|
SRCS= g++.c obstack.c version.c
|
|
|
|
BINDIR= /usr/bin
|
1997-10-25 14:10:19 +04:00
|
|
|
CPPFLAGS+=-I$(.CURDIR) -I$(.CURDIR)/../common \
|
1998-07-27 06:29:24 +04:00
|
|
|
-I$(.CURDIR)/../arch -I$(.CURDIR)/../arch/$(MACHINE_ARCH:C/^mips.*/mips/) \
|
1997-05-14 01:01:55 +04:00
|
|
|
-DGCC_NAME=\"/usr/bin/cc\"
|
|
|
|
LDADD+= -lgnumalloc
|
|
|
|
DPADD+= ${LIBGNUMALLOC}
|
1995-12-01 20:58:53 +03:00
|
|
|
|
1996-01-08 06:42:13 +03:00
|
|
|
LINKS+= ${BINDIR}/g++ ${BINDIR}/c++
|
1995-12-01 20:58:53 +03:00
|
|
|
|
|
|
|
.PATH: $(.CURDIR)/../common
|
1997-06-23 17:25:41 +04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
MAN= g++.1
|
|
|
|
MLINKS= g++.1 c++.1
|
1995-12-01 20:58:53 +03:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|