1#ident @(#)rules.drv	1.8 08/12/27
2###########################################################################
3# Written 1996 by J. Schilling
4###########################################################################
5#
6# Rules for loadable drivers
7#
8###########################################################################
9# Copyright (c) J. Schilling
10###########################################################################
11# The contents of this file are subject to the terms of the
12# Common Development and Distribution License, Version 1.0 only
13# (the "License").  You may not use this file except in compliance
14# with the License.
15#
16# See the file CDDL.Schily.txt in this distribution for details.
17# A copy of the CDDL is also available via the Internet at
18# http://www.opensource.org/licenses/cddl1.txt
19#
20# When distributing Covered Code, include this CDDL HEADER in each
21# file and include the License file CDDL.Schily.txt from this distribution.
22###########################################################################
23include		$(SRCROOT)/$(RULESDIR)/rules.obj
24###########################################################################
25
26_INSMODEI=	$(_UNIQ)$(INSMODE)
27__INSMODEI=	$(_INSMODEI:$(_UNIQ)=$(INSMODEX))
28INSMODEI=	$(__INSMODEI:$(_UNIQ)%=%)
29
30all:		$(PTARGET)
31
32$(PTARGET):	$(OFILES) $(SRCLIBS)
33		$(LD) -r -o $@ $(POFILES) $(SRCLIBS) $(LIBS)
34
35INSBASE=	$(INS_KBASE:%/=%)
36CPPOPTS +=	$(KDEFINES)
37###########################################################################
38include		$(SRCROOT)/$(RULESDIR)/sub.htm
39include		$(SRCROOT)/$(RULESDIR)/rules.clr
40include		$(SRCROOT)/$(RULESDIR)/rules.ins
41include		$(SRCROOT)/$(RULESDIR)/rules.tag
42include		$(SRCROOT)/$(RULESDIR)/rules.hlp
43include		$(SRCROOT)/$(RULESDIR)/rules.dep
44###########################################################################
45