diff options
Diffstat (limited to 'share/examples/ses')
-rw-r--r-- | share/examples/ses/Makefile.inc | 18 | ||||
-rw-r--r-- | share/examples/ses/getencstat/Makefile | 9 | ||||
-rw-r--r-- | share/examples/ses/sesd/Makefile | 9 | ||||
-rw-r--r-- | share/examples/ses/setencstat/Makefile | 9 | ||||
-rw-r--r-- | share/examples/ses/setobjstat/Makefile | 9 |
5 files changed, 26 insertions, 28 deletions
diff --git a/share/examples/ses/Makefile.inc b/share/examples/ses/Makefile.inc index abea2c8..5ff1cd4 100644 --- a/share/examples/ses/Makefile.inc +++ b/share/examples/ses/Makefile.inc @@ -1,5 +1,3 @@ -# $NetBSD: $ -# $OpenBSD: $ # $FreeBSD$ # # Copyright (c) 2000 by Matthew Jacob @@ -34,15 +32,11 @@ # mjacob@feral.com # -SYS != uname -s +CFLAGS+= -I/usr/include/cam/scsi -DSESINC="<scsi_ses.h>" +BINDIR?= /usr/sbin -.if ${SYS} == OpenBSD -COPTS += -I/usr/include/scsi -DSESINC="<ses.h>" -.elif ${SYS} == NetBSD -COPTS += -I/usr/include/dev/scsipi -DSESINC="<ses.h>" -.else -CFLAGS += -I/usr/include/cam/scsi -DSESINC="<scsi_ses.h>" -.endif -BINDIR ?= /usr/sbin +CLEANFILES+= ${MAN} -.PATH: ../srcs +.SUFFIXES: .0 .8 +.0.8: + cat ${.IMPSRC} > ${.TARGET} diff --git a/share/examples/ses/getencstat/Makefile b/share/examples/ses/getencstat/Makefile index 076cbc3..79141b6 100644 --- a/share/examples/ses/getencstat/Makefile +++ b/share/examples/ses/getencstat/Makefile @@ -32,9 +32,10 @@ # mjacob@feral.com # -MAN8 = getencstat.0 -SRCS = getencstat.c eltsub.c -PROG = getencstat -VPATH = ${.CURDIR}/../srcs +.PATH: ${.CURDIR}/../srcs + +PROG= getencstat +SRCS= getencstat.c eltsub.c +MAN= getencstat.8 .include <bsd.prog.mk> diff --git a/share/examples/ses/sesd/Makefile b/share/examples/ses/sesd/Makefile index 0e44ce3..99a3b92 100644 --- a/share/examples/ses/sesd/Makefile +++ b/share/examples/ses/sesd/Makefile @@ -32,9 +32,10 @@ # mjacob@feral.com # -MAN8 = sesd.0 -SRCS = sesd.c eltsub.c -PROG = sesd -VPATH = ${.CURDIR}/../srcs +.PATH: ${.CURDIR}/../srcs + +PROG= sesd +SRCS= sesd.c eltsub.c +MAN= sesd.8 .include <bsd.prog.mk> diff --git a/share/examples/ses/setencstat/Makefile b/share/examples/ses/setencstat/Makefile index ece2014..bdf4e4d 100644 --- a/share/examples/ses/setencstat/Makefile +++ b/share/examples/ses/setencstat/Makefile @@ -32,9 +32,10 @@ # mjacob@feral.com # -MAN8 = setencstat.0 -SRCS = setencstat.c eltsub.c -PROG = setencstat -VPATH = ${.CURDIR}/../srcs +.PATH: ${.CURDIR}/../srcs + +PROG= setencstat +SRCS= setencstat.c eltsub.c +MAN= setencstat.8 .include <bsd.prog.mk> diff --git a/share/examples/ses/setobjstat/Makefile b/share/examples/ses/setobjstat/Makefile index a54b4fc..4a223b4 100644 --- a/share/examples/ses/setobjstat/Makefile +++ b/share/examples/ses/setobjstat/Makefile @@ -32,9 +32,10 @@ # mjacob@feral.com # -MAN8 = setobjstat.0 -SRCS = setobjstat.c eltsub.c -PROG = setobjstat -VPATH = ${.CURDIR}/../srcs +.PATH: ${.CURDIR}/../srcs + +PROG= setobjstat +SRCS= setobjstat.c eltsub.c +MAN= setobjstat.8 .include <bsd.prog.mk> |