freebsd-ports/graphics/s10sh/files/Makefile.bsd
Mikhail Teterin ea606d6c8a Add s10sh 0.1.91,
Program to interface Canon PowerShot digital cameras
over USB and/or serial connections.

PR:		25471
Submitted by:	John Reynolds <jjreynold@home.com>
2001-03-02 18:05:21 +00:00

19 lines
389 B
Makefile

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)
USBLIB != ${LOCALBASE}/bin/libusb-config --libs
LDADD += ${USBLIB}
USBCF != ${LOCALBASE}/bin/libusb-config --cflags
CFLAGS += ${USBCF} -DHAVE_USB_SUPPORT
SRCS += usb.c
.endif
BINDIR = ${LOCALBASE}/bin
.include <bsd.prog.mk>