Add a module Makefile for the PNIC driver.
This commit is contained in:
parent
90f300bfb1
commit
74432d0d13
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=49143
@ -1,10 +1,10 @@
|
|||||||
# $Id: Makefile,v 1.67 1999/07/24 20:55:04 wpaul Exp $
|
# $Id: Makefile,v 1.68 1999/07/25 04:32:37 wpaul Exp $
|
||||||
|
|
||||||
# XXX present but broken: atapi ip_mroute_mod joy pcic
|
# XXX present but broken: atapi ip_mroute_mod joy pcic
|
||||||
|
|
||||||
SUBDIR= ax ccd cd9660 coda fdesc fxp if_disc if_ppp if_sl if_tun ipfw \
|
SUBDIR= ax ccd cd9660 coda fdesc fxp if_disc if_ppp if_sl if_tun ipfw \
|
||||||
kernfs mfs msdos mx nfs ntfs nullfs portal procfs sf sk ti tl \
|
kernfs mfs msdos mx nfs ntfs nullfs pn portal procfs sf sk ti \
|
||||||
umapfs union vn xl
|
tl umapfs union vn xl
|
||||||
|
|
||||||
# XXX some of these can move to the general case when de-i386'ed
|
# XXX some of these can move to the general case when de-i386'ed
|
||||||
.if ${MACHINE_ARCH} == "i386"
|
.if ${MACHINE_ARCH} == "i386"
|
||||||
|
28
sys/modules/pn/Makefile
Normal file
28
sys/modules/pn/Makefile
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
# $Id: Makefile,v 1.1 1999/07/24 20:55:05 wpaul Exp $
|
||||||
|
|
||||||
|
S = ${.CURDIR}/../..
|
||||||
|
.PATH: $S/pci
|
||||||
|
KMOD = pn
|
||||||
|
SRCS = if_pn.c pn.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
|
||||||
|
CLEANFILES += pn.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
|
||||||
|
CFLAGS += ${DEBUG_FLAGS}
|
||||||
|
|
||||||
|
pn.h:
|
||||||
|
echo "#define NFXP 1" > pn.h
|
||||||
|
|
||||||
|
bpf.h:
|
||||||
|
echo "#define NBPF 1" > bpf.h
|
||||||
|
|
||||||
|
opt_bdg.h:
|
||||||
|
touch opt_bdg.h
|
||||||
|
|
||||||
|
device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m
|
||||||
|
perl $S/kern/makedevops.pl -h $S/kern/device_if.m
|
||||||
|
|
||||||
|
bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m
|
||||||
|
perl $S/kern/makedevops.pl -h $S/kern/bus_if.m
|
||||||
|
|
||||||
|
pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m
|
||||||
|
perl $S/kern/makedevops.pl -h $S/pci/pci_if.m
|
||||||
|
|
||||||
|
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user