World - Change default compiler from gcc-5 to gcc-8
[dragonfly.git] / gnu / usr.bin / Makefile
CommitLineData
984263bc
MD
1# $FreeBSD: src/gnu/usr.bin/Makefile,v 1.51 2000/01/16 00:11:34 obrien Exp $
2
31468d70
JM
3.include "Makefile.buo"
4
8af27ce3 5SUBDIR= dialog diff grep groff man rcs
984263bc
MD
6
7.if !defined(NO_CVS)
8SUBDIR+=cvs
9.endif
10
f3ffdc5b
JS
11.if !defined(NO_GDB)
12SUBDIR+=gdb
8e3d68eb 13.endif
f3ffdc5b 14
31468d70 15SUBDIR+= ${BU_PRIMARY}
1df0b161 16.if !defined(NO_ALTBINUTILS)
d48624c9 17SUBDIR+= ${BU_BACKUP}
1feb8780 18.endif
6414e8a0 19
f0140465
JM
20SUBDIR+= gmp
21SUBDIR+= mpfr
f0140465 22SUBDIR+= mpc
6100d1de 23
2a89766a
MD
24# gcc80 is now the default, see sys.mk for WORLD_ALTCOMPILER default
25#
26#
8d7da424 27.if !defined(NO_ALTCOMPILER)
28. if defined(WORLD_ALTCOMPILER) && (${WORLD_ALTCOMPILER} == "all" || ${WORLD_ALTCOMPILER:Mgcc47})
4e8e707f 29SUBDIR+= cc47
8d7da424 30_altcompiler_dirs+= cc47
31. endif
2a89766a
MD
32.endif
33
34.if !defined(NO_ALTCOMPILER)
35. if defined(WORLD_ALTCOMPILER) && (${WORLD_ALTCOMPILER} == "all" || ${WORLD_ALTCOMPILER:Mgcc50})
36SUBDIR+= cc50
37_altcompiler_dirs+= cc50
40f0590f 38. endif
f0140465 39.endif
4f5ea479 40
2a89766a
MD
41#.if !defined(NO_ALTCOMPILER)
42#. if defined(WORLD_ALTCOMPILER) && (${WORLD_ALTCOMPILER} == "all" || ${WORLD_ALTCOMPILER:Mgcc80})
43SUBDIR+= cc80
44_compiler_dir= cc80
45#. endif
46#.endif
47
48.ORDER: ${BU_PRIMARY} gmp mpfr mpc ${_compiler_dir} ${_altcompiler_dirs}
8d7da424 49
d2e9c9d8
MD
50# maximum parallelism
51#
52SUBDIR_ORDERED=
53
984263bc 54.include <bsd.subdir.mk>