Drop main() prototype. Syncs with NetBSD-8
[minix.git] / usr.bin / ldd / Makefile.inc
blob6e8a1e0c1611e48939a26a157cd4ac1deec4753b
1 #       $NetBSD: Makefile.inc,v 1.6 2015/06/13 20:38:52 martin Exp $
3 WARNS?= 3       # XXX: -Wsign-compare issues ld.elf_so source
5 .if ${MKCOMPAT} != "no"
7 .if ${MACHINE_ARCH} == "sparc64"
8 MLIBDIR=        sparc
9 .endif
11 .if ${MACHINE_ARCH} == "x86_64"
12 MLIBDIR=        i386
13 .endif
15 .if ${MACHINE_ARCH} == "powerpc64"
16 MLIBDIR=        powerpc
17 .endif
19 # For now make "elf32" look for native (n32)
20 .if (${MACHINE_ARCH} == "mips64eb") || (${MACHINE_ARCH} == "mips64el")
21 MLIBDIR=        64
22 COMPAT_MLIBDIR= o32
23 CPPFLAGS+= -DLDD_ELF64 -DMIPS_N32
24 .endif
26 .endif  # MKCOMPAT
28 .if exists(${.CURDIR}/../../Makefile.inc)
29 .include "${.CURDIR}/../../Makefile.inc"
30 .endif