Home | History | Annotate | Line # | Download | only in usr.bin
      1 #	$NetBSD: Makefile,v 1.20 2026/01/19 02:45:14 mrg Exp $
      2 
      3 NOOBJ=# defined
      4 
      5 .include <bsd.init.mk>
      6 
      7 GCC_MACHINE_ARCH?=${MACHINE_ARCH:S/earmv5/earm/}
      8 
      9 .if ${MKGCC} != "no" && exists(${.CURDIR}/gcc/arch/${GCC_MACHINE_ARCH}/defs.mk)
     10 
     11 .if !defined(NOGCCISL)
     12 ISL_SUBDIR=	../../../mit/isl/lib/libisl
     13 .else
     14 ISL_SUBDIR=
     15 .endif
     16 
     17 # host-libiberty is used by include on rs6000.
     18 SUBDIR+=	host-libiberty .WAIT
     19 
     20 # We keep libcpp here since it depends upon frontend.
     21 .if ${MKGCCCMDS} != "no" || make(includes)
     22 SUBDIR+=	host-libcpp .WAIT \
     23 		${ISL_SUBDIR} \
     24 		backend .WAIT \
     25 		frontend .WAIT \
     26 		common common-target .WAIT \
     27 		libcody libcpp libdecnumber .WAIT \
     28 		gcov gcov-dump cc1 cc1obj cc1objplus cc1plus f951 lto1 \
     29 		cpp g++ gcc gfortran lto-dump lto-wrapper
     30 .endif
     31 
     32 SUBDIR+=	include
     33 
     34 # Make sure that we do host-liberty before include, rs6000 has a generator
     35 # for an installed a header and the generator needs host-libiberty.
     36 include-include: include-host-libiberty
     37 
     38 .include <bsd.subdir.mk>
     39 
     40 .else
     41 # Do nothing. (PROG undefined)
     42 .include <bsd.prog.mk>
     43 .endif
     44