mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-21 11:13:30 +00:00
daaf575910
Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
LIB= cam
|
|
SHLIBDIR?= /lib
|
|
SRCS= camlib.c scsi_cmdparse.c scsi_all.c scsi_da.c scsi_sa.c cam.c \
|
|
ata_all.c
|
|
INCS= camlib.h
|
|
|
|
DPADD= ${LIBSBUF}
|
|
LDADD= -lsbuf
|
|
|
|
MAN= cam.3 cam_cdbparse.3
|
|
|
|
WARNS?= 2
|
|
|
|
MLINKS+= cam.3 cam_open_device.3 \
|
|
cam.3 cam_open_spec_device.3 \
|
|
cam.3 cam_open_btl.3 \
|
|
cam.3 cam_open_pass.3 \
|
|
cam.3 cam_close_device.3 \
|
|
cam.3 cam_close_spec_device.3 \
|
|
cam.3 cam_getccb.3 \
|
|
cam.3 cam_send_ccb.3 \
|
|
cam.3 cam_freeccb.3 \
|
|
cam.3 cam_path_string.3 \
|
|
cam.3 cam_device_dup.3 \
|
|
cam.3 cam_device_copy.3 \
|
|
cam.3 cam_get_device.3 \
|
|
cam_cdbparse.3 csio_build.3 \
|
|
cam_cdbparse.3 csio_build_visit.3 \
|
|
cam_cdbparse.3 csio_decode.3 \
|
|
cam_cdbparse.3 csio_decode_visit.3 \
|
|
cam_cdbparse.3 buff_decode.3 \
|
|
cam_cdbparse.3 buff_decode_visit.3 \
|
|
cam_cdbparse.3 csio_encode.3 \
|
|
cam_cdbparse.3 csio_encode_visit.3 \
|
|
cam_cdbparse.3 buff_encode_visit.3
|
|
|
|
.PATH: ${.CURDIR}/../../sys/cam/scsi ${.CURDIR}/../../sys/cam/ata \
|
|
${.CURDIR}/../../sys/cam
|
|
|
|
SDIR= ${.CURDIR}/../../sys
|
|
CFLAGS+= -I${.CURDIR} -I${SDIR}
|
|
|
|
.include <bsd.lib.mk>
|