xref: /freebsd/sys/modules/pms/Makefile (revision f4b37ed0f8b307b1f3f0f630ca725d68f1dff30d)
1# $FreeBSD$
2# 5/31/2012
3#PATH shall include all directories
4
5.PATH: 	${.CURDIR}/../../dev/pms/freebsd/driver/ini/src \
6	${.CURDIR}/../../dev/pms/RefTisa/sallsdk/api \
7	${.CURDIR}/../../dev/pms/RefTisa/sallsdk/spc \
8	${.CURDIR}/../../dev/pms/RefTisa/sallsdk/hda/64k \
9	${.CURDIR}/../../dev/pms/RefTisa/discovery/api \
10	${.CURDIR}/../../dev/pms/RefTisa/discovery/dm \
11	${.CURDIR}/../../dev/pms/RefTisa/sat/api \
12	${.CURDIR}/../../dev/pms/RefTisa/sat/src \
13	${.CURDIR}/../../dev/pms/RefTisa/tisa/api \
14	${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/common \
15	${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/sas/common \
16	${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/sas/ini \
17	${.CURDIR}/../../dev/pms/RefTisa/tisa/sassata/sata/host \
18	${.CURDIR}/../../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#INCSRC=	../../common
59
60
61.include <bsd.kmod.mk>
62