1285809Sscottl# $FreeBSD: releng/10.3/sys/modules/pms/Makefile 285809 2015-07-23 05:26:09Z scottl $
2285809Sscottl# 5/31/2012
3285809Sscottl#PATH shall include all directories
4285809Sscottl
5285809Sscottl.PATH: 	${.CURDIR}/../../dev/pms/freebsd/driver/ini/src \
6285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/sallsdk/api \
7285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/sallsdk/spc \
8285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/sallsdk/hda/64k \
9285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/discovery/api \
10285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/discovery/dm \
11285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/sat/api \
12285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/sat/src \
13285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/tisa/api \
14285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/common \
15285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/sas/common \
16285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/sas/ini \
17285809Sscottl	${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/sata/host \
18285809Sscottl	${.CURDIR}/../../dev/pms/freebsd/driver/common
19285809Sscottl
20285809SscottlCFLAGS+=-fno-builtin
21285809SscottlCFLAGS+=-fms-extensions
22285809Sscottl
23285809SscottlCFLAGS+=-Wredundant-decls
24285809SscottlCFLAGS+=-Wunused-variable
25285809SscottlCFLAGS+=-Wnested-externs
26285809SscottlCFLAGS+=-Woverflow
27285809SscottlCFLAGS+=-Wmissing-prototypes
28285809SscottlCFLAGS+=-Wparentheses
29285809SscottlCFLAGS+=-w
30285809Sscottl
31285809Sscottl#CFLAGS+=-g
32285809Sscottl
33285809Sscottl
34285809Sscottl#SUBDIR= tisa tisa/drivers tisa/drivers/FreeBSD tisa/drivers/FreeBSD/ini tisa/drivers/FreeBSD/ini/src
35285809Sscottl#SUBDIR= Hialeah_driver Hialeah_driver/freebsd Hialeah_driver/freebsd/ini Hialeah_driver/freebsd/ini/src 
36285809Sscottl
37285809SscottlKMOD=	pmspcv
38285809Sscottl#OS files
39285809SscottlSRCS=agtiapi.c
40285809Sscottl
41285809Sscottl#LL files
42285809SscottlSRCS+= sadisc.c mpi.c saframe.c sahw.c sainit.c saint.c sampicmd.c sampirsp.c saphy.c saport.c
43285809SscottlSRCS+= sasata.c sasmp.c sassp.c satimer.c sautil.c saioctlcmd.c mpidebug.c
44285809Sscottl#DM files
45285809SscottlSRCS+= dminit.c dmsmp.c dmdisc.c dmport.c dmtimer.c dmmisc.c
46285809Sscottl#SM files
47285809SscottlSRCS+= sminit.c smmisc.c smsat.c smsatcb.c smsathw.c smtimer.c
48285809Sscottl#TD files
49285809SscottlSRCS+= tdinit.c tdmisc.c tdesgl.c tdport.c tdint.c tdioctl.c tdhw.c ossacmnapi.c tddmcmnapi.c tdsmcmnapi.c
50285809SscottlSRCS+= tdtimers.c itdio.c itdcb.c itdinit.c itddisc.c sat.c ossasat.c sathw.c
51285809Sscottl
52285809Sscottl#header files
53285809SscottlSRCS+=	agtiapi.h agtiproto.h agdef.h 
54285809Sscottl#
55285809SscottlSRCS+=	osenv.h ostypes.h
56285809SscottlSRCS+=  opt_scsi.h opt_cam.h
57285809SscottlSRCS+=  device_if.h bus_if.h pci_if.h
58285809Sscottl#INCSRC=	../../common
59285809Sscottl
60285809Sscottl
61285809Sscottl.include <bsd.kmod.mk>
62