Makefile revision 1.9
11.9Smartin#	$NetBSD: Makefile,v 1.9 2015/07/15 11:24:03 martin Exp $
21.1Sgarbled
31.1Sgarbled.include <bsd.own.mk>
41.1Sgarbled.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib"
51.1Sgarbled
61.1SgarbledIMAGE=		sshramdisk.fs
71.8SjoergIMAGESIZE=	14848k
81.1SgarbledMAKEFS_FLAGS=	-f 15
91.1Sgarbled
101.1SgarbledWARNS=		1
111.1SgarbledDBG=		-Os
121.1Sgarbled
131.1SgarbledCRUNCHBIN=	ramdiskbin
141.1SgarbledLISTS=		${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst
151.1SgarbledMTREECONF=	${.CURDIR}/mtree.conf
161.9Smartin.if empty(MACHINE_ARCH:M*eb)
171.1SgarbledIMAGEENDIAN=	le
181.9Smartin.else
191.9SmartinIMAGEENDIAN=	be
201.9Smartin.endif
211.1SgarbledMAKEDEVTARGETS=	ramdisk
221.1SgarbledIMAGEDEPENDS=	${CRUNCHBIN} \
231.1Sgarbled		dot.profile master.passwd sshd_config ssh_host_dsa_key \
241.1Sgarbled		${NETBSDSRCDIR}/etc/group \
251.1Sgarbled		${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \
261.1Sgarbled		${DISTRIBDIR}/common/services
271.4SmartinIMAGEPREBUILD=	${TOOL_PAX} -rw -pp ${DESTDIR}/libdata/firmware ${WORKDIR}
281.1Sgarbled
291.1Sgarbled# Use stubs to eliminate some large stuff from libc
301.1SgarbledHACKSRC=	${DISTRIBDIR}/utils/libhack
311.1Sgarbled.include	"${HACKSRC}/Makefile.inc"
321.1Sgarbled${CRUNCHBIN}:	libhack.o
331.1Sgarbled
341.1SgarbledUSE_PAM := no
351.1SgarbledUSE_YP := no
361.1SgarbledUSE_SKEY := no
371.1SgarbledUSE_KERBEROS := no
381.1SgarbledUSE_LDAP := no
391.1Sgarbled.export USE_PAM
401.1Sgarbled.export USE_YP
411.1Sgarbled.export USE_SKEY
421.1Sgarbled.export USE_KERBEROS
431.1Sgarbled.export USE_LDAP
441.1Sgarbled
451.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.crunch"
461.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.dhcpcd"
471.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.makedev"
481.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.image"
491.1Sgarbled
501.1Sgarbledrelease:
511.1Sgarbled
521.1Sgarbled.include <bsd.prog.mk>
53