head	1.16;
access;
symbols
	RELENG_3_5_0_RELEASE:1.12.2.1
	RELENG_3_4_0_RELEASE:1.12.2.1
	RELENG_3_3_0_RELEASE:1.12.2.1
	RELENG_3_2_PAO:1.12.0.4
	RELENG_3_2_PAO_BP:1.12
	RELENG_3_2_0_RELEASE:1.12
	POST_VFS_BIO_NFS_PATCH:1.12
	PRE_VFS_BIO_NFS_PATCH:1.12
	POST_SMP_VMSHARE:1.12
	PRE_SMP_VMSHARE:1.12
	POST_NEWBUS:1.12
	PRE_NEWBUS:1.12
	RELENG_3_1_0_RELEASE:1.12
	RELENG_3:1.12.0.2
	RELENG_3_BP:1.12
	RELENG_3_0_0_RELEASE:1.12
	old_RELENG_2_2_7_RELEASE:1.6.2.2
	old_RELENG_2_2_6_RELEASE:1.6.2.2
	old_RELENG_2_2_5_RELEASE:1.6.2.1
	old_RELENG_2_2_2_RELEASE:1.6
	old_RELENG_2_2_1_RELEASE:1.6
	old_RELENG_2_2_0_RELEASE:1.6
	old_RELENG_2_2:1.6.0.2
	old_RELENG_2_2_BP:1.6;
locks; strict;
comment	@# @;


1.16
date	99.12.12.20.35.47;	author peter;	state dead;
branches;
next	1.15;

1.15
date	99.11.28.18.52.37;	author bde;	state Exp;
branches;
next	1.14;

1.14
date	99.09.06.20.11.59;	author n_hibma;	state Exp;
branches;
next	1.13;

1.13
date	99.08.28.00.47.05;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	98.10.16.04.30.42;	author peter;	state Exp;
branches
	1.12.2.1;
next	1.11;

1.11
date	98.02.25.01.40.54;	author bde;	state Exp;
branches;
next	1.10;

1.10
date	98.02.01.17.53.53;	author bde;	state Exp;
branches;
next	1.9;

1.9
date	97.08.07.13.23.31;	author bde;	state Exp;
branches;
next	1.8;

1.8
date	97.02.22.12.47.39;	author peter;	state Exp;
branches;
next	1.7;

1.7
date	97.01.14.06.21.39;	author jkh;	state Exp;
branches;
next	1.6;

1.6
date	96.10.06.22.16.44;	author wosch;	state Exp;
branches
	1.6.2.1;
next	1.5;

1.5
date	96.09.06.23.32.54;	author pst;	state Exp;
branches;
next	1.4;

1.4
date	96.06.23.14.58.08;	author bde;	state Exp;
branches;
next	1.3;

1.3
date	96.05.07.23.19.28;	author wosch;	state Exp;
branches;
next	1.2;

1.2
date	95.10.28.17.46.58;	author peter;	state Exp;
branches;
next	1.1;

1.1
date	95.10.14.15.47.21;	author davidg;	state Exp;
branches;
next	;

1.6.2.1
date	97.08.11.18.35.08;	author asami;	state Exp;
branches;
next	1.6.2.2;

1.6.2.2
date	98.03.06.05.26.28;	author jkh;	state Exp;
branches;
next	;

1.12.2.1
date	99.08.29.16.27.05;	author peter;	state Exp;
branches;
next	;


desc
@@


1.16
log
@Change "atapi" (the old one) from "present but broken" to "not present".
@
text
@# $FreeBSD: src/sys/modules/atapi/Makefile,v 1.15 1999/11/28 18:52:37 bde Exp $

.PATH:          ${.CURDIR}/../../i386/isa
KMOD            = atapi
SRCS            = atapi.c wdc.h opt_atapi.h #wcd.h 
NOMAN           =
CFLAGS         += -DATAPI_MODULE
CLEANFILES      = wcd.h wdc.h
EXPORT_SYMS	= _atapi_mod _atapi_debug_ptr _atapi_intr_ptr \
		  _atapi_request_callback_ptr _atapi_request_immediate_ptr \
		  _atapi_request_wait_ptr _atapi_start_ptr

MODLOAD		= /sbin/modload
MODUNLOAD	= /sbin/modunload

load:           ${PROG}
		${MODLOAD} -u -e atapi_mod $(PROG)

unload:         ${PROG}
		${MODUNLOAD} -n atapi

wdc.h:
		echo "#define NWDC 2" > wdc.h

#		echo "#define NWD 4" >> wdc.h

wcd.h:
		echo "#define NWCD 1" > wcd.h

opt_atapi.h:
		echo "#define ATAPI 1"> opt_atapi.h

.include <bsd.kmod.mk>
@


1.15
log
@Removed special rules for building and cleaning device interface files
and empty options files.  The rules are now generated automatically in
bsd.kmod.mk.  Cleaned up related things ($S and ${CLEANFILES}).
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/atapi/Makefile,v 1.14 1999/09/06 20:11:59 n_hibma Exp $
@


1.14
log
@1) s/mod(un)?load/kld$1load/

2) s/MODLOAD/KMODLOAD/ to be consistent with the rest of the variables
(KMOD, KMODOWN, KMODGRP, etc) and definition of MODLOAD/UNLOAD in the
Makefile of the ATAPI module

3) textual fixups
@
text
@d1 1
a1 1
# $FreeBSD: src/sys/modules/atapi/Makefile,v 1.13 1999/08/28 00:47:05 peter Exp $
d8 1
a8 1
CLEANFILES     += wdc.h wcd.h opt_atapi.h
@


1.13
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
d12 3
@


1.12
log
@Sample initial set of kld-ified modules.  Not all have been completely
converted yet.  These are more of a starting point.  This is NOT connected
to the parent Makefile.

OK'ed by jkh (who is ever so patiently waiting)
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.11 1998/02/25 01:40:54 bde Exp $
@


1.12.2.1
log
@$Id$ -> $FreeBSD$
@
text
@d1 1
a1 1
# $FreeBSD$
@


1.11
log
@Don't add files handled by bsd.kmod.mk to CLEANFILES.  Don't add never-
generated files to CLEANFILES.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.10 1998/02/01 17:53:53 bde Exp $
d3 2
a4 2
.PATH:          ${.CURDIR}/../../sys/i386/isa
KMOD            = atapi_mod
@


1.10
log
@Don't handle the `machine' symlink or related include paths here.
bsd.kmod.mk now handles it more generally.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.9 1997/08/07 13:23:31 bde Exp $
d8 1
a8 1
CLEANFILES     += $(KMOD) wdc.h wcd.h opt_atapi.h *.b
@


1.9
log
@Don't use /sys.
Submitted by:	Jeremy Lea <reg@@shale.csir.co.za>
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.8 1997/02/22 12:47:39 peter Exp $
d7 2
a8 3
CFLAGS         += -nostdinc -I. -DATAPI_MODULE
CLEANFILES     += $(KMOD) machine wdc.h wcd.h opt_atapi.h *.b
LN              = ln -f -s
a28 5

.c.o:
		-@@$(LN) ${.CURDIR}/../../sys/i386/include machine
		$(CC) $(CFLAGS) -c $<
		-@@rm -f machine
@


1.8
log
@Revert $FreeBSD$ back to $Id$
@
text
@d1 1
a1 1
#	$Id$
d32 1
a32 1
		-@@$(LN) /sys/i386/include machine
@


1.7
log
@Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
@
text
@d1 1
a1 1
#	$FreeBSD$
@


1.6
log
@delete unused variable BINDIR, use new variable MODLOAD/MODUNLOAD
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.5 1996/09/06 23:32:54 pst Exp $
@


1.6.2.1
log
@Merge "don't use /sys" from -current.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6 1996/10/06 22:16:44 wosch Exp $
d32 1
a32 1
		-@@$(LN) ${.CURDIR}/../../sys/i386/include machine
@


1.6.2.2
log
@MFC: primarily do-nothing commits just to facilitate future merging.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.6.2.1 1997/08/11 18:35:08 asami Exp $
d7 3
a9 2
CFLAGS         += -I. -DATAPI_MODULE
CLEANFILES     += $(KMOD) wdc.h wcd.h opt_atapi.h *.b
d30 5
@


1.5
log
@Bannish ATAPI and ATAPI_STATIC #defines to opt_atapi.h.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.4 1996/06/23 14:58:08 bde Exp $
a6 1
BINDIR          = /lkm
d15 1
a15 1
		/sbin/modload -u -e atapi_mod $(PROG)
d18 1
a18 1
		/sbin/modunload -n atapi
@


1.4
log
@Don't add -I/sys to CFLAGS.  bsd.kmod.mk adds the correct (relative)
path.
@
text
@d1 1
a1 1
#	$Id: Makefile,v 1.3 1996/05/07 23:19:28 wosch Exp $
d5 1
a5 1
SRCS            = atapi.c wdc.h #wcd.h
d8 2
a9 2
CFLAGS         += -nostdinc -I. -DATAPI -DATAPI_MODULE
CLEANFILES     += $(KMOD) machine wdc.h wcd.h *.b
d28 3
@


1.3
log
@``mv'' -> ``mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
@
text
@d1 1
a1 1
#	$Id: $
d8 1
a8 1
CFLAGS         += -nostdinc -I. -I/sys -DATAPI -DATAPI_MODULE
@


1.2
log
@Add extra export symbols for the ATAPI generic interface.
And a couple of minor fiddles in the process..
@
text
@d1 2
d32 1
a32 1
		-@@rm machine
@


1.1
log
@atapi and wcd LKMs.

Submitted by:	Serge Vakulenko, <vak@@cronyx.ru>
@
text
@d3 1
a3 1
SRCS            = atapi.c wdc.h wcd.h
d9 3
d14 1
a14 1
		/sbin/modload -u -e atapi $(PROG)
d21 2
a22 1
		echo "#define NWD 4" >> wdc.h
@
