blob: a887a9b88cfa334bf250bd9f32486b60d98b9052 (
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
|
# $OpenBSD: Makefile,v 1.56 2015/06/01 17:36:19 miod Exp $
# $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $
.include <bsd.own.mk>
.if make(obj)
SUBDIR+= cc gcc
.else
. if ${COMPILER_VERSION:L} == "gcc3"
SUBDIR+= gcc
. else
SUBDIR+= cc
. endif
.endif
SUBDIR+= cxxfilt cvs
# binutils-2.17 needs to build gdb in binutils at the moment
SUBDIR+= binutils
SUBDIR+= binutils-2.17
# Do these last; texinfo builds the info 'dir' file, perl must be after binutils
SUBDIR+= perl texinfo
.if ${COMPILER_VERSION:L} == "gcc4"
maninstall:
${INSTALL} ${INSTALL_COPY} -o ${MANOWN} -g ${MANGRP} -m ${MANMODE} \
gcc/protoize.1 ${DESTDIR}${MANDIR}1/protoize.1
@rm -f ${DESTDIR}${MANDIR}1/unprotoize.1
ln ${DESTDIR}${MANDIR}1/protoize.1 ${DESTDIR}${MANDIR}1/unprotoize.1
.endif
.include <bsd.subdir.mk>
|