SubDir HAIKU_TOP src bin listusb ; UsePrivateHeaders shared usb ; UsePrivateHeaders drivers ; UseHeaders [ FDirName $(HAIKU_TOP) src add-ons kernel bus_managers usb ] ; BinCommand listusb : listusb.cpp usb_audio.cpp usb_video.cpp : be libdevice.so ; # Manually reference generated headers ObjectHdrs [ FGristFiles listusb$(SUFOBJ) ] : [ FDirName $(TARGET_COMMON_DEBUG_OBJECT_DIR_$(TARGET_PACKAGING_ARCH)) apps devices ] ; Includes [ FGristFiles listusb.cpp ] : usbhdr.h ;