f5d05ea54d
- Mark sane-backends broken on current due to changes in USB stack. Reviewed by: thompsa (old version), miwi Tested by: miwi
23 lines
446 B
Text
23 lines
446 B
Text
PROG = s10sh
|
|
NOMAN = oh...
|
|
|
|
SRCS = main.c crc.c serial.c common.c bar.c
|
|
|
|
LDADD += -lreadline -ltermcap
|
|
CFLAGS += -DHAVE_READLINE
|
|
|
|
.if !defined(WITHOUT_USB)
|
|
. if ${OSVERSION} < 800069
|
|
USBLIB != ${LOCALBASE}/bin/libusb-config --libs
|
|
LDADD += ${USBLIB}
|
|
USBCF != ${LOCALBASE}/bin/libusb-config --cflags
|
|
CFLAGS += ${USBCF} -DHAVE_USB_SUPPORT
|
|
. else
|
|
LDADD += -lusb
|
|
. endif
|
|
SRCS += usb.c
|
|
.endif
|
|
|
|
BINDIR = ${LOCALBASE}/bin
|
|
|
|
.include <bsd.prog.mk>
|