Fix buildworld: add -I${.CURDIR} so aliases_parse.c can find dma.h.
[dragonfly.git] / lib / libcam / Makefile
blob5bd7c605319404551dc0886143ef262c70cf9b5c
1 # $FreeBSD: src/lib/libcam/Makefile,v 1.6.2.2 2001/04/25 10:04:22 ru Exp $
2 # $DragonFly: src/lib/libcam/Makefile,v 1.5 2007/11/18 17:53:01 pavalos Exp $
4 LIB= cam
5 SRCS= camlib.c scsi_cmdparse.c scsi_all.c scsi_da.c scsi_sa.c cam.c
6 INCS= camlib.h
8 DPADD+= ${LIBSBUF}
9 LDADD+= -lsbuf
11 MAN= cam.3 cam_cdbparse.3
14 MLINKS+=cam.3 cam_open_device.3 \
15 cam.3 cam_open_spec_device.3 \
16 cam.3 cam_open_btl.3 \
17 cam.3 cam_open_pass.3 \
18 cam.3 cam_close_device.3 \
19 cam.3 cam_close_spec_device.3 \
20 cam.3 cam_getccb.3 \
21 cam.3 cam_send_ccb.3 \
22 cam.3 cam_freeccb.3 \
23 cam.3 cam_path_string.3 \
24 cam.3 cam_device_dup.3 \
25 cam.3 cam_device_copy.3 \
26 cam.3 cam_get_device.3 \
27 cam_cdbparse.3 csio_build.3 \
28 cam_cdbparse.3 csio_build_visit.3 \
29 cam_cdbparse.3 csio_decode.3 \
30 cam_cdbparse.3 csio_decode_visit.3 \
31 cam_cdbparse.3 buff_decode.3 \
32 cam_cdbparse.3 buff_decode_visit.3 \
33 cam_cdbparse.3 csio_encode.3 \
34 cam_cdbparse.3 csio_encode_visit.3 \
35 cam_cdbparse.3 buff_encode_visit.3
37 .PATH: ${.CURDIR}/../../sys/bus/cam/scsi ${.CURDIR}/../../sys/bus/cam
39 SDIR= ${.CURDIR}/../../sys
40 CFLAGS+=-I${.CURDIR} -I${SDIR}
42 .include <bsd.lib.mk>