SubDir HAIKU_TOP src apps devices ;UsePrivateHeaders shared ;UsePrivateHeaders interface ;UsePrivateKernelHeaders ;UsePrivateSystemHeaders ;rule ISAPnPHeaderGen{SEARCH on $(2) = $(SEARCH_SOURCE) ;SEARCH on $(3) = $(SEARCH_SOURCE) ;Depends $(1) : $(2) $(3) ;MakeLocateArch $(<) ;ISAPnPHeaderGen1 $(1) : $(2) $(3) ;LocalClean clean : $(<) ;}actions ISAPnPHeaderGen1{grep '^PNP[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]] ' $(2[1]) \| gawk -f $(2[2]) > $(1) ;}ISAPnPHeaderGen [ FGristFiles isapnpids.h ] : isapnp_devids.txt : devlist2h.awk ;rule PCIHeaderGen{SEARCH on $(3) = $(SEARCH_SOURCE) ;Depends $(1) : $(2) $(3) ;MakeLocateArch $(<) ;PCIHeaderGen1 $(1) : $(2) $(3) ;LocalClean clean : $(<) ;}actions PCIHeaderGen1{gawk -v HEADERFILE=$(1) -f $(2[2]) $(2[1])}local pciidsFile = pci.ids ;SEARCH on $(pciidsFile) = [ FDirName $(HAIKU_TOP) src data ids ] ;PCIHeaderGen [ FGristFiles pcihdr.h ] : $(pciidsFile) : pci-header.awk ;rule USBHeaderGen{SEARCH on $(3) = $(SEARCH_SOURCE) ;Depends $(1) : $(2) $(3) ;MakeLocateArch $(<) ;USBHeaderGen1 $(1) : $(2) $(3) ;LocalClean clean : $(<) ;}actions USBHeaderGen1{gawk -v HEADERFILE=$(1) -f $(2[2]) $(2[1])}local usbidsFile = usb.ids ;SEARCH on $(usbidsFile) = [ FDirName $(HAIKU_TOP) src data ids ] ;USBHeaderGen [ FGristFiles usbhdr.h ] : $(usbidsFile) : usb-header.awk ;Application Devices :DevicesApplication.cppDevicesView.cppdm_wrapper.cDevicePCI.cppDeviceACPI.cppDeviceSCSI.cppDevice.cppPropertyList.cppPropertyListPlain.cpp: be libcolumnlistview.a tracker [ TargetLibsupc++ ][ TargetLibstdc++ ] localestub: Devices.rdef;DoCatalogs Devices :x-vnd.Haiku-Devices:DevicesApplication.cppDevicesView.cppDevicePCI.cppPropertyList.cppPropertyListPlain.cppDeviceACPI.cppDeviceSCSI.cppDevice.cpp;Includes [ FGristFiles DevicePCI.cpp ] : [ FGristFiles pcihdr.h ] ;