1999-08-27 19:45:19 +00:00
|
|
|
# $Id: Makefile,v 1.1 1999/08/21 17:40:39 wpaul Exp $
|
1999-08-21 17:40:53 +00:00
|
|
|
|
|
|
|
S = ${.CURDIR}/../..
|
|
|
|
.PATH: $S/dev/mii
|
|
|
|
KMOD = mii
|
|
|
|
SRCS = mii.c mii_physubr.c ukphy.c ukphy_subr.c bus_if.h
|
|
|
|
SRCS += miibus_if.h device_if.h miibus_if.c exphy.c nsphy.c
|
1999-08-27 19:45:19 +00:00
|
|
|
SRCS += mlphy.c tlphy.c
|
1999-08-21 17:40:53 +00:00
|
|
|
CLEANFILES += device_if.h bus_if.h miibus_if.h miibus_if.c
|
|
|
|
CFLAGS += ${DEBUG_FLAGS}
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
miibus_if.h: $S/kern/makedevops.pl $S/dev/mii/miibus_if.m
|
|
|
|
perl $S/kern/makedevops.pl -h $S/dev/mii/miibus_if.m
|
|
|
|
|
|
|
|
miibus_if.c: $S/kern/makedevops.pl $S/dev/mii/miibus_if.m
|
|
|
|
perl $S/kern/makedevops.pl -c $S/dev/mii/miibus_if.m
|
|
|
|
|
|
|
|
.include <bsd.kmod.mk>
|