summaryrefslogtreecommitdiff
path: root/sbin/disklabel
diff options
context:
space:
mode:
authorchristos <christos@NetBSD.org>2016-01-31 23:11:49 +0000
committerchristos <christos@NetBSD.org>2016-01-31 23:11:49 +0000
commit8f63aecf38b89939f98ece56080c4704bd9bcfb4 (patch)
tree9dbc181aac4bf16967cfc97e97f80f1db5861497 /sbin/disklabel
parent4be1db950af7788ba91d6d762bfff5990f82aae3 (diff)
fix broken patch
Diffstat (limited to 'sbin/disklabel')
-rw-r--r--sbin/disklabel/Makefile42
1 files changed, 1 insertions, 41 deletions
diff --git a/sbin/disklabel/Makefile b/sbin/disklabel/Makefile
index 6320c25e7b3..b8c90b4ed0c 100644
--- a/sbin/disklabel/Makefile
+++ b/sbin/disklabel/Makefile
@@ -1,44 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2016/01/31 18:57:29 christos Exp $
-# Build a small disklabel (for tiny boot media)
-
-SRCDIR= ${.CURDIR}/../../../sbin/disklabel
-
-PROG= disklabel
-SRCS= main.c dkcksum.c printlabel.c
-#SRCS+= interact.c
-NOMAN= # defined
-
-CPPFLAGS+= -DNO_INTERACT
-CPPFLAGS+= -DNATIVELABEL_ONLY
-
-DPADD+= ${LIBUTIL}
-LDADD+= -lutil
-
-# these have additional requirements on the alignment of a partition
-.if (${MACHINE} == "sparc") || (${MACHINE} == "sparc64") \
- || (${MACHINE} == "sun3")
-CPPFLAGS+= -DSTRICT_CYLINDER_ALIGNMENT
-.endif
-
-.if (${MACHINE} == "acorn32" || ${MACHINE} == "acorn26")
-# Support FileCore boot block
-CPPFLAGS+= -DUSE_ACORN
-.endif
-
-.if (${MACHINE_ARCH} == "alpha")
-# alpha requires boot block checksum
-CPPFLAGS+= -DALPHA_BOOTBLOCK_CKSUM
-.endif
-
-.if (${MACHINE_ARCH} == "vax")
-# vax requires labels in alternative sectors on SMD disk
-CPPFLAGS+= -DVAX_ALTLABELS
-.endif
-
-.include <bsd.prog.mk>
-
-.PATH: ${SRCDIR}
-# $NetBSD: Makefile,v 1.71 2016/01/31 18:57:29 christos Exp $
+# $NetBSD: Makefile,v 1.72 2016/01/31 23:11:49 christos Exp $
# @(#)Makefile 8.2 (Berkeley) 3/17/94
PROG= disklabel