blob: 58c54f5e6f707c60c5cd85401046b100d8331eef (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# @(#)Makefile 8.2 (Berkeley) 3/17/94
# $FreeBSD$
PROG= bsdlabel
SRCS= bsdlabel.c geom_bsd_enc.c
#MAN+= bsdlabel.5
MAN+= bsdlabel.8
.if ${MACHINE_ARCH} == "i386"
LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
MLINKS+= bsdlabel.8 disklabel.8
.endif
.if ${MACHINE_ARCH} == "alpha"
LINKS= ${BINDIR}/bsdlabel ${BINDIR}/disklabel
MLINKS+= bsdlabel.8 disklabel.8
.endif
DDADD= ${LIBGEOM}
LDADD= -lgeom -lbsdxml -lsbuf
.if ${MACHINE} == "pc98"
CFLAGS+= -DPC98
.endif
.PATH: ${.CURDIR}/../../sys/geom
.include <bsd.prog.mk>
test: ${PROG}
sh ${.CURDIR}/runtest.sh
testx: ${PROG}
sh -x ${.CURDIR}/runtest.sh
|