1 2LIB= cam 3SRCS= camlib.c scsi_cmdparse.c scsi_all.c scsi_sa.c cam.c 4 5MAN3= cam.3 cam_cdbparse.3 6 7 8MLINKS+=cam.3 cam_open_device.3 \ 9 cam.3 cam_open_spec_device.3 \ 10 cam.3 cam_open_btl.3 \ 11 cam.3 cam_open_pass.3 \ 12 cam.3 cam_close_device.3 \ 13 cam.3 cam_close_spec_device.3 \ 14 cam.3 cam_getccb.3 \ 15 cam.3 cam_send_ccb.3 \ 16 cam.3 cam_freeccb.3 \ 17 cam.3 cam_path_string.3 \ 18 cam.3 cam_device_dup.3 \ 19 cam.3 cam_device_copy.3 \ 20 cam.3 cam_get_device.3 \ 21 cam_cdbparse.3 csio_build.3 \ 22 cam_cdbparse.3 csio_build_visit.3 \ 23 cam_cdbparse.3 csio_decode.3 \ 24 cam_cdbparse.3 csio_decode_visit.3 \ 25 cam_cdbparse.3 buff_decode.3 \ 26 cam_cdbparse.3 buff_decode_visit.3 \ 27 cam_cdbparse.3 csio_encode.3 \ 28 cam_cdbparse.3 csio_encode_visit.3 \ 29 cam_cdbparse.3 buff_encode_visit.3 30 31beforeinstall: 32 ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/camlib.h \ 33 ${DESTDIR}/usr/include 34 35.PATH: ${.CURDIR}/../../sys/cam/scsi ${.CURDIR}/../../sys/cam 36 37CFLAGS+=-I${.CURDIR} -I${.CURDIR}/../../sys 38 39.include <bsd.lib.mk> 40