Makefile.inc revision 57580
1238438Sdteske# $NetBSD: $
2238438Sdteske# $OpenBSD: $
3278489Sdteske# $FreeBSD: head/share/examples/ses/Makefile.inc 57580 2000-02-29 05:44:19Z mjacob $
4252980Sdteske#
5238438Sdteske# Copyright (c) 2000 by Matthew Jacob
6238438Sdteske# All rights reserved.
7238438Sdteske#
8238438Sdteske# Redistribution and use in source and binary forms, with or without
9238438Sdteske# modification, are permitted provided that the following conditions
10238438Sdteske# are met:
11238438Sdteske# 1. Redistributions of source code must retain the above copyright
12238438Sdteske#    notice, this list of conditions, and the following disclaimer,
13238438Sdteske#    without modification, immediately at the beginning of the file.
14238438Sdteske# 2. The name of the author may not be used to endorse or promote products
15238438Sdteske#    derived from this software without specific prior written permission.
16252987Sdteske#
17238438Sdteske# Alternatively, this software may be distributed under the terms of the
18238438Sdteske# the GNU Public License ("GPL").
19238438Sdteske#
20252987Sdteske# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
21238438Sdteske# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22238438Sdteske# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23238438Sdteske# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR
24238438Sdteske# ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25238438Sdteske# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26238438Sdteske# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27238438Sdteske# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28278489Sdteske# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29278489Sdteske# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30238438Sdteske# SUCH DAMAGE.
31278489Sdteske# 
32238438Sdteske# Matthew Jacob
33238438Sdteske# Feral Software
34238438Sdteske# mjacob@feral.com
35238438Sdteske#
36238438Sdteske
37238438SdteskeSYS	!=	uname -s
38238438Sdteske
39238438Sdteske.if ${SYS} == OpenBSD
40238438SdteskeCOPTS	+=	-I/usr/include/scsi -DSESINC="<ses.h>"
41238438Sdteske.elif	${SYS} == NetBSD
42238438SdteskeCOPTS	+=	-I/usr/include/dev/scsipi -DSESINC="<ses.h>"
43238438Sdteske.else
44238438SdteskeCOPTS	+=	-I/usr/include/cam/scsi -DSESINC="<scsi_ses.h>"
45238438Sdteske.endif
46238438SdteskeBINDIR	?=	${DESTDIR}/usr/sbin
47238438Sdteske
48238438Sdteske.PATH:	../srcs
49278489Sdteske