SubDir HAIKU_TOP src add-ons kernel drivers network ether rdc ; UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ] : true ; UsePrivateHeaders net system ; UsePrivateKernelHeaders ; SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] ; UseHeaders [ FDirName $(SUBDIR) ] : true ; SEARCH_SOURCE += [ FDirName $(SUBDIR) dev mii ] ; SEARCH_SOURCE += [ FDirName $(SUBDIR) dev vte ] ; KernelAddon rdc : glue.c rdcphy.c if_vte.c : libfreebsd_network.a ; ObjectHdrs [ FGristFiles rdcphy$(SUFOBJ) ] : [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) libs compat freebsd_network ] ; Includes [ FGristFiles rdcphy.c ] : miidevs.h ;