34 lines
597 B
Makefile
34 lines
597 B
Makefile
|
# $NetBSD: Makefile,v 1.1 2008/10/26 07:38:34 mrg Exp $
|
||
|
|
||
|
NOMAN= # defined
|
||
|
|
||
|
.include <bsd.obj.mk>
|
||
|
|
||
|
SHLINKINSTALLDIR= /usr/libexec
|
||
|
|
||
|
LDFLAGS+= -m32
|
||
|
|
||
|
#CPPFLAGS+= -DDEBUG
|
||
|
#CPPFLAGS+= -DRTLD_DEBUG
|
||
|
#CPPFLAGS+= -DRTLD_DEBUG_RELOC
|
||
|
#DBG= -g
|
||
|
|
||
|
.include "${NETBSDSRCDIR}/compat/Makefile.compat"
|
||
|
|
||
|
.PATH: ${NETBSDSRCDIR}/libexec/ld.elf_so
|
||
|
.CURDIR:=${NETBSDSRCDIR}/libexec/ld.elf_so
|
||
|
|
||
|
# XXX
|
||
|
.if ${MACHINE} == "sparc64"
|
||
|
PROG= ld.elf_so-sparc
|
||
|
ARCHSUBDIR= sparc
|
||
|
.elif ${MACHINE} == "amd64"
|
||
|
PROG= ld.elf_so-i386
|
||
|
ARCHSUBDIR= i386
|
||
|
.endif
|
||
|
|
||
|
# XXX why do i need this?
|
||
|
dependall: ${PROG}
|
||
|
|
||
|
.include "${.CURDIR}/Makefile"
|