xref: /freebsd/sys/modules/pms/Makefile (revision 7ef62cebc2f965b0f640263e179276928885e33d)
1# $FreeBSD$
2# 5/31/2012
3#PATH shall include all directories
4
5.PATH: 	${SRCTOP}/sys/dev/pms/freebsd/driver/ini/src \
6	${SRCTOP}/sys/dev/pms/RefTisa/sallsdk/api \
7	${SRCTOP}/sys/dev/pms/RefTisa/sallsdk/spc \
8	${SRCTOP}/sys/dev/pms/RefTisa/sallsdk/hda/64k \
9	${SRCTOP}/sys/dev/pms/RefTisa/discovery/api \
10	${SRCTOP}/sys/dev/pms/RefTisa/discovery/dm \
11	${SRCTOP}/sys/dev/pms/RefTisa/sat/api \
12	${SRCTOP}/sys/dev/pms/RefTisa/sat/src \
13	${SRCTOP}/sys/dev/pms/RefTisa/tisa/api \
14	${SRCTOP}/sys/dev/pms/RefTisa/tisa/sassata/common \
15	${SRCTOP}/sys/dev/pms/RefTisa/tisa/sassata/sas/common \
16	${SRCTOP}/sys/dev/pms/RefTisa/tisa/sassata/sas/ini \
17	${SRCTOP}/sys/dev/pms/RefTisa/tisa/sassata/sata/host \
18	${SRCTOP}/sys/dev/pms/freebsd/driver/common
19
20CFLAGS+=-fno-builtin
21CFLAGS+=-fms-extensions
22
23CFLAGS+=-Wredundant-decls
24CFLAGS+=-Wunused-variable
25CFLAGS+=-Woverflow
26CFLAGS+=-Wmissing-prototypes
27CFLAGS+=-Wparentheses
28CFLAGS+=-w
29
30#CFLAGS+=-g
31
32
33#SUBDIR= tisa tisa/drivers tisa/drivers/FreeBSD tisa/drivers/FreeBSD/ini tisa/drivers/FreeBSD/ini/src
34#SUBDIR= Hialeah_driver Hialeah_driver/freebsd Hialeah_driver/freebsd/ini Hialeah_driver/freebsd/ini/src
35
36KMOD=	pmspcv
37#OS files
38SRCS=agtiapi.c
39
40#LL files
41SRCS+= sadisc.c mpi.c saframe.c sahw.c sainit.c saint.c sampicmd.c sampirsp.c saphy.c saport.c
42SRCS+= sasata.c sasmp.c sassp.c satimer.c sautil.c saioctlcmd.c mpidebug.c
43#DM files
44SRCS+= dminit.c dmsmp.c dmdisc.c dmport.c dmtimer.c dmmisc.c
45#SM files
46SRCS+= sminit.c smmisc.c smsat.c smsatcb.c smsathw.c smtimer.c
47#TD files
48SRCS+= tdinit.c tdmisc.c tdesgl.c tdport.c tdint.c tdioctl.c tdhw.c ossacmnapi.c tddmcmnapi.c tdsmcmnapi.c
49SRCS+= tdtimers.c itdio.c itdcb.c itdinit.c itddisc.c sat.c ossasat.c sathw.c
50
51#header files
52SRCS+=	agtiapi.h agtiproto.h agdef.h
53#
54SRCS+=	osenv.h ostypes.h
55SRCS+=  opt_scsi.h opt_cam.h
56SRCS+=  device_if.h bus_if.h pci_if.h
57
58.include <bsd.kmod.mk>
59