added -D${MACHINE} for amiga's becuase of differing sizeof (struct disklabel)

This commit is contained in:
chopps 1994-02-12 17:49:32 +00:00
parent 2afef02671
commit c46eb1bc76
2 changed files with 9 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 5.6 (Berkeley) 4/1/91
# $Id: Makefile,v 1.7 1993/08/01 05:38:22 mycroft Exp $
# $Id: Makefile,v 1.8 1994/02/12 17:49:32 chopps Exp $
PROG= disklabel
SRCS= disklabel.c dkcksum.c
@ -7,6 +7,9 @@ MAN8= disklabel.0
BINGRP=operator
BINMODE=2550
CLEANFILES=disklabel.5.0
.if (${MACHINE} == "amiga")
CFLAGS+=-D${MACHINE}
.endif
.if !defined(NOMAN)
all: disklabel.5.0

View File

@ -1,5 +1,5 @@
# from: @(#)Makefile 7.13 (Berkeley) 2/26/91
# $Id: Makefile,v 1.5 1993/08/01 05:27:35 mycroft Exp $
# $Id: Makefile,v 1.6 1994/02/12 17:52:00 chopps Exp $
PROG= newfs
CFLAGS+=-DMFS
@ -9,4 +9,8 @@ LINKS= ${BINDIR}/newfs ${BINDIR}/mount_mfs
MLINKS= newfs.8 mount_mfs.8
.PATH: ${.CURDIR}/../disklabel
.if (${MACHINE} == "amiga")
CFLAGS+=-D${MACHINE}
.endif
.include <bsd.prog.mk>