1SubDir HAIKU_TOP src add-ons kernel drivers network wlan ralinkwifi ; 2 3UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_network compat ] : true ; 4UseHeaders [ FDirName $(HAIKU_TOP) src libs compat freebsd_wlan ] : true ; 5UsePrivateHeaders net system ; 6UsePrivateKernelHeaders ; 7 8SubDirCcFlags [ FDefines _KERNEL=1 FBSD_DRIVER=1 ] 9 -Wno-format 10 -Wno-unused 11 -Wno-uninitialized ; 12 13UseHeaders [ FDirName $(SUBDIR) ] : true ; 14 15SEARCH_SOURCE += [ FDirName $(SUBDIR) dev ral ] ; 16SEARCH_SOURCE += [ FDirName $(SUBDIR) dev usb wlan ] ; 17 18KernelAddon ralinkwifi : 19 if_ral_pci.c 20 rt2560.c 21 rt2661.c 22 rt2860.c 23 24 if_ural.c 25 if_run.c 26 if_rum.c 27 28 glue.c 29 : 30 freebsd_wlan.a 31 libfreebsd_network.a 32 ; 33 34ObjectHdrs [ FGristFiles if_ural$(SUFOBJ) if_run$(SUFOBJ) if_rum$(SUFOBJ) ] 35 : [ FDirName $(HAIKU_COMMON_PLATFORM_OBJECT_DIR) libs compat freebsd_network ] ; 36Includes [ FGristFiles if_ural.c if_run.c if_rum.c ] 37 : <src!libs!compat!freebsd_network>usbdevs.h ; 38