1# $FreeBSD$ 2 3S = ${.CURDIR}/../.. 4.PATH: $S/dev/mlx 5KMOD = mlx 6SRCS = mlx.c mlx_pci.c mlx_disk.c device_if.h bus_if.h pci_if.h 7CLEANFILES += mlx.h device_if.h bus_if.h pci_if.h 8CFLAGS += ${DEBUG_FLAGS} 9 10mlx.h: 11 echo "#define NMLX 1" > mlx.h 12 13device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m 14 perl $S/kern/makedevops.pl -h $S/kern/device_if.m 15 16bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m 17 perl $S/kern/makedevops.pl -h $S/kern/bus_if.m 18 19pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m 20 perl $S/kern/makedevops.pl -h $S/pci/pci_if.m 21 22.include <bsd.kmod.mk> 23