1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../dev/agp 4 5KMOD= agp 6SRCS= agp.c agp_if.c 7.if ${MACHINE_CPUARCH} == "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_CPUARCH} == "amd64" 15SRCS+= agp_amd64.c agp_i810.c agp_via.c 16.endif 17.if ${MACHINE_CPUARCH} == "powerpc" 18SRCS+= agp_apple.c 19.endif 20SRCS+= device_if.h bus_if.h agp_if.h pci_if.h 21SRCS+= opt_agp.h opt_bus.h 22MFILES= kern/device_if.m kern/bus_if.m dev/agp/agp_if.m dev/pci/pci_if.m 23WERROR= 24 25EXPORT_SYMS= agp_find_device \ 26 agp_state \ 27 agp_acquire \ 28 agp_release \ 29 agp_enable \ 30 agp_alloc_memory \ 31 agp_free_memory \ 32 agp_bind_memory \ 33 agp_unbind_memory \ 34 agp_memory_info 35 36.include <bsd.kmod.mk> 37