#
#              Copyright 1991, Intel Corporation
#                    All rights reserved.
# Permission to use, copy, modify, and distribute this software and
# its documentation for any purpose and without fee is hereby granted,
# provided that the above copyright notice appear in all copies and
# that both the copyright notice appear in all copies and that both
# the copyright notice and this permission notice appear in
# supporting documentation, and that the name of Intel Corporation
# not be used in advertising or publicity pertaining to distribution
# of the software without specific, written prior premission.
# 
# COMPANY AND/OR INTEL DISCLAIM ALL WARRANTIES WITH REGARD TO
# THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO
# EVENT SHALL COMPANY NOR INTEL BE LIABLE FOR ANY SPECIAL,
# INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER
# RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
# ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE
# OF THIS SOFTWARE.
#

#
# Makefile for slip streams driver
#

INC = ..
CFLAGS = -O -D_KERNEL $(MORECPP) -I$(INC)
OBJS = slp.o slcompress.o

all: Driver.o

Driver.o: $(OBJS)
	cp ../sys/slp.h /usr/include/sys
	cp ../sys/slcompress.h /usr/include/sys
	$(LD) -r -o $@ $(OBJS)

clean:
	rm -rf *.o ../ID/Driver.o

install: all
	cd ../ID; cp ../io/Driver.o .
	cd ../ID; /etc/conf/bin/idinstall -d slp; /etc/conf/bin/idinstall -a -k -mnspo slp
