xref: /haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/Jamfile (revision 268f99dd7dc4bd7474a8bd2742d3f1ec1de6752a)
1SubDir HAIKU_TOP src add-ons kernel drivers network ether dec21xxx ;
2
3UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network ] : true ;
4UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ]
5	: true ;
6UsePrivateHeaders net system ;
7UsePrivateKernelHeaders ;
8
9SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] ;
10
11UseHeaders [ FDirName $(SUBDIR) ] : true ;
12
13SEARCH_SOURCE += [ FDirName $(SUBDIR) dev mii ] ;
14SEARCH_SOURCE += [ FDirName $(SUBDIR) dev dc ] ;
15SEARCH_SOURCE += [ FDirName $(SUBDIR) dev de ] ;
16
17KernelAddon dec21xxx :
18	glue.c
19	glue_de.c
20	dcphy.c
21	if_dc.c
22	pnphy.c
23	if_de.c
24	acphy.c
25	amphy.c
26	ukphy.c
27	ukphy_subr.c
28	: libfreebsd_network.a
29	;
30
31ObjectHdrs [ FGristFiles dcphy$(SUFOBJ)	pnphy$(SUFOBJ) if_de$(SUFOBJ)
32		acphy$(SUFOBJ) amphy$(SUFOBJ) ukphy$(SUFOBJ) ]
33	: [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) libs compat freebsd_network ] ;
34Includes [ FGristFiles dcphy.c pnphy.c acphy.c amphy.c ]
35	: <src!libs!compat!freebsd_network>miidevs.h ;
36