1# $OpenBSD: Makefile,v 1.56 2015/06/01 17:36:19 miod Exp $ 2# $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $ 3 4.include <bsd.own.mk> 5 6.if make(obj) 7SUBDIR+= cc gcc 8.else 9. if ${COMPILER_VERSION:L} == "gcc3" 10SUBDIR+= gcc 11. else 12SUBDIR+= cc 13. endif 14.endif 15 16SUBDIR+= cxxfilt cvs 17# binutils-2.17 needs to build gdb in binutils at the moment 18SUBDIR+= binutils 19SUBDIR+= binutils-2.17 20 21# Do these last; texinfo builds the info 'dir' file, perl must be after binutils 22SUBDIR+= perl texinfo 23 24.if ${COMPILER_VERSION:L} == "gcc4" 25maninstall: 26 ${INSTALL} ${INSTALL_COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \ 27 gcc/protoize.1 ${DESTDIR}${MANDIR}1/protoize.1 28 @rm -f ${DESTDIR}${MANDIR}1/unprotoize.1 29 ln ${DESTDIR}${MANDIR}1/protoize.1 ${DESTDIR}${MANDIR}1/unprotoize.1 30.endif 31 32.include <bsd.subdir.mk> 33