xref: /haiku/src/add-ons/kernel/drivers/network/ether/broadcom570x/Jamfile (revision 4c8e85b316c35a9161f5a1c50ad70bc91c83a76f)
1SubDir HAIKU_TOP src add-ons kernel drivers network ether broadcom570x ;
2
3UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ]
4	: true ;
5UsePrivateHeaders net system ;
6UsePrivateKernelHeaders ;
7
8SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 _XOPEN_SOURCE ] ;
9
10UseHeaders [ FDirName $(SUBDIR) ] : true ;
11
12SEARCH_SOURCE += [ FDirName $(SUBDIR) dev mii ] ;
13SEARCH_SOURCE += [ FDirName $(SUBDIR) dev bce ] ;
14SEARCH_SOURCE += [ FDirName $(SUBDIR) dev bge ] ;
15
16KernelAddon broadcom570x :
17	glue.c
18	brgphy.c
19	ukphy.c
20	ukphy_subr.c
21	if_bge.c
22	: libfreebsd_network.a
23	;
24
25ObjectHdrs [ FGristFiles brgphy$(SUFOBJ) ukphy$(SUFOBJ) if_bge$(SUFOBJ) ]
26	: [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) libs compat freebsd_network ] ;
27Includes [ FGristFiles brgphy.c ukphy.c if_bge.c ] : <src!libs!compat!freebsd_network>miidevs.h ;
28