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