freebsd-dev/sys/modules/bxe/Makefile
Marcel Moolenaar 0327754b52 Avoid using ${.CURDIR} so that the module can be built from multiple
directories.

Obtained from:	Juniper Networks, Inc.
2014-07-26 17:24:58 +00:00

27 lines
544 B
Makefile

# $FreeBSD$
SYSDIR ?= ${.CURDIR}/../..
BXE = ${SYSDIR}/dev/bxe
.PATH: ${BXE}
KMOD = if_bxe
SRCS = device_if.h bus_if.h pci_if.h
SRCS += bxe.c \
bxe_stats.c \
bxe_debug.c \
bxe_elink.c \
ecore_sp.c \
57710_init_values.c \
57711_init_values.c \
57712_init_values.c
CFLAGS += -I${BXE}
clean:
rm -f opt_bdg.h device_if.h bus_if.h pci_if.h export_syms
rm -f *.o *.kld *.ko
rm -f @ machine x86
.include <bsd.kmod.mk>