xref: /haiku/src/add-ons/kernel/drivers/network/ether/jmicron2x0/Jamfile (revision 4c8e85b316c35a9161f5a1c50ad70bc91c83a76f)
1SubDir HAIKU_TOP src add-ons kernel drivers network ether jmicron2x0 ;
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 jme ] ;
14
15KernelAddon jmicron2x0 :
16	glue.c
17	if_jme.c
18	jmphy.c
19	: libfreebsd_network.a
20	;
21
22ObjectHdrs [ FGristFiles jmphy$(SUFOBJ) ]
23	: [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) libs compat freebsd_network ] ;
24Includes [ FGristFiles jmphy.c ] : <src!libs!compat!freebsd_network>miidevs.h ;
25