Bring in some changes to bsd.sys.mk from FreeBSD.
[dragonfly.git] / lib / libm / Makefile
1 # $DragonFly: src/lib/libm/Makefile,v 1.8 2008/11/03 00:25:44 pavalos Exp $
2
3 LIB=            m
4 SHLIB_MAJOR=    3
5 WARNS?=         2
6
7 # Don't MD fragment must be included before MI fragment.
8 ARCHDIR?= ${MACHINE_ARCH}
9 .if ${MACHINE_ARCH} == "amd64"
10 ARCHDIR= i386
11 .endif
12
13 .if exists(arch/${ARCHDIR}/Makefile.inc)
14 .include "arch/${ARCHDIR}/Makefile.inc"
15 .endif
16 .include "gen/Makefile.inc"
17 .include "man/Makefile.inc"
18 .include "src/Makefile.inc"
19
20 .include <bsd.lib.mk>