1SubDir HAIKU_TOP src apps devices ; 2 3UsePrivateHeaders shared ; 4UsePrivateHeaders interface ; 5UsePrivateKernelHeaders ; 6UsePrivateSystemHeaders ; 7 8 9rule ISAPnPHeaderGen 10{ 11 SEARCH on $(2) = $(SEARCH_SOURCE) ; 12 SEARCH on $(3) = $(SEARCH_SOURCE) ; 13 14 Depends $(1) : $(2) $(3) ; 15 MakeLocateArch $(<) ; 16 ISAPnPHeaderGen1 $(1) : $(2) $(3) ; 17 LocalClean clean : $(<) ; 18} 19 20actions ISAPnPHeaderGen1 21{ 22 grep '^PNP[[:xdigit:]][[:xdigit:]][[:xdigit:]][[:xdigit:]] ' $(2[1]) | gawk -f $(2[2]) > $(1) ; 23} 24 25ISAPnPHeaderGen [ FGristFiles isapnpids.h ] : isapnp_devids.txt : devlist2h.awk ; 26 27rule USBHeaderGen 28{ 29 SEARCH on $(2) = $(SEARCH_SOURCE) ; 30 SEARCH on $(3) = $(SEARCH_SOURCE) ; 31 32 Depends $(1) : $(2) $(3) ; 33 MakeLocateArch $(<) ; 34 USBHeaderGen1 $(1) : $(2) $(3) ; 35 LocalClean clean : $(<) ; 36} 37 38actions USBHeaderGen1 39{ 40 gawk -v HEADERFILE=$(1[1]) -v DATAFILE=$(1[2]) -f $(2[2]) $(2[1]) 41} 42 43USBHeaderGen [ FGristFiles usbdevs.h usbdevs_data.h ] : usbdevs : usb_devlist2h.awk ; 44 45rule PCIHeaderGen 46{ 47 SEARCH on $(2) = $(SEARCH_SOURCE) ; 48 SEARCH on $(3) = $(SEARCH_SOURCE) ; 49 50 Depends $(1) : $(2) $(3) ; 51 MakeLocateArch $(<) ; 52 PCIHeaderGen1 $(1) : $(2) $(3) ; 53 LocalClean clean : $(<) ; 54} 55 56actions PCIHeaderGen1 57{ 58 gawk -v HEADERFILE=$(1) -f $(2[2]) $(2[1]) 59} 60 61PCIHeaderGen [ FGristFiles pcihdr.h ] : pci.ids : pci-header.awk ; 62 63Application Devices : 64 DevicesApplication.cpp 65 DevicesView.cpp 66 dm_wrapper.c 67 DevicePCI.cpp 68 Device.cpp 69 PropertyList.cpp 70 PropertyListPlain.cpp 71 : be libcolumnlistview.a tracker $(TARGET_LIBSUPC++) $(TARGET_LIBSTDC++) 72 : Devices.rdef 73; 74 75Includes [ FGristFiles DevicesInfo.cpp ] : [ FGristFiles isapnpids.h usbdevs.h 76 usbdevs_data.h ] ; 77Includes [ FGristFiles ConfigurationWindow.cpp ] : [ FGristFiles pcihdr.h ] ; 78