1.PATH: ${SRCTOP}/sys/dev/agp 2 3KMOD= agp 4SRCS= agp.c agp_if.c 5.if ${MACHINE_CPUARCH} == "i386" 6SRCS+= agp_i810.c agp_intel.c agp_via.c agp_sis.c agp_ali.c agp_amd.c \ 7 agp_nvidia.c agp_ati.c 8.endif 9.if ${MACHINE} == "i386" 10SRCS+= agp_amd64.c 11.endif 12.if ${MACHINE_CPUARCH} == "amd64" 13SRCS+= agp_amd64.c agp_i810.c agp_via.c 14.endif 15.if ${MACHINE_CPUARCH} == "powerpc" 16SRCS+= agp_apple.c 17.endif 18SRCS+= device_if.h bus_if.h agp_if.h pci_if.h 19SRCS+= opt_agp.h 20 21EXPORT_SYMS= agp_find_device \ 22 agp_state \ 23 agp_acquire \ 24 agp_release \ 25 agp_enable \ 26 agp_alloc_memory \ 27 agp_free_memory \ 28 agp_bind_memory \ 29 agp_unbind_memory \ 30 agp_memory_info 31 32 33.if ${MACHINE_CPUARCH} == "i386" || ${MACHINE_CPUARCH} == "amd64" 34EXPORT_SYMS+= intel_gtt_clear_range \ 35 intel_gtt_insert_pages \ 36 intel_gtt_install_pte \ 37 intel_gtt_get \ 38 intel_gtt_chipset_flush \ 39 intel_gtt_unmap_memory \ 40 intel_gtt_map_memory \ 41 intel_gtt_insert_sg_entries \ 42 intel_gtt_get_bridge_device 43.endif 44 45.include <bsd.kmod.mk> 46