NetBSD/gnu/usr.bin/gcc/cc/Makefile

26 lines
629 B
Makefile

# from: @(#)Makefile 6.2 (Berkeley) 3/25/91
# $NetBSD: Makefile,v 1.6 1998/07/28 18:53:40 thorpej Exp $
.if (${MACHINE_ARCH} != "alpha") && \
(${MACHINE_ARCH} != "powerpc")
PROG= gcc
SRCS= gcc.c obstack.c version.c
BINDIR= /usr/bin
CPPFLAGS+=-I${.CURDIR} -I${.CURDIR}/../common -I${.CURDIR}/../arch \
-I${.CURDIR}/../arch/$(MACHINE_ARCH:C/^mips.*/mips/) \
-DMD_EXEC_PREFIX=\"/usr/libexec/\" \
-DMD_STARTFILE_PREFIX=\"/usr/lib/\"
LDADD+= -lgnumalloc
DPADD+= ${LIBGNUMALLOC}
LINKS+= ${BINDIR}/gcc ${BINDIR}/cc
.PATH: $(.CURDIR)/../common
.endif
MAN= gcc.1
MLINKS= gcc.1 cc.1
.include <bsd.prog.mk>