summaryrefslogtreecommitdiffstats
path: root/sys/modules/sfxge/Makefile
blob: c627a574159682a5c370aa474620e80746a8138b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# $FreeBSD$

.include <bsd.own.mk>

KMOD=	sfxge

SFXGE= ${.CURDIR}/../../dev/sfxge

SRCS=	device_if.h bus_if.h pci_if.h
SRCS+=	opt_inet.h opt_inet6.h opt_sched.h

.PATH: ${.CURDIR}/../../dev/sfxge
SRCS+=	sfxge.c sfxge_dma.c sfxge_ev.c
SRCS+=	sfxge_intr.c sfxge_mcdi.c
SRCS+=	sfxge_port.c sfxge_rx.c sfxge_tx.c
SRCS+=	sfxge.h sfxge_rx.h sfxge_tx.h sfxge_version.h

.PATH: ${.CURDIR}/../../dev/sfxge/common
SRCS+=	efx_ev.c efx_intr.c efx_mac.c efx_mcdi.c efx_nic.c
SRCS+=	efx_nvram.c efx_phy.c efx_port.c efx_rx.c efx_sram.c efx_tx.c
SRCS+=	efx_vpd.c efx_wol.c
SRCS+=	efsys.h
SRCS+=	efx.h efx_impl.h efx_mcdi.h efx_regs.h efx_regs_ef10.h
SRCS+=	efx_regs_mcdi.h efx_regs_pci.h efx_types.h

SRCS+=	siena_mac.c siena_nic.c siena_nvram.c siena_phy.c
SRCS+=	siena_sram.c siena_vpd.c
SRCS+=	siena_flash.h siena_impl.h

DEBUG_FLAGS= -DDEBUG=1

.if !defined(KERNBUILDDIR)
.if ${MK_INET_SUPPORT} != "no"
opt_inet.h:
	@echo "#define INET 1" > ${.TARGET}
.endif

.if ${MK_INET6_SUPPORT} != "no"
opt_inet6.h:
	@echo "#define INET6 1" > ${.TARGET}
.endif
.endif

.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud