# -*- conf -*-

# +-------------------------+
# | External ocaml packages |
# +-------------------------+

<src/*.ml>: syntax_camlp4o, pkg_lwt.syntax
<src/*>: pkg_lwt.preemptive, thread

# +---------+
# | C stubs |
# +---------+

# Tags description:
#
# * "use_stubs" is for files using the stubs for libusb,
#   i.e. "src/usb_stubs.c"
#
# * "use_libusb" is for files using the C library "libusb-1.0"

# The ocaml library uses C stubs and must depends on the C library:
<usb.*>: use_stubs, use_libusb

# C stubs use the C library libusb:
<libusb_stubs.*>: use_libusb
<src/usb_stubs.*>: use_libusb
