1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-21 11:13:30 +00:00
freebsd/sys/modules/agp/Makefile
Eric Anholt 05d1e23aa7 Split the arch-specific AGP files into the appropriate files.* and do the same
for the agp module, and add agp to the list of modules to compile for alpha.
Add an alpha_mb() to agp_flush_cache for alpha -- it's not correct but may
improve the situation, and it's what linux and NetBSD do.
2003-02-14 06:33:52 +00:00

29 lines
603 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../pci
KMOD= agp
SRCS= agp.c agp_if.c
.if ${MACHINE_ARCH} == "i386"
SRCS+= agp_i810.c agp_intel.c agp_via.c agp_sis.c agp_ali.c agp_amd.c
.endif
.if ${MACHINE_ARCH} == "alpha"
SRCS+= agp_amd.c
.endif
SRCS+= device_if.h bus_if.h agp_if.h pci_if.h
SRCS+= opt_bdg.h opt_bus.h
MFILES= kern/device_if.m kern/bus_if.m pci/agp_if.m dev/pci/pci_if.m
EXPORT_SYMS= agp_find_device \
agp_state \
agp_acquire \
agp_release \
agp_enable \
agp_alloc_memory \
agp_free_memory \
agp_bind_memory \
agp_unbind_memory \
agp_memory_info
.include <bsd.kmod.mk>