# Makefile for the mdsio LKM
#
# $Id: Makefile,v 1.2 1997/02/05 02:58:46 msmith Exp $

.PATH:	${.CURDIR}/../../sys/i386/isa
KMOD	= mdsio_mod
SRCS	= mdsio.c mdsio.h

CFLAGS	+= -I. -DMDSIO_MODULE
CLEANFILES += mdsio.h

mdsio.h:
	echo "#define NMDSIO 1" > mdsio.h

afterinstall:
        ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
        ${.CURDIR}/mdsio ${DESTDIR}/usr/bin

.include <bsd.kmod.mk>
