xref: /haiku/src/add-ons/kernel/drivers/network/ether/pcnet/Jamfile (revision 4c8e85b316c35a9161f5a1c50ad70bc91c83a76f)
1SubDir HAIKU_TOP src add-ons kernel drivers network ether pcnet ;
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 _XOPEN_SOURCE ] ;
10
11UseHeaders [ FDirName $(SUBDIR) ] : true ;
12
13SEARCH_SOURCE += [ FDirName $(SUBDIR) dev mii ] ;
14SEARCH_SOURCE += [ FDirName $(SUBDIR) dev pcn ] ;
15SEARCH_SOURCE += [ FDirName $(SUBDIR) dev le ] ;
16
17KernelAddon pcnet :
18	glue.c
19	glue_pcn.c
20	ukphy.c
21	ukphy_subr.c
22	nsphy.c
23	nsphyter.c
24	if_pcn.c
25	if_le_pci.c
26	am7990.c
27	am79900.c
28	lance.c
29	: libfreebsd_network.a
30	;
31
32ObjectHdrs [ FGristFiles ukphy$(SUFOBJ) nsphy$(SUFOBJ) nsphyter$(SUFOBJ) ]
33	: [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) libs compat freebsd_network ] ;
34Includes [ FGristFiles ukphy.c nsphy.c nsphyter.c ] : <src!libs!compat!freebsd_network>miidevs.h ;
35