xref: /freebsd/sys/modules/pms/Makefile (revision 0b57cec536236d46e3dba9bd041533462f33dbb7)
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+=-Wnested-externs
26CFLAGS+=-Woverflow
27CFLAGS+=-Wmissing-prototypes
28CFLAGS+=-Wparentheses
29CFLAGS+=-w
30
31#CFLAGS+=-g
32
33
34#SUBDIR= tisa tisa/drivers tisa/drivers/FreeBSD tisa/drivers/FreeBSD/ini tisa/drivers/FreeBSD/ini/src
35#SUBDIR= Hialeah_driver Hialeah_driver/freebsd Hialeah_driver/freebsd/ini Hialeah_driver/freebsd/ini/src
36
37KMOD=	pmspcv
38#OS files
39SRCS=agtiapi.c
40
41#LL files
42SRCS+= sadisc.c mpi.c saframe.c sahw.c sainit.c saint.c sampicmd.c sampirsp.c saphy.c saport.c
43SRCS+= sasata.c sasmp.c sassp.c satimer.c sautil.c saioctlcmd.c mpidebug.c
44#DM files
45SRCS+= dminit.c dmsmp.c dmdisc.c dmport.c dmtimer.c dmmisc.c
46#SM files
47SRCS+= sminit.c smmisc.c smsat.c smsatcb.c smsathw.c smtimer.c
48#TD files
49SRCS+= tdinit.c tdmisc.c tdesgl.c tdport.c tdint.c tdioctl.c tdhw.c ossacmnapi.c tddmcmnapi.c tdsmcmnapi.c
50SRCS+= tdtimers.c itdio.c itdcb.c itdinit.c itddisc.c sat.c ossasat.c sathw.c
51
52#header files
53SRCS+=	agtiapi.h agtiproto.h agdef.h
54#
55SRCS+=	osenv.h ostypes.h
56SRCS+=  opt_scsi.h opt_cam.h
57SRCS+=  device_if.h bus_if.h pci_if.h
58
59.include <bsd.kmod.mk>
60