#	BSDI $Id: Makefile,v 1.2 1994/05/18 19:12:39 md Exp $

# GCC2 gcc front-end.

.if ${MACHINE} == "rt"
PROG=	gcc
.else
PROG=	gcc2
NOMAN=	noman
.endif
SRCS=	gcc.c obstack.c version.c
.include "../Makefile.symlinks"
CFLAGS+=-I. -I${CFG} -I${.CURDIR}/../common \
	-DDEFAULT_TARGET_MACHINE=\"${MACHINE}\" \
	-DSTANDARD_EXEC_PREFIX=\"${LIBEXECDIR}/\" \
	-DTOOLDIR_BASE_PREFIX=\"./\"
CFLAGS+=-Dbsd4_4
.if ${MACHINE} == "rt"
CFLAGS+=-D__bsdi__
.endif
.PATH: ${.CURDIR}/../common ${.CURDIR}/../doc

.depend: config.h tm.h
CLEANFILES+=config.h tm.h

.include <bsd.prog.mk>
