1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../dev/agp 4 5KMOD= agp 6SRCS= agp.c agp_if.c 7.if ${MACHINE_ARCH} == "i386" 8SRCS+= agp_i810.c agp_intel.c agp_via.c agp_sis.c agp_ali.c agp_amd.c \ 9 agp_nvidia.c agp_ati.c 10.endif 11.if ${MACHINE} == "i386" 12SRCS+= agp_amd64.c 13.endif 14.if ${MACHINE_ARCH} == "amd64" 15SRCS+= agp_amd64.c agp_i810.c 16.endif 17SRCS+= device_if.h bus_if.h agp_if.h pci_if.h 18SRCS+= opt_bus.h 19MFILES= kern/device_if.m kern/bus_if.m dev/agp/agp_if.m dev/pci/pci_if.m 20WERROR= 21 22EXPORT_SYMS= agp_find_device \ 23 agp_state \ 24 agp_acquire \ 25 agp_release \ 26 agp_enable \ 27 agp_alloc_memory \ 28 agp_free_memory \ 29 agp_bind_memory \ 30 agp_unbind_memory \ 31 agp_memory_info 32 33.include <bsd.kmod.mk> 34