1 1.48 matt # $NetBSD: Makefile,v 1.48 2013/02/05 07:22:59 matt Exp $ 2 1.26 pk 3 1.47 mrg .include <bsd.own.mk> # for MKPIC definition 4 1.48 matt .include <bsd.endian.mk> # for TARGET_ENDIANNESS 5 1.1 pk 6 1.48 matt .if ${MKPIC} != "no" 7 1.48 matt .if ${TARGET_ENDIANNESS} == "1234" && ${MACHINE_CPU} == "arm" 8 1.48 matt UUDECODE_FILES= ld.so.${MACHINE_CPU} 9 1.48 matt .else 10 1.48 matt UUDECODE_FILES= ld.so.${MACHINE_ARCH} 11 1.48 matt .endif 12 1.29 fvdl 13 1.48 matt .if exists(${UUDECODE_FILES}.uue) 14 1.29 fvdl FILES= ld.so 15 1.30 tron FILESDIR= /usr/libexec 16 1.29 fvdl FILESMODE= ${BINMODE} 17 1.45 jmc UUDECODE_FILES_RENAME_${UUDECODE_FILES}= ld.so 18 1.29 fvdl 19 1.30 tron all dependall: ${FILES} 20 1.29 fvdl 21 1.48 matt ld.so: ${UUDECODE_FILES} 22 1.29 fvdl 23 1.20 mrg .endif 24 1.48 matt .endif 25 1.20 mrg 26 1.32 wiz MAN= ld.aout_so.1 27 1.1 pk 28 1.45 jmc .include <bsd.files.mk> 29 1.1 pk .include <bsd.prog.mk> 30