Cross Reference: Makefile
xref: /src/sbin/disklabel/Makefile
  • Home
  • History
  • AnnotateAnnotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /src/sbin/disklabel/
11.75Slukem#	$NetBSD: Makefile,v 1.75 2023/06/03 09:09:12 lukem Exp $
21.15Scgd#	@(#)Makefile	8.2 (Berkeley) 3/17/94
31.1Scgd
41.1ScgdPROG=	disklabel
51.70SmattSRCS=	main.c dkcksum.c interact.c printlabel.c bswap.c
61.12ScgdMAN=	disklabel.5 disklabel.8
71.57Sfvdl.if (${HOSTPROG:U} == "")
81.57SfvdlDPADD+= ${LIBUTIL}
91.20SchristosLDADD+= -lutil
101.57Sfvdl.endif
111.9Shpeyerl
121.32Skleink# these have additional requirements on the alignment of a partition
131.66Snakayama.if (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") \
141.31Spk	|| (${MACHINE} == "sun3")
151.31SpkCPPFLAGS+= -DSTRICT_CYLINDER_ALIGNMENT
161.33Scgd.endif
171.33Scgd
181.73Sskrll.if ${MACHINE} == "acorn32"
191.41Sbjh21# Support FileCore boot block
201.41Sbjh21CPPFLAGS+= -DUSE_ACORN
211.34Sshin.endif
221.34Sshin
231.64Stsutsui.if (${MACHINE_ARCH} == "alpha")
241.64Stsutsui# alpha requires boot block checksum
251.64StsutsuiCPPFLAGS+= -DALPHA_BOOTBLOCK_CKSUM
261.64Stsutsui.endif
271.64Stsutsui
281.64Stsutsui.if (${MACHINE_ARCH} == "vax")
291.64Stsutsui# vax requires labels in alternative sectors on SMD disk
301.64StsutsuiCPPFLAGS+= -DVAX_ALTLABELS
311.64Stsutsui.endif
321.64Stsutsui
331.75SlukemCOPTS.main.c+=		${CC_WNO_STRINGOP_TRUNCATION}
341.75SlukemCOPTS.interact.c+=	${CC_WNO_STRINGOP_TRUNCATION}
351.74Smrg
361.1Scgd.include <bsd.prog.mk>
37

Indexes created Mon Nov 10 17:20:41 GMT 2025