summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gcc/Makefile.bsd-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/gcc/Makefile.bsd-wrapper')
-rw-r--r--gnu/usr.bin/gcc/Makefile.bsd-wrapper112
1 files changed, 0 insertions, 112 deletions
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
deleted file mode 100644
index ac9b7d5c8b0..00000000000
--- a/gnu/usr.bin/gcc/Makefile.bsd-wrapper
+++ /dev/null
@@ -1,112 +0,0 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.35 1999/02/04 00:07:14 millert Exp $
-
-MAN= cccp.1 gcc.1 cp/g++.1 f/g77.1
-MLINKS+= gcc.1 cc.1
-MLINKS+= cccp.1 cpp.1
-MLINKS+= g++.1 c++.1
-
-GPP_INC_DIR= /usr/include/g++
-GNUCFLAGS= CFLAGS="${CFLAGS} ${COPTS} -DOPENBSD_NATIVE"
-CLEANFILES= .gdbinit cp/.gdbinit *.info* bi-parser.c bi-parser.h \
- c-parse.c c-parse.h c-parse.y cexp.c cp/parse.c cp/parse.h \
- objc-parse.c objc-parse.y f/.gdbinit f/*.info*
-CXX_HEADERS= ${.CURDIR}/cp/inc/typeinfo ${.CURDIR}/cp/inc/exception \
- ${.CURDIR}/cp/inc/new ${.CURDIR}/cp/inc/new.h
-
-.if ${MACHINE} == "arc" || ${MACHINE} == "pmax" || ${MACHINE} == "wgrisc"
-M_ARCH= mipsel
-.elif ${MACHINE} == "hkmips" || ${MACHINE} == "sgi"
-M_ARCH= mips
-.else
-M_ARCH= ${MACHINE_ARCH}
-.endif
-
-GCCARCH= ${M_ARCH}-unknown-openbsd`uname -r`
-
-all: config.status
- ${MAKE} ${GNUCFLAGS} BISON=yacc CC="${CC}" LDFLAGS="${LDSTATIC}" \
- build_infodir=. all doc
-
-
-.FORCE: .IGNORE
-
-.include <bsd.own.mk>
-
-.ifdef GLOBAL_AUTOCONF_CACHE
-CF= --cache-file=${GLOBAL_AUTOCONF_CACHE}
-.else
-CF=
-.endif
-
-config: .FORCE
-.ifndef GLOBAL_AUTOCONF_CACHE
- -rm -f config.cache
-.endif
- PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
- INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
- --prefix=/usr --with-local-prefix=/usr ${CF} \
- --with-gxx-include-dir=${GPP_INC_DIR} ${GCCARCH}
-
-config.status: Makefile.in configure c-parse.in
- PATH="/bin:/usr/bin:/sbin:/usr/sbin" \
- INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
- --prefix=/usr --with-local-prefix=/usr ${CF} \
- --with-gxx-include-dir=${GPP_INC_DIR} ${GCCARCH} && touch config.status
-
-includes:
- @-for i in ${CXX_HEADERS}; do \
- j=`basename $$i` \
- cmp -s $$i ${DESTDIR}/${GPP_INC_DIR}/$$j || \
- ${INSTALL} ${INSTALL_COPY} -m 444 $$i \
- ${DESTDIR}/${GPP_INC_DIR}; \
- done
-
-.ifdef NOMAN
-maninstall:
- @echo NOMAN is set
-.endif
-
-install: maninstall
- ${MAKE} ${GNUCFLAGS} prefix=${DESTDIR}/usr \
- INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
- infodir=${DESTDIR}/usr/share/info \
- build_infodir=. \
- tooldir=/tmp assertdir=/tmp INSTALL_DRIVER=install-driver \
- INSTALL_MAN= NO_TARGET_GCC=true bindir=${DESTDIR}/usr/bin \
- install
- ln -f ${DESTDIR}/usr/bin/gcc ${DESTDIR}/usr/bin/cc
- chown -R ${BINOWN}.${BINGRP} ${DESTDIR}/usr/lib/gcc-lib
- chmod -R a+rX ${DESTDIR}/usr/lib/gcc-lib
- if [ -e ${DESTDIR}/usr/lib/libf2c.a ]; then \
- chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/lib/libf2c.a; \
- chmod 444 ${DESTDIR}/usr/lib/libf2c.a; \
- fi
- if [ -e ${DESTDIR}/usr/include/f2c.h ]; then \
- chown ${BINOWN}.${BINGRP} ${DESTDIR}/usr/include/f2c.h; \
- chmod 444 ${DESTDIR}/usr/include/f2c.h; \
- fi
- __target=`sed -n '/^target=/s/target=//p' Makefile`; \
- __version=`sed -n '/^version=/s/version=//p' Makefile`; \
- ln -fs /usr/lib/gcc-lib/$$__target/$$__version/cpp \
- ${DESTDIR}/usr/libexec
-
-clean cleandir:
- rm -f ${CLEANFILES}
- -@if [ -e Makefile ]; then ${MAKE} distclean; fi
-
-depend:
- # Nothing here so far...
-
-lint:
- # Nothing here so far...
-
-tags:
- # Nothing here so far...
-
-.include <bsd.obj.mk>
-.include <bsd.subdir.mk>
-.ifndef NOMAN
-.include <bsd.man.mk>
-.endif