Makefile revision 1.57
1# $OpenBSD: Makefile,v 1.57 2017/01/29 03:48:08 jsg 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 clang gcc 8.else 9. if ${COMPILER_VERSION:L} == "gcc3" 10SUBDIR+= gcc 11. elif ${COMPILER_VERSION:L} == "gcc4" 12SUBDIR+= cc 13. elif ${COMPILER_VERSION:L} == "clang" 14SUBDIR+= clang 15. endif 16.endif 17 18SUBDIR+= cxxfilt cvs 19# binutils-2.17 needs to build gdb in binutils at the moment 20SUBDIR+= binutils 21SUBDIR+= binutils-2.17 22 23# Do these last; texinfo builds the info 'dir' file, perl must be after binutils 24SUBDIR+= perl texinfo 25 26.if ${COMPILER_VERSION:L} == "gcc4" 27maninstall: 28 ${INSTALL} ${INSTALL_COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \ 29 gcc/protoize.1 ${DESTDIR}${MANDIR}1/protoize.1 30 @rm -f ${DESTDIR}${MANDIR}1/unprotoize.1 31 ln ${DESTDIR}${MANDIR}1/protoize.1 ${DESTDIR}${MANDIR}1/unprotoize.1 32.endif 33 34.include <bsd.subdir.mk> 35