]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/blob - sys/modules/opensolaris/Makefile
MFC ZFS version 28 and related revisions:
[FreeBSD/stable/8.git] / sys / modules / opensolaris / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../cddl/compat/opensolaris/kern
4
5 KMOD=           opensolaris
6 SRCS=           opensolaris.c           \
7                 opensolaris_cmn_err.c   \
8                 opensolaris_kmem.c      \
9                 opensolaris_misc.c      \
10                 opensolaris_sunddi.c
11
12 _A=${.CURDIR}/../../cddl/contrib/opensolaris/common/atomic
13 .if exists(${_A}/${MACHINE_ARCH}/opensolaris_atomic.S)
14 .PATH:  ${_A}/${MACHINE_ARCH}
15 SRCS+=          opensolaris_atomic.S
16 .else
17 SRCS+=          opensolaris_atomic.c
18 .endif
19
20 CFLAGS+=        -I${.CURDIR}/../../cddl/compat/opensolaris              \
21                 -I${.CURDIR}/../../cddl/contrib/opensolaris/uts/common  \
22                 -I${.CURDIR}/../..
23
24 IGNORE_PRAGMA=  1
25
26 .include <bsd.kmod.mk>