]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/modules/cam/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / modules / cam / Makefile
1 # $FreeBSD$
2
3 S=      ${.CURDIR}/../..
4
5 .PATH: $S/cam $S/cam/scsi $S/cam/ata $S/${MACHINE}/${MACHINE}
6
7 KMOD=   cam
8
9 # See sys/conf/options for the flags that go into the different opt_*.h files.
10 SRCS=   opt_cam.h
11 SRCS+=  opt_ada.h
12 SRCS+=  opt_ata.h
13 SRCS+=  opt_scsi.h
14 SRCS+=  opt_cd.h
15 SRCS+=  opt_pt.h
16 SRCS+=  opt_sa.h
17 SRCS+=  device_if.h bus_if.h vnode_if.h
18 SRCS+=  cam.c
19 SRCS+=  cam_compat.c
20 .if exists($S/${MACHINE}/${MACHINE}/cam_machdep.c)
21 SRCS+=  cam_machdep.c
22 .endif
23 SRCS+=  cam_periph.c cam_queue.c cam_sim.c cam_xpt.c
24 SRCS+=  scsi_all.c scsi_cd.c scsi_ch.c
25 SRCS+=  scsi_da.c
26 SRCS+=  scsi_pass.c
27 SRCS+=  scsi_pt.c
28 SRCS+=  scsi_sa.c
29 SRCS+=  scsi_enc.c
30 SRCS+=  scsi_enc_ses.c
31 SRCS+=  scsi_enc_safte.c
32 SRCS+=  scsi_sg.c
33 SRCS+=  scsi_targ_bh.c scsi_target.c
34 SRCS+=  scsi_xpt.c
35 SRCS+=  smp_all.c
36 SRCS+=  ata_all.c
37 SRCS+=  ata_xpt.c
38 SRCS+=  ata_da.c
39 .if exists($S/${MACHINE}/${MACHINE}/ata_machdep.c)
40 SRCS+=  ata_machdep.c
41 .endif
42 SRCS+=  ata_pmp.c
43
44 EXPORT_SYMS=    YES     # XXX evaluate
45
46 .if !defined(KERNBUILDDIR)
47 opt_scsi.h:
48         echo "#define SCSI_DELAY 15000" > ${.TARGET}
49 .endif
50
51 .include <bsd.kmod.mk>