Makefile revision 1.43
11.43Smrg# $NetBSD: Makefile,v 1.43 2019/10/13 07:28:12 mrg Exp $ 21.5Smrg 31.1ScgdPROG= fdisk 41.1ScgdSRCS= fdisk.c 51.5Smrg 61.3ScgdMAN= fdisk.8 71.17Ssoda 81.42Stsutsui.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64" 91.42StsutsuiCPPFLAGS+= -DBOOTSEL 101.42Stsutsui.if (${HOSTPROG:U} == "") 111.42StsutsuiCPPFLAGS+= -DUSE_DISKLIST 121.42Stsutsui.endif 131.42Stsutsui.endif 141.42Stsutsui 151.17Ssoda.if ${MACHINE} == "arc" 161.17SsodaCPPFLAGS+= -D_PATH_DEFDISK='"/dev/rsd0d"' 171.22Sthorpej.endif 181.22Sthorpej 191.22Sthorpej.if ${MACHINE} == "netwinder" 201.22SthorpejCPPFLAGS+= -D_PATH_DEFDISK='"/dev/rwd0c"' 211.17Ssoda.endif 221.1Scgd 231.43SmrgCOPTS.fdisk.c+= ${GCC_NO_STRINGOP_TRUNCATION} 241.43Smrg 251.1Scgd.include <bsd.prog.mk> 261.35Smrg 271.33Sdyoung.if (${HOSTPROG:U} == "") 281.40SchristosDPADD+= ${LIBUTIL} ${LIBZ} 291.40SchristosLDADD+= -lutil -lz 301.33Sdyoung.endif 31