Home | History | Annotate | Line # | Download | only in n32
      1  1.2  christos #	$NetBSD: bsd.n32.mk,v 1.2 2021/04/25 18:44:04 christos Exp $
      2  1.1  christos 
      3  1.1  christos .if !empty(MACHINE_ARCH:M*eb)
      4  1.1  christos LD+=		-m elf32btsmipn32
      5  1.1  christos .else
      6  1.1  christos LD+=		-m elf32ltsmipn32
      7  1.1  christos .endif
      8  1.1  christos .ifndef MLIBDIR
      9  1.1  christos MLIBDIR=	n32
     10  1.1  christos 
     11  1.1  christos LIBC_MACHINE_ARCH=	${MACHINE_ARCH:S/mipsn/mips/:S/64//}
     12  1.1  christos LIBGCC_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
     13  1.1  christos GOMP_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
     14  1.1  christos XORG_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
     15  1.2  christos BFD_MACHINE_ARCH=	${LIBC_MACHINE_ARCH}
     16  1.1  christos 
     17  1.1  christos COPTS+=		-mabi=n32
     18  1.1  christos CPUFLAGS+=	-mabi=n32
     19  1.1  christos LDADD+=		-mabi=n32
     20  1.1  christos LDFLAGS+=	-mabi=n32
     21  1.1  christos MKDEPFLAGS+=	-mabi=n32
     22  1.1  christos .endif
     23  1.1  christos 
     24  1.1  christos .include "${.PARSEDIR}/../../Makefile.compat"
     25