author | Mike Sullivan <Mike.Sullivan@Oracle.COM> |
Wed, 20 May 2015 08:03:20 -0700 | |
changeset 4322 | 4df1ee289258 |
parent 4252 | 891a844655c4 |
child 4339 | 6501cf9c29f9 |
permissions | -rw-r--r-- |
219
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
1 |
# CDDL HEADER START |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
2 |
# |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
3 |
# The contents of this file are subject to the terms of the |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
4 |
# Common Development and Distribution License (the "License"). |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
5 |
# You may not use this file except in compliance with the License. |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
6 |
# |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
7 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
8 |
# or http://www.opensolaris.org/os/licensing. |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
9 |
# See the License for the specific language governing permissions |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
10 |
# and limitations under the License. |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
11 |
# |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
12 |
# When distributing Covered Code, include this CDDL HEADER in each |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
13 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE. |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
14 |
# If applicable, add the following below this CDDL HEADER, with the |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
15 |
# fields enclosed by brackets "[]" replaced with your own identifying |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
16 |
# information: Portions Copyright [yyyy] [name of copyright owner] |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
17 |
# |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
18 |
# CDDL HEADER END |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
19 |
# |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
20 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
21 |
# |
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
22 |
# Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved. |
219
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
23 |
# |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
24 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
25 |
include ../../make-rules/shared-macros.mk |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
26 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
27 |
PATH=$(dir $(CC)):/usr/bin:/usr/gnu/bin |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
28 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
29 |
COMPONENT_NAME= mpfr |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
30 |
COMPONENT_VERSION= 2.4.2 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
219
diff
changeset
|
31 |
COMPONENT_PROJECT_URL= http://www.mpfr.org/ |
219
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
32 |
COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
33 |
COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz |
800
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
774
diff
changeset
|
34 |
COMPONENT_ARCHIVE_HASH= \ |
2ad056ed89ec
7163771 sha1 should not be used in userland-fetch and userland component/*/Makefile
Mike Sullivan <Mike.Sullivan@Oracle.COM>
parents:
774
diff
changeset
|
35 |
sha256:246d7e184048b1fc48d3696dd302c9774e24e921204221540745e5464022b637 |
609
775168282b2f
7037821 Userland migration of data from Makefile to manifest may have been a little overzealous
Rich Burridge <rich.burridge@oracle.com>
parents:
219
diff
changeset
|
36 |
COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)$(COMPONENT_SRC)/$(COMPONENT_ARCHIVE) |
1058
34d7aaa03423
15886624 Auto-generation of Userland gate list - Phase 3
Rich Burridge <rich.burridge@oracle.com>
parents:
800
diff
changeset
|
37 |
COMPONENT_BUGDB= library/libmpfr |
219
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
38 |
|
1948
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
39 |
TPNO= 17709 |
2d1537e7942d
18978320 Userland components should specify TPNOs in Makefiles instead of pkg manifests
John Beck <John.Beck@Oracle.COM>
parents:
1434
diff
changeset
|
40 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
41 |
include $(WS_MAKE_RULES)/prep.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
42 |
include $(WS_MAKE_RULES)/configure.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
43 |
include $(WS_MAKE_RULES)/ips.mk |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
44 |
include $(WS_MAKE_RULES)/lint-libraries.mk |
219
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
45 |
|
4252
891a844655c4
20992358 clean/clobber in many components no longer deletes the build directory
Norm Jacobs <Norm.Jacobs@Oracle.COM>
parents:
3823
diff
changeset
|
46 |
CLEAN_PATHS += libmpfr.pc |
219
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
47 |
PATCH_LEVEL = 0 |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
48 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
49 |
CFLAGS += -features=extinl,extensions |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
50 |
CFLAGS += -xustr=ascii_utf16_ushort -xcsi |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
51 |
# -xthreadvar=%all: allow thread-local storage via __thread |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
52 |
# qualifier for all types of variables (global, static and dynamic) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
53 |
CFLAGS += -xthreadvar=%all -mt $(CPP_C99_EXTENDED_MATH) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
54 |
CFLAGS += $(studio_C99_ENABLE) $(CPP_XPG6MODE) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
55 |
CFLAGS += $(studio_PIC) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
56 |
LDFLAGS += $(LD_Z_REDLOCSYM) $(LD_Z_RESCAN_NOW) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
57 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
58 |
MPN32_i386 = x86/pentium x86 generic |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
59 |
MPN64_i386 = x86_64/pentium4 x86_64 generic |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
60 |
MPN32_sparc = sparc32/v9 sparc32 generic |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
61 |
MPN64_sparc = sparc64 generic |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
62 |
MPN32 = $(MPN32_$(MACH)) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
63 |
MPN64 = $(MPN64_$(MACH)) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
64 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
65 |
GMPINCDIR = /usr/include/gmp |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
66 |
GMPLIBDIR_32 = /usr/lib |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
67 |
GMPLIBDIR_64 = /usr/lib/$(MACH64) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
68 |
MPFRMULHIGH = 2048 |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
69 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
70 |
GSED = /usr/bin/gsed |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
71 |
|
3823
8a78c695182b
20460374 GNUMP should have some master test results to compare against
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
72 |
COMPONENT_TEST_TRANSFORMS += \ |
8a78c695182b
20460374 GNUMP should have some master test results to compare against
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
73 |
'-e "/libtool/d"' \ |
8a78c695182b
20460374 GNUMP should have some master test results to compare against
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
74 |
'-e "/-m32/d"' \ |
8a78c695182b
20460374 GNUMP should have some master test results to compare against
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
75 |
'-e "/-m64/d"' \ |
8a78c695182b
20460374 GNUMP should have some master test results to compare against
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
76 |
'-e "/DEPDIR=/d"' \ |
8a78c695182b
20460374 GNUMP should have some master test results to compare against
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
77 |
'-e "s/^make\[[0-9]\{1,\}\]/make/g"' |
8a78c695182b
20460374 GNUMP should have some master test results to compare against
Stefan Teleman <stefan.teleman@oracle.com>
parents:
3817
diff
changeset
|
78 |
|
219
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
79 |
CONFIGURE_ENV += CC="$(CC)" |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
80 |
CONFIGURE_ENV += CFLAGS="$(CFLAGS)" |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
81 |
CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)" |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
82 |
CONFIGURE_ENV += LD="$(CC) $(CFLAGS) $(LDFLAGS)" |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
83 |
CONFIGURE_ENV += LDFLAGS="$(LDFLAGS)" |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
84 |
CONFIGURE_ENV += CPP="$(CC) $(CPPFLAGS) $(CFLAGS) -E" |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
85 |
CONFIGURE_ENV += INSTALL="$(INSTALL)" |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
86 |
CONFIGURE_ENV += SED="$(GSED)" |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
87 |
CONFIGURE_ENV += ABI="$(BITS)" |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
88 |
CONFIGURE_ENV += "MPN_PATH=$(MPN_$(BITS))" |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
89 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
90 |
CONFIGURE_OPTIONS += --includedir=/usr/include/mpfr |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
91 |
CONFIGURE_OPTIONS += --localstatedir=/var |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
92 |
CONFIGURE_OPTIONS += --enable-shared |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
93 |
CONFIGURE_OPTIONS += --disable-static |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
94 |
CONFIGURE_OPTIONS += --disable-libtool-lock |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
95 |
CONFIGURE_OPTIONS += --enable-thread-safe |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
96 |
CONFIGURE_OPTIONS += --enable-tests-timeout=0 |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
97 |
CONFIGURE_OPTIONS += --with-gmp-include=$(GMPINCDIR) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
98 |
CONFIGURE_OPTIONS += --with-gmp-lib=$(GMPLIBDIR_$(BITS)) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
99 |
CONFIGURE_OPTIONS += --with-mulhigh-size=$(MPFRMULHIGH) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
100 |
CONFIGURE_OPTIONS += --with-pic |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
101 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
102 |
LINT_FLAGS += -I/usr/include/gmp |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
103 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
104 |
PROTOUSRSHAREINFODIR = $(PROTOUSRSHAREDIR)/info |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
105 |
PROTOUSRSHAREHTMLDIR = $(PROTOUSRSHAREDIR)/doc/mpfr/html |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
106 |
PROTOUSRSHAREMAN3DIR = $(PROTOUSRSHAREDIR)/man/man3 |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
107 |
PROTOUSRINCLUDEDIR = $(PROTOUSRDIR)/include |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
108 |
PROTOPKGCONFIGDIR = $(PROTOUSRLIBDIR)/pkgconfig |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
109 |
PROTOPKGCONFIGDIR64 = $(PROTOUSRLIBDIR64)/pkgconfig |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
110 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
111 |
COMPONENT_POST_INSTALL_ACTION = \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
112 |
( $(MKDIR) $(PROTOUSRSHAREHTMLDIR) ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
113 |
$(MKDIR) $(PROTOUSRSHAREMAN3DIR) ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
114 |
$(MKDIR) $(PROTOPKGCONFIGDIR) ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
115 |
$(MKDIR) $(PROTOPKGCONFIGDIR64) ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
116 |
$(GSED) -e "s^\#include <gmp.h>^\#include <gmp/gmp.h>^g" \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
117 |
$(PROTOUSRINCLUDEDIR)/mpfr/mpfr.h > \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
118 |
$(PROTOUSRINCLUDEDIR)/mpfr/mpfr.h.sed ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
119 |
$(CP) -fp $(PROTOUSRINCLUDEDIR)/mpfr/mpfr.h.sed \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
120 |
$(PROTOUSRINCLUDEDIR)/mpfr/mpfr.h ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
121 |
$(RM) -f $(PROTOUSRINCLUDEDIR)/mpfr/mpfr.h.sed ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
122 |
$(GSED) -e "s/MACH64/$(MACH64)/g" \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
123 |
$(COMPONENT_DIR)/Solaris/libmpfr-64.pc > $(COMPONENT_DIR)/libmpfr.pc ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
124 |
$(INSTALL) -m 0644 $(COMPONENT_DIR)/Solaris/index.html \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
125 |
$(PROTOUSRSHAREHTMLDIR)/ ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
126 |
$(INSTALL) -m 0644 $(COMPONENT_DIR)/Solaris/libmpfr.pc \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
127 |
$(PROTOPKGCONFIGDIR) ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
128 |
$(INSTALL) -m 0644 $(COMPONENT_DIR)/libmpfr.pc \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
129 |
$(PROTOPKGCONFIGDIR64) ; \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
130 |
$(INSTALL) -m 0644 $(COMPONENT_DIR)/Solaris/libmpfr.3 \ |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
131 |
$(PROTOUSRSHAREMAN3DIR)/ ) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
132 |
|
1434
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
133 |
ASLR_MODE = $(ASLR_NOT_APPLICABLE) |
c782e620dd26
17296512 Add ASLR_NOT_APPLICABLE as an ASLR mode in Userland
Rich Burridge <rich.burridge@oracle.com>
parents:
1058
diff
changeset
|
134 |
|
219
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
135 |
# common targets |
2225
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
136 |
configure: $(CONFIGURE_32_and_64) |
f064d3d3190d
20078677 Userland Makefiles should support a configure: target
John Beck <John.Beck@Oracle.COM>
parents:
1948
diff
changeset
|
137 |
|
219
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
138 |
build: $(BUILD_32_and_64) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
139 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
140 |
install: $(INSTALL_32_and_64) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
141 |
|
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
142 |
test: $(TEST_32_and_64) |
22d9e175d379
7041521 GNU MP to Userland
Stefan Teleman <stefan.teleman@oracle.com>
parents:
diff
changeset
|
143 |
|
3817
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
144 |
REQUIRED_PACKAGES += library/gmp |
30b42c38bbc4
15786608 SUNBT7162754 create new meta package developer/opensolaris/userland
Norm Jacobs <Norm.Jacobs@Sun.COM>
parents:
2225
diff
changeset
|
145 |
REQUIRED_PACKAGES += system/library |