blob: 41289a4fb67f4f38d146de26b22f4e40e83e907d (
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
33
34
35
36
37
38
|
# $OpenBSD: Makefile,v 1.62 2020/07/04 21:11:52 kettenis Exp $
# $NetBSD: Makefile,v 1.35 1996/04/03 21:20:52 chuck Exp $
.include <bsd.own.mk>
.if make(obj)
SUBDIR+= cc clang gcc
.else
. if ${BUILD_GCC3:L} == "yes"
SUBDIR+= gcc
. endif
. if ${BUILD_GCC4:L} == "yes"
SUBDIR+= cc
. endif
. if ${BUILD_CLANG:L} == "yes"
SUBDIR+= clang
. endif
.endif
SUBDIR+= cxxfilt cvs
# binutils-2.17 needs to build gdb in binutils at the moment
.if make(obj)
SUBDIR+= binutils
.elif ${MACHINE_CPU} != "aarch64" && ${MACHINE_CPU} != "powerpc64"
SUBDIR+= binutils
.endif
SUBDIR+= binutils-2.17
# Do these last; texinfo builds the info 'dir' file, perl must be after binutils
SUBDIR+= perl texinfo
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
.include <bsd.subdir.mk>
|