Don't mess around in OBJDIR for includes, and remove some warnings.

This commit is contained in:
Eivind Eklund 1998-08-06 21:19:11 +00:00
parent 7609bd2b9e
commit 60175a9772
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=38148
11 changed files with 31 additions and 28 deletions

View File

@ -1,10 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.1 1998/01/22 23:32:27 ShimonR Exp ShimonR $
# $Id: Makefile,v 1.1 1998/01/26 06:20:36 julian Exp $
PROG= dpt_ctlinfo
SRCS= dpt_ctlinfo.c
CFLAGS+=-Wall -I../../../sys -I/usr/src/sys
CFLAGS+=-Wall -I${.CURDIR}/../../../sys
BINMODE=500
BINOWN= root
MAN8= dpt_ctlinfo.8

View File

@ -1,10 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.1 1998/01/22 22:07:22 ShimonR Exp ShimonR $
# $Id: Makefile,v 1.1 1998/01/26 06:20:38 julian Exp $
PROG= dpt_ctls
SRCS= dpt_ctls.c
CFLAGS+=-Wall -I../../../sys -I/usr/src/sys
CFLAGS+=-Wall -I${.CURDIR}/../../../sys
BINMODE=500
BINOWN= root
MAN8= dpt_ctls.8

View File

@ -1,10 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.4 1998/01/21 17:38:32 ShimonR Exp ShimonR $
# $Id: Makefile,v 1.1 1998/01/26 06:20:40 julian Exp $
PROG= dpt_dm
SRCS= dpt_dm.c
CFLAGS+=-Wall -I../../../sys -I/usr/src/sys
CFLAGS+=-Wall -I${.CURDIR}/../../../sys
BINMODE=500
BINOWN= root
MAN8= dpt_dm.8

View File

@ -1,10 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.1 1998/01/23 02:45:53 ShimonR Exp ShimonR $
# $Id: Makefile,v 1.1 1998/01/26 06:26:40 julian Exp $
PROG= dpt_led
SRCS= dpt_led.c
CFLAGS+=-Wall -I../../../sys -I/usr/src/sys
CFLAGS+=-Wall -I${.CURDIR}/../../../sys
BINMODE=500
BINOWN= root
MAN8= dpt_led.8

View File

@ -30,7 +30,7 @@
/* dpt_led.c: Show the blinking LED array status of a DPT HBAs */
#ident "$Id: dpt_led.c,v 1.1 1998/01/23 02:45:53 ShimonR Exp ShimonR $"
#ident "$Id: dpt_led.c,v 1.1 1998/01/26 06:26:41 julian Exp $"
#include <fcntl.h>
#include <stdio.h>
@ -69,9 +69,10 @@ main(int argc, char **argv, char **argp)
pass_thru.command_buffer = (u_int8_t *)&led;
if ( (result = ioctl(fd, DPT_IOCTL_SEND, &pass_thru)) != 0 ) {
(void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %x - %s\n",
argv[0], DPT_IOCTL_SEND,
strerror(errno));
(void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %lx "
"- %s\n",
argv[0], DPT_IOCTL_SEND,
strerror(errno));
exit(1);
}

View File

@ -1,10 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.4 1998/01/21 17:41:39 ShimonR Exp $
# $Id: Makefile,v 1.1 1998/01/26 06:20:44 julian Exp $
PROG= dpt_sig
SRCS= dpt_sig.c
CFLAGS+=-Wall -I../../../sys -I/usr/src/sys
CFLAGS+=-Wall -I${.CURDIR}/../../../sys
BINMODE=500
BINOWN= root
MAN8= dpt_sig.8

View File

@ -30,7 +30,7 @@
/* dpt_sig.c: Dunp a DPT Signature */
#ident "$Id: dpt_sig.c,v 1.6 1998/01/22 22:06:30 ShimonR Exp ShimonR $"
#ident "$Id: dpt_sig.c,v 1.1 1998/01/26 06:20:45 julian Exp $"
#include <fcntl.h>
#include <stdio.h>
@ -164,8 +164,9 @@ main(int argc, char **argv, char **argp)
sp2 = "Unknown";
if ( (fd = open(argv[1], O_RDWR, S_IRUSR | S_IWUSR)) == -1 ) {
(void)fprintf(stderr, "%s ERROR: Failed to open \"%s\" - %s\n",
argv[0], argv[1], strerror(errno));
(void)fprintf(stderr, "%s ERROR: Failed to open \"%s\" "
"- %s\n",
argv[0], argv[1], strerror(errno));
exit(1);
}
@ -177,9 +178,10 @@ main(int argc, char **argv, char **argp)
pass_thru.command_buffer = (u_int8_t *)&signature;
if ( (result = ioctl(fd, DPT_IOCTL_SEND, &pass_thru)) != 0 ) {
(void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %x - %s\n",
argv[0], DPT_IOCTL_SEND,
strerror(errno));
(void)fprintf(stderr, "%s ERROR: Failed to send IOCTL "
"%lx - %s\n",
argv[0], DPT_IOCTL_SEND,
strerror(errno));
exit(1);
}

View File

@ -1,10 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.3 1998/01/21 07:50:38 ShimonR Exp ShimonR $
# $Id: Makefile,v 1.1 1998/01/26 06:20:46 julian Exp $
PROG= dpt_softc
SRCS= dpt_softc.c
CFLAGS+=-Wall -I../../../sys -I/usr/src/sys
CFLAGS+=-Wall -I${.CURDIR}/../../../sys
BINMODE=500
BINOWN= root
MAN8= dpt_softc.8

View File

@ -30,7 +30,7 @@
/* dpt_softc.c: Dunp a DPT control structure */
#ident "$Id: dpt_softc.c,v 1.7 1998/01/22 21:37:40 ShimonR Exp $"
#ident "$Id: dpt_softc.c,v 1.1 1998/01/26 06:20:46 julian Exp $"
#include <stdlib.h>
#include <fcntl.h>
@ -108,7 +108,7 @@ main(int argc, char **argv, char **argp)
}
if ( (result = ioctl(fd, DPT_IOCTL_SOFTC, &udpt)) != 0 ) {
(void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %x - %s\n",
(void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %lx - %s\n",
argv[0], DPT_IOCTL_SOFTC,
strerror(errno));
exit(2);

View File

@ -1,10 +1,10 @@
# @(#)Makefile 8.1 (Berkeley) 5/31/93
# $Id: Makefile,v 1.1 1998/01/22 23:32:27 ShimonR Exp ShimonR $
# $Id: Makefile,v 1.1 1998/01/26 06:20:47 julian Exp $
PROG= dpt_sysinfo
SRCS= dpt_sysinfo.c
CFLAGS+=-Wall -I../../../sys -I/usr/src/sys
CFLAGS+=-Wall -I${.CURDIR}/../../../sys
BINMODE=500
BINOWN= root
MAN8= dpt_sysinfo.8

View File

@ -30,7 +30,7 @@
/* dpt_ctlinfo.c: Dunp a DPT HBA Information Block */
#ident "$Id: dpt_ctlinfo.c,v 1.1 1998/01/22 23:32:27 ShimonR Exp ShimonR $"
#ident "$Id: dpt_sysinfo.c,v 1.1 1998/01/26 06:20:48 julian Exp $"
#include <fcntl.h>
#include <stdio.h>
@ -73,7 +73,7 @@ main(int argc, char **argv, char **argp)
pass_thru.command_buffer = (u_int8_t *)&sysinfo;
if ( (result = ioctl(fd, DPT_IOCTL_SEND, &pass_thru)) != 0 ) {
(void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %x - %s\n",
(void)fprintf(stderr, "%s ERROR: Failed to send IOCTL %lx - %s\n",
argv[0], DPT_IOCTL_SEND,
strerror(errno));
exit(1);