11.31Sriastrad# $NetBSD: Makefile,v 1.31 2025/12/17 20:05:54 riastradh Exp $ 21.1Sgarbled 31.1Sgarbled.include <bsd.own.mk> 41.1Sgarbled.include "${NETBSDSRCDIR}/distrib/common/Makefile.distrib" 51.1Sgarbled 61.1SgarbledIMAGE= sshramdisk.fs 71.30SbradIMAGESIZE= 51000k 81.12SchristosMAKEFS_FLAGS+= -f 15 91.1Sgarbled 101.13Schristos.if ${MKREPRO_TIMESTAMP:Uno} != "no" 111.13SchristosMAKEFS_TIMESTAMP=-T "${MKREPRO_TIMESTAMP}" 121.13SchristosPAX_TIMESTAMP=--timestamp "${MKREPRO_TIMESTAMP}" 131.13Schristos.endif 141.13Schristos 151.1SgarbledWARNS= 1 161.1SgarbledDBG= -Os 171.1Sgarbled 181.1SgarbledCRUNCHBIN= ramdiskbin 191.1SgarbledLISTS= ${.CURDIR}/list ${DISTRIBDIR}/common/list.sysinst 201.1SgarbledMTREECONF= ${.CURDIR}/mtree.conf 211.9Smartin.if empty(MACHINE_ARCH:M*eb) 221.1SgarbledIMAGEENDIAN= le 231.9Smartin.else 241.9SmartinIMAGEENDIAN= be 251.9Smartin.endif 261.1SgarbledMAKEDEVTARGETS= ramdisk 271.1SgarbledIMAGEDEPENDS= ${CRUNCHBIN} \ 281.18Smartin dot.profile master.passwd sshd_config ssh_host_rsa_key \ 291.1Sgarbled ${NETBSDSRCDIR}/etc/group \ 301.1Sgarbled ${NETBSDSRCDIR}/etc/netconfig ${DISTRIBDIR}/common/protocols \ 311.1Sgarbled ${DISTRIBDIR}/common/services 321.27SchristosIMAGERUNTIME= libdata/firmware 331.28SchristosIMAGESPECEXTRA= libdata 341.1Sgarbled 351.1Sgarbled# Use stubs to eliminate some large stuff from libc 361.1SgarbledHACKSRC= ${DISTRIBDIR}/utils/libhack 371.1Sgarbled.include "${HACKSRC}/Makefile.inc" 381.23Schristos${CRUNCHBIN}: libhack.o 391.1Sgarbled 401.1SgarbledUSE_PAM := no 411.1SgarbledUSE_YP := no 421.1SgarbledUSE_SKEY := no 431.1SgarbledUSE_KERBEROS := no 441.1SgarbledUSE_LDAP := no 451.1Sgarbled.export USE_PAM 461.1Sgarbled.export USE_YP 471.1Sgarbled.export USE_SKEY 481.1Sgarbled.export USE_KERBEROS 491.1Sgarbled.export USE_LDAP 501.1Sgarbled 511.31Sriastrad# libssh is private, so libssh.a is not installed in DESTDIR, so we 521.31Sriastrad# have to get it out of the objdir. 531.31Sriastrad# 541.31Sriastrad# XXX Should do this differently, and uniformly for all libraries. 551.31Sriastrad.if !defined(LIBDO.ssh) 561.31SriastradLIBDO.ssh!= cd ${NETBSDSRCDIR}/crypto/external/bsd/openssh/lib && \ 571.31Sriastrad ${PRINTOBJDIR} 581.31Sriastrad.MAKEOVERRIDES+=LIBDO.ssh 591.31Sriastrad.endif 601.31SriastradCRUNCHGEN_FLAGS+=-L ${LIBDO.ssh} 611.31Sriastrad 621.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.crunch" 631.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.dhcpcd" 641.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.makedev" 651.1Sgarbled.include "${DISTRIBDIR}/common/Makefile.image" 661.1Sgarbled 671.1Sgarbledrelease: 681.1Sgarbled 691.1Sgarbled.include <bsd.prog.mk> 70