1*25c28e83SPiotr Jasiukajtis# 2*25c28e83SPiotr Jasiukajtis# This file and its contents are supplied under the terms of the 3*25c28e83SPiotr Jasiukajtis# Common Development and Distribution License ("CDDL"), version 1.0. 4*25c28e83SPiotr Jasiukajtis# You may only use this file in accordance with the terms of version 5*25c28e83SPiotr Jasiukajtis# 1.0 of the CDDL. 6*25c28e83SPiotr Jasiukajtis# 7*25c28e83SPiotr Jasiukajtis# A full copy of the text of the CDDL should have accompanied this 8*25c28e83SPiotr Jasiukajtis# source. A copy of the CDDL is also available via the Internet at 9*25c28e83SPiotr Jasiukajtis# http://www.illumos.org/license/CDDL. 10*25c28e83SPiotr Jasiukajtis# 11*25c28e83SPiotr Jasiukajtis 12*25c28e83SPiotr Jasiukajtis# 13*25c28e83SPiotr Jasiukajtis# Copyright 2011, Richard Lowe. 14*25c28e83SPiotr Jasiukajtis# 15*25c28e83SPiotr Jasiukajtis 16*25c28e83SPiotr Jasiukajtis 17*25c28e83SPiotr JasiukajtisLIBRARY = libm.a 18*25c28e83SPiotr JasiukajtisVERS = .1 19*25c28e83SPiotr Jasiukajtis 20*25c28e83SPiotr JasiukajtisLIBMDIR = $(SRC)/lib/libm 21*25c28e83SPiotr Jasiukajtis 22*25c28e83SPiotr JasiukajtisOBJECTS = libmv1.o 23*25c28e83SPiotr Jasiukajtis 24*25c28e83SPiotr Jasiukajtisinclude $(SRC)/lib/Makefile.lib 25*25c28e83SPiotr Jasiukajtisinclude $(SRC)/lib/Makefile.rootfs 26*25c28e83SPiotr Jasiukajtisinclude $(LIBMDIR)/Makefile.libm.com 27*25c28e83SPiotr Jasiukajtis 28*25c28e83SPiotr JasiukajtisLIBS = $(DYNLIB) 29*25c28e83SPiotr JasiukajtisSRCS = $(OBJECTS:%.o=../common/%.c) 30*25c28e83SPiotr JasiukajtisSRCDIR = ../common/ 31*25c28e83SPiotr Jasiukajtis 32*25c28e83SPiotr JasiukajtisCPPFLAGS += -DLIBM_BUILD 33*25c28e83SPiotr JasiukajtisMAPFILEDIR = ../common/ 34*25c28e83SPiotr JasiukajtisDYNFLAGS += -zignore -Wl,-F'libm.so.2' 35*25c28e83SPiotr JasiukajtisLINTFLAGS64 += -errchk=longptr64 36*25c28e83SPiotr Jasiukajtis 37*25c28e83SPiotr Jasiukajtis.KEEP_STATE: 38*25c28e83SPiotr Jasiukajtis 39*25c28e83SPiotr Jasiukajtisall: $(LIBS) 40*25c28e83SPiotr Jasiukajtis 41*25c28e83SPiotr Jasiukajtislint: lintcheck 42