Home | History | Annotate | Line # | Download | only in usr.bin
Makefile revision 1.15
      1 #	$NetBSD: Makefile,v 1.15 2024/02/25 00:28:02 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 ${MKGCCCMDS} != "no" || make(includes)
     12 
     13 # We keep libcpp here since it depends upon frontend.
     14 SUBDIR+=	host-libiberty .WAIT \
     15 		host-libcpp .WAIT \
     16 		../../../mit/isl/lib/libisl \
     17 		backend .WAIT \
     18 		frontend .WAIT \
     19 		common common-target .WAIT \
     20 		libcody libcpp libdecnumber .WAIT \
     21 		gcov gcov-dump cc1 cc1obj cc1objplus cc1plus cpp g++ gcc \
     22 		lto1 lto-wrapper lto-dump
     23 .endif
     24 
     25 SUBDIR+=	include
     26 
     27 .include <bsd.subdir.mk>
     28 
     29 .else
     30 # Do nothing. (PROG undefined)
     31 .include <bsd.prog.mk>
     32 .endif
     33