Deleted Added
full compact
Makefile.inc (133651) Makefile.inc (153291)
1# $NetBSD: $
2# $OpenBSD: $
3# $FreeBSD: head/share/examples/ses/Makefile.inc 133651 2004-08-13 14:19:12Z ru $
1# $FreeBSD: head/share/examples/ses/Makefile.inc 153291 2005-12-10 12:09:54Z ru $
4#
5# Copyright (c) 2000 by Matthew Jacob
6# All rights reserved.
7#
8# Redistribution and use in source and binary forms, with or without
9# modification, are permitted provided that the following conditions
10# are met:
11# 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

29# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30# SUCH DAMAGE.
31#
32# Matthew Jacob
33# Feral Software
34# mjacob@feral.com
35#
36
2#
3# Copyright (c) 2000 by Matthew Jacob
4# All rights reserved.
5#
6# Redistribution and use in source and binary forms, with or without
7# modification, are permitted provided that the following conditions
8# are met:
9# 1. Redistributions of source code must retain the above copyright

--- 17 unchanged lines hidden (view full) ---

27# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28# SUCH DAMAGE.
29#
30# Matthew Jacob
31# Feral Software
32# mjacob@feral.com
33#
34
37SYS != uname -s
35CFLAGS+= -I/usr/include/cam/scsi -DSESINC="<scsi_ses.h>"
36BINDIR?= /usr/sbin
38
37
39.if ${SYS} == OpenBSD
40COPTS += -I/usr/include/scsi -DSESINC="<ses.h>"
41.elif ${SYS} == NetBSD
42COPTS += -I/usr/include/dev/scsipi -DSESINC="<ses.h>"
43.else
44CFLAGS += -I/usr/include/cam/scsi -DSESINC="<scsi_ses.h>"
45.endif
46BINDIR ?= /usr/sbin
38CLEANFILES+= ${MAN}
47
39
48.PATH: ../srcs
40.SUFFIXES: .0 .8
41.0.8:
42 cat ${.IMPSRC} > ${.TARGET}