summaryrefslogtreecommitdiff
path: root/devel/bcc/Makefile
blob: f6a9a5482867929b4eda632c11f2ea8126fc342d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# $NetBSD: Makefile,v 1.14 2005/06/20 08:08:55 jlam Exp $

DISTNAME=		bcc
PKGNAME=		bcc-95.3.12
CATEGORIES=		devel lang

MAINTAINER=		tsarna@NetBSD.org
COMMENT=		Bruce Evans' C compiler (with as and ld); can do 16-bit code

NOT_FOR_PLATFORM=	*-*-alpha *-*-x86_64	# Severe LP64 problems

MAKE_ENV+=		BINOWN=${BINOWN} BINGRP=${BINGRP} BINMODE=${BINMODE} \
			MANOWN=${MANOWN} MANGRP=${MANGRP} MANMODE=${MANMODE}
MANCOMPRESSED_IF_MANZ=	yes

do-configure:
	${RM} -f ${WRKSRC}/as/typeconv.o
	${MV} ${WRKSRC}/bcc ${WRKSRC}/bcc-cc1
	${MKDIR} ${WRKSRC}/bcc
	${CP} ${FILESDIR}/Makefile.bcc ${WRKSRC}/bcc/Makefile
	${CP} ${FILESDIR}/ld86.1 ${WRKSRC}/ld/
	${CP} ${FILESDIR}/as86.1 ${WRKSRC}/as/
	${CP} ${FILESDIR}/bcc.1 ${WRKSRC}/bcc/
	${CP} ${FILESDIR}/bcc-cc1.1 ${WRKSRC}/bcc-cc1/

.include "../../mk/bsd.pkg.mk"