DARWIN_USB_SRC = os/darwin_usb.h os/darwin_usb.c
OPENBSD_USB_SRC = os/openbsd_usb.c
NETBSD_USB_SRC = os/netbsd_usb.c
+SUNOS_USB_SRC = os/sunos_usb.c os/sunos_usb.h
WINDOWS_COMMON_SRC = os/windows_nt_common.h os/windows_nt_common.c \
os/windows_common.h libusb-1.0.rc libusb-1.0.def
WINDOWS_USB_SRC = os/windows_winusb.h os/windows_winusb.c
OS_SRC = $(NETBSD_USB_SRC)
endif
+if OS_SUNOS
+OS_SRC = $(SUNOS_USB_SRC)
+endif
+
if OS_HAIKU
noinst_LTLIBRARIES = libusb_haiku.la
libusb_haiku_la_SOURCES = $(HAIKU_USB_SRC)
hdrdir = $(includedir)/libusb-1.0
hdr_HEADERS = libusb.h
+
+if OS_LINUX
+if USE_USD
+libusb_1_0_la_CFLAGS += $(USD_CFLAGS)
+libusb_1_0_la_LIBADD = $(USD_LIBS)
+endif
+endif
\ No newline at end of file