7cf3e8e4c3
only when gcc is being used. This is what r277225 should have been. Suggested by: dim@
30 lines
490 B
Makefile
30 lines
490 B
Makefile
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
CXGBE= ${.CURDIR}/../../../dev/cxgbe
|
|
.PATH: ${CXGBE} ${CXGBE}/common
|
|
|
|
KMOD= if_cxgbe
|
|
SRCS= bus_if.h
|
|
SRCS+= device_if.h
|
|
SRCS+= opt_inet.h
|
|
SRCS+= opt_inet6.h
|
|
SRCS+= opt_ofed.h
|
|
SRCS+= pci_if.h
|
|
SRCS+= t4_hw.c
|
|
SRCS+= t4_l2t.c
|
|
SRCS+= t4_main.c
|
|
SRCS+= t4_mp_ring.c
|
|
SRCS+= t4_netmap.c
|
|
SRCS+= t4_sge.c
|
|
SRCS+= t4_tracer.c
|
|
|
|
# Provide the timestamp of a packet in its header mbuf.
|
|
#CFLAGS+= -DT4_PKT_TIMESTAMP
|
|
|
|
CFLAGS+= -I${CXGBE}
|
|
|
|
.include <bsd.kmod.mk>
|
|
CFLAGS+= ${GCC_MS_EXTENSIONS}
|