]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - sys/modules/opensolaris/Makefile
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.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
10 .if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "ia64" || ${MACHINE_ARCH} == "sparc64"
11 .PATH:  ${.CURDIR}/../../cddl/contrib/opensolaris/common/atomic/${MACHINE_ARCH}
12 SRCS+=          atomic.S
13 .else
14 SRCS+=          opensolaris_atomic.c
15 .endif
16                 
17 CFLAGS+=        -I${.CURDIR}/../../cddl/compat/opensolaris              \
18                 -I${.CURDIR}/../../cddl/contrib/opensolaris/uts/common  \
19                 -I${.CURDIR}/../..
20
21 IGNORE_PRAGMA=  1
22
23 .include <bsd.kmod.mk>