blob: d8b17f06b128c04b46350c2aee86b17ca0e2347c (
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
27
28
29
30
31
32
|
# $NetBSD: Makefile,v 1.18 2007/01/18 11:55:45 rillig 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
NOT_FOR_PLATFORM+= Interix-*-* # no <a.out.h>
USE_BSD_MAKEFILE= yes
INSTALLATION_DIRS= bin lib/bcc ${PKGMANDIR}/cat1 ${PKGMANDIR}/man1
post-extract:
set -e; \
cd ${FILESDIR}; \
mkdir ${WRKSRC}/bcc-cc1; \
cp Makefile.main ${WRKSRC}/Makefile; \
cp Makefile.ld ${WRKSRC}/ld/Makefile; \
cp ld86.1 ${WRKSRC}/ld/; \
cp Makefile.as ${WRKSRC}/as/Makefile; \
cp as86.1 ${WRKSRC}/as/; \
cp Makefile.bcc ${WRKSRC}/bcc/Makefile; \
cp bcc.1 ${WRKSRC}/bcc/; \
cp Makefile.bcc-cc1 ${WRKSRC}/bcc-cc1/Makefile; \
cp bcc-cc1.1 ${WRKSRC}/bcc-cc1/
rm -f ${WRKSRC}/as/typeconv.o
.include "../../mk/bsd.pkg.mk"
|