Merge from vendor branch NTPD:
[dragonfly.git] / share / examples / ses / Makefile.inc
1 # $NetBSD: $
2 # $OpenBSD: $
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 $
5 #
6 # Copyright (c) 2000 by Matthew Jacob
7 # All rights reserved.
8 #
9 # Redistribution and use in source and binary forms, with or without
10 # modification, are permitted provided that the following conditions
11 # are met:
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.
17 #
18 # Alternatively, this software may be distributed under the terms of the
19 # the GNU Public License ("GPL").
20 #
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
31 # SUCH DAMAGE.
32
33 # Matthew Jacob
34 # Feral Software
35 # mjacob@feral.com
36 #
37
38 SYS     !=      uname -s
39
40 .if ${SYS} == OpenBSD
41 COPTS   +=      -I/usr/include/scsi -DSESINC="<ses.h>"
42 .elif   ${SYS} == NetBSD
43 COPTS   +=      -I/usr/include/dev/scsipi -DSESINC="<ses.h>"
44 .else
45 COPTS   +=      -I/usr/include/cam/scsi -DSESINC="<scsi_ses.h>"
46 .endif
47 BINDIR  ?=      ${DESTDIR}/usr/sbin
48
49 .PATH:  ../srcs