Kill the -I... instead of adding destdir. Change SESINC so the build system can work its magic wrt any DESTDIR mods.
This commit is contained in:
parent
6b80f43e3c
commit
56e9ab4413
@ -1,4 +1,4 @@
|
||||
# $NetBSD: Makefile.inc,v 1.4 2000/02/22 05:10:53 erh Exp $
|
||||
# $NetBSD: Makefile.inc,v 1.5 2000/02/22 05:26:55 erh Exp $
|
||||
# $OpenBSD: $
|
||||
# $FreeBSD: $
|
||||
#
|
||||
@ -37,11 +37,14 @@
|
||||
SYS != uname -s
|
||||
|
||||
.if ${SYS} == OpenBSD
|
||||
COPTS += -I${DESTDIR}/usr/include/scsi -DSESINC="<ses.h>"
|
||||
#COPTS += -I${DESTDIR}/usr/include/scsi -DSESINC="<ses.h>"
|
||||
COPTS += -DSESINC"<scsi/ses.h>"
|
||||
.elif ${SYS} == NetBSD
|
||||
COPTS += -I${DESTDIR}/usr/include/dev/scsipi -DSESINC="<ses.h>"
|
||||
#COPTS += -I${DESTDIR}/usr/include/dev/scsipi -DSESINC="<ses.h>"
|
||||
COPTS += -DSESINC="<dev/scsipi/ses.h>"
|
||||
.else
|
||||
COPTS += -I${DESTDIR}/usr/include/cam/scsi -DSESINC="<scsi_ses.h>"
|
||||
#COPTS += -I${DESTDIR}/usr/include/cam/scsi -DSESINC="<scsi_ses.h>"
|
||||
COPTS += -DSESINC="<cam/scsi/scsi_ses.h>"
|
||||
.endif
|
||||
|
||||
.if exists(${.CURDIR}/../../Makefile.inc)
|
||||
|
Loading…
Reference in New Issue
Block a user