Remove old pcc reachover build now that pcc and its libraries are built from

src/external/bsd/pcc.
This commit is contained in:
gmcgarry 2008-08-27 12:28:14 +00:00
parent 29ed8d5a56
commit 6745125758
6 changed files with 0 additions and 132 deletions

View File

@ -1,5 +0,0 @@
# $NetBSD: Makefile,v 1.1 2007/09/21 21:10:54 abs Exp $
SUBDIR=cc
.include <bsd.subdir.mk>

View File

@ -1,5 +0,0 @@
# $NetBSD: Makefile,v 1.1 2007/09/21 21:10:55 abs Exp $
SUBDIR=cc cpp ccom
.include <bsd.subdir.mk>

View File

@ -1,37 +0,0 @@
# $NetBSD: Makefile.inc,v 1.4 2008/03/25 00:30:11 yamt Exp $
MDIR= ${DIST}/arch/${TARGMACH}
MIPDIR= ${DIST}/mip
TARGOS = netbsd
# XXX Currently only handles i386
.if ${MACHINE_ARCH} == "i386"
TARGMACH = i386
.elif ${MACHINE_ARCH} == "mipsel" || ${MACHINE_ARCH} == "mipseb"
TARGMACH = mips
.elif ${MACHINE_ARCH} == "vax"
TARGMACH = vax
.else
ERROR!= echo "ERROR: ${MACHINE_ARCH} not yet supported - write code!" >&2;echo
.endif
libexecdir = ${DESTDIR}/usr/libexec
includedir = ${DESTDIR}/usr/include
CPPFLAGS+= -DLIBEXECDIR=\"${libexecdir}\" -DINCLUDEDIR=\"${includedir}\"
CPPFLAGS+= -I${DIST}/os/${TARGOS} -I${MDIR} -Dmach_${TARGMACH} -Dos_${TARGOS}
CPPFLAGS+= -I${.CURDIR} -I${.CURDIR}/..
# Somewhat inelegant logic to handle config.h - obviously not crossbuildable
#
../../config.h: ${DIST}/config.h.in ${DIST}/configure
mkdir -p configtmp
cd configtmp && ${SH} ${DIST}/configure && mv config.h ../../..
rm -rf configtmp
DPSRCS+=../../config.h
CLEANFILES+=../../config.h
.if exists(${.CURDIR}/../../../Makefile.inc)
.include "${.CURDIR}/../../../Makefile.inc"
.endif

View File

@ -1,19 +0,0 @@
# $NetBSD: Makefile,v 1.2 2008/02/10 20:32:25 ragge Exp $
.include <bsd.own.mk>
USE_FORT?= yes
CPPFLAGS+=-I../..
DIST= ${NETBSDSRCDIR}/dist/pcc
SUBDIST=${DIST}/cc/cc
.PATH: ${SUBDIST}
PROG= pcc
SRCS= cc.c
MAN= cc.1
CLEANFILES+= cc.cat1
.include <bsd.prog.mk>

View File

@ -1,38 +0,0 @@
# $NetBSD: Makefile,v 1.2 2008/02/10 20:32:25 ragge Exp $
.include <bsd.own.mk>
# USE_FORT?= yes
CPPFLAGS+=-I../..
DIST= ${NETBSDSRCDIR}/dist/pcc
SUBDIST=${DIST}/cc/ccom
PROG= ccom
SRCS= cgram.y
SRCS+= optim.c pftn.c scan.c trees.c inline.c symtabs.c
SRCS+= gcc_compat.c init.c local.c code.c stabs.c match.c reader.c optim2.c
SRCS+= regs.c local2.c order.c table.c common.c main.c external.c
BINDIR= /usr/libexec
CPPFLAGS+= -I${SUBDIST} -I${.CURDIR} -I${DIST}/mip
CPPFLAGS+= -DPCC_DEBUG -DGCC_COMPAT
YFLAGS+= -d
CLEANFILES+= external.h external.c ccom.cat1 cgram.h mkext
trees.c: pass2.h
pass2.h: external.h
optim2.o reader.o: external.h
.include <bsd.prog.mk>
.PATH: ${SUBDIST} ${MIPDIR} ${MDIR}
external.h external.c: ${MIPDIR}/mkext.c $(MDIR)/table.c
$(CC) $(DEFS) $(CPPFLAGS) $(CFLAGS) -DMKEXT -o mkext ${MIPDIR}/mkext.c \
$(MDIR)/table.c ${MIPDIR}/common.c
./mkext

View File

@ -1,28 +0,0 @@
# $NetBSD: Makefile,v 1.2 2008/02/10 20:32:25 ragge Exp $
.include <bsd.own.mk>
# USE_FORT?= yes
DIST= ${NETBSDSRCDIR}/dist/pcc
SUBDIST=${DIST}/cc/cpp
.PATH: ${SUBDIST}
PROG= cpp
SRCS= cpy.y scanner.c cpp.c
BINDIR= /usr/libexec
YFLAGS+= -d
CPPFLAGS+= -I${DIST}/cc/cpp -I${.CURDIR} -I${DIST} -I${DIST}/mip
CPPFLAGS+= -I${.CURDIR}/../..
CPPFLAGS+= -DCPP_DEBUG
CLEANFILES+= lex.yy.c y.tab.h cpp.cat1
# scanner.l expects to include y.tab.h
cpy.c: cpy.y
${YACC} ${YFLAGS} -o ${.TARGET} ${.ALLSRC}
mv cpy.h y.tab.h
.include <bsd.prog.mk>