1#
2# This file and its contents are supplied under the terms of the
3# Common Development and Distribution License ("CDDL"), version 1.0.
4# You may only use this file in accordance with the terms of version
5# 1.0 of the CDDL.
6#
7# A full copy of the text of the CDDL should have accompanied this
8# source.  A copy of the CDDL is also available via the Internet at
9# http://www.illumos.org/license/CDDL.
10#
11
12#
13# Copyright (c) 2012, Igor Kozhukhov <ikozhukhov@gmail.com>.  All rights reserved.
14# Copyright 2020 OmniOS Community Edition (OmniOSce) Association.
15#
16
17<include system-library-math.man3m.inc>
18<include system-library-math.man3mvec.inc>
19set name=pkg.fmri value=pkg:/system/library/math@$(PKGVERS)
20set name=pkg.summary value="Math Libraries"
21set name=pkg.description value="Math Libraries"
22set name=description value="Math Libraries"
23set name=info.classification \
24    value=org.opensolaris.category.2008:System/Libraries
25set name=variant.arch value=$(ARCH)
26dir  path=lib
27dir  path=lib/$(ARCH64)
28link path=lib/$(ARCH64)/libm.so target=libm.so.2
29file path=lib/$(ARCH64)/libm.so.1
30file path=lib/$(ARCH64)/libm.so.2
31link path=lib/$(ARCH64)/libmvec.so target=libmvec.so.1
32file path=lib/$(ARCH64)/libmvec.so.1
33$(sparc_ONLY)dir path=lib/cpu
34$(sparc_ONLY)dir path=lib/cpu/sparcv8plus+vis
35$(sparc_ONLY)file path=lib/cpu/sparcv8plus+vis/libmvec_isa.so.1
36$(sparc_ONLY)dir path=lib/cpu/sparcv9+vis
37$(sparc_ONLY)dir path=lib/cpu/sparcv9+vis/$(ARCH64)
38$(sparc_ONLY)file path=lib/cpu/sparcv9+vis/$(ARCH64)/libmvec_isa.so.1
39$(sparc_ONLY)dir path=lib/cpu/sparcv9+vis2
40$(sparc_ONLY)dir path=lib/cpu/sparcv9+vis2/$(ARCH64)
41$(sparc_ONLY)file path=lib/cpu/sparcv9+vis2/$(ARCH64)/libmvec_isa.so.1
42$(sparc_ONLY)file path=lib/cpu/sparcv9+vis2/libmvec_isa.so.1
43link path=lib/libm.so target=libm.so.2
44file path=lib/libm.so.1
45file path=lib/libm.so.2
46$(i386_ONLY)dir path=lib/libmvec
47link path=lib/libmvec.so target=libmvec.so.1
48file path=lib/libmvec.so.1
49$(i386_ONLY)file path=lib/libmvec/libmvec_hwcap1.so.1
50dir  path=usr group=sys
51dir  path=usr/include
52file path=usr/include/complex.h
53file path=usr/include/fenv.h
54file path=usr/include/floatingpoint.h
55dir  path=usr/include/iso
56file path=usr/include/iso/math_c99.h
57file path=usr/include/iso/math_iso.h
58file path=usr/include/math.h
59dir  path=usr/include/sys
60file path=usr/include/sys/ieeefp.h
61file path=usr/include/tgmath.h
62dir  path=usr/lib
63dir  path=usr/lib/$(ARCH64)
64link path=usr/lib/$(ARCH64)/libm.so target=../../../lib/$(ARCH64)/libm.so.2
65link path=usr/lib/$(ARCH64)/libm.so.1 target=../../../lib/$(ARCH64)/libm.so.1
66link path=usr/lib/$(ARCH64)/libm.so.2 target=../../../lib/$(ARCH64)/libm.so.2
67link path=usr/lib/$(ARCH64)/libmvec.so \
68    target=../../../lib/$(ARCH64)/libmvec.so.1
69link path=usr/lib/$(ARCH64)/libmvec.so.1 \
70    target=../../../lib/$(ARCH64)/libmvec.so.1
71link path=usr/lib/libm.so target=../../lib/libm.so.2
72link path=usr/lib/libm.so.1 target=../../lib/libm.so.1
73link path=usr/lib/libm.so.2 target=../../lib/libm.so.2
74link path=usr/lib/libmvec.so target=../../lib/libmvec.so.1
75link path=usr/lib/libmvec.so.1 target=../../lib/libmvec.so.1
76dir  path=usr/share/man/man3m
77dir  path=usr/share/man/man3mvec
78legacy pkg=SUNWlibms desc="Math Libraries (Usr)" \
79    hotline="Please contact your local service provider" \
80    name="Math Libraries (Usr)" vendor="Sun Microsystems, Inc." \
81    version=5.11,REV=2009.08.04
82legacy pkg=SUNWlibmsr desc="Math Libraries (Root)" \
83    hotline="Please contact your local service provider" \
84    name="Math Libraries (Root)" vendor="Sun Microsystems, Inc." \
85    version=5.11,REV=2009.08.04
86