1# $NetBSD: Makefile,v 1.9 2015/07/15 11:24:03 martin Exp $ 2 3.include <bsd.own.mk> 4.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 5 6IMAGE= sshramdisk.fs 7IMAGESIZE= 14848k 8MAKEFS_FLAGS= -f 15 9 10WARNS= 1 11DBG= -Os 12 13CRUNCHBIN= ramdiskbin 14LISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst 15MTREECONF= ${.CURDIR}/mtree.conf 16.if empty(MACHINE_ARCH:M*eb) 17IMAGEENDIAN= le 18.else 19IMAGEENDIAN= be 20.endif 21MAKEDEVTARGETS= ramdisk 22IMAGEDEPENDS= ${CRUNCHBIN} \ 23 dot.profile master.passwd sshd_config ssh_host_dsa_key \ 24 ${NETBSDSRCDIR}/etc/group \ 25 ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 26 ${DISTRIBDIR}/common/services 27IMAGEPREBUILD= ${TOOL_PAX} -rw -pp ${DESTDIR}/libdata/firmware ${WORKDIR} 28 29# Use stubs to eliminate some large stuff from libc 30HACKSRC= ${DISTRIBDIR}/utils/libhack 31.include "${HACKSRC}/Makefile.inc" 32${CRUNCHBIN}: libhack.o 33 34USE_PAM := no 35USE_YP := no 36USE_SKEY := no 37USE_KERBEROS := no 38USE_LDAP := no 39.export USE_PAM 40.export USE_YP 41.export USE_SKEY 42.export USE_KERBEROS 43.export USE_LDAP 44 45.include "${DISTRIBDIR}/common/Makefile.crunch" 46.include "${DISTRIBDIR}/common/Makefile.dhcpcd" 47.include "${DISTRIBDIR}/common/Makefile.makedev" 48.include "${DISTRIBDIR}/common/Makefile.image" 49 50release: 51 52.include <bsd.prog.mk> 53