xref: /haiku/src/add-ons/kernel/drivers/network/ether/via_rhine/Jamfile (revision 899e0ef82b5624ace2ccfa5f5a58c8ebee54aaef)
1SubDir HAIKU_TOP src add-ons kernel drivers network ether via_rhine ;
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 ] ;
9
10UseHeaders [ FDirName $(SUBDIR) ] : true ;
11
12SEARCH_SOURCE += [ FDirName $(SUBDIR) dev mii ] ;
13SEARCH_SOURCE += [ FDirName $(SUBDIR) dev vr ] ;
14
15KernelAddon via_rhine :
16	glue.c
17	ciphy.c
18	ukphy.c
19	ukphy_subr.c
20	if_vr.c
21	: libfreebsd_network.a
22	;
23
24ObjectHdrs [ FGristFiles ciphy$(SUFOBJ) ukphy$(SUFOBJ) ]
25	: [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) libs compat freebsd_network ] ;
26Includes [ FGristFiles ciphy.c ukphy.c ] : <src!libs!compat!freebsd_network>miidevs.h ;
27