3 # $FreeBSD: src/share/examples/ses/Makefile.inc,v 1.1 2000/02/29 05:44:06 mjacob Exp $
4 # $DragonFly: src/share/examples/ses/Makefile.inc,v 1.2 2003/06/17 04:36:57 dillon Exp $
6 # Copyright (c) 2000 by Matthew Jacob
9 # Redistribution and use in source and binary forms, with or without
10 # modification, are permitted provided that the following conditions
12 # 1. Redistributions of source code must retain the above copyright
13 # notice, this list of conditions, and the following disclaimer,
14 # without modification, immediately at the beginning of the file.
15 # 2. The name of the author may not be used to endorse or promote products
16 # derived from this software without specific prior written permission.
18 # Alternatively, this software may be distributed under the terms of the
19 # the GNU Public License ("GPL").
21 # THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
22 # ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
23 # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
24 # ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
25 # ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
26 # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
27 # OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
28 # HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
29 # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
30 # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
41 COPTS += -I/usr/include/scsi -DSESINC="<ses.h>"
42 .elif ${SYS} == NetBSD
43 COPTS += -I/usr/include/dev/scsipi -DSESINC="<ses.h>"
45 COPTS += -I/usr/include/cam/scsi -DSESINC="<scsi_ses.h>"
47 BINDIR ?= ${DESTDIR}/usr/sbin