0
|
1 |
#
|
|
2 |
# CDDL HEADER START
|
|
3 |
#
|
|
4 |
# The contents of this file are subject to the terms of the
|
|
5 |
# Common Development and Distribution License (the "License").
|
|
6 |
# You may not use this file except in compliance with the License.
|
|
7 |
#
|
|
8 |
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
|
|
9 |
# or http://www.opensolaris.org/os/licensing.
|
|
10 |
# See the License for the specific language governing permissions
|
|
11 |
# and limitations under the License.
|
|
12 |
#
|
|
13 |
# When distributing Covered Code, include this CDDL HEADER in each
|
|
14 |
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
|
|
15 |
# If applicable, add the following below this CDDL HEADER, with the
|
|
16 |
# fields enclosed by brackets "[]" replaced with your own identifying
|
|
17 |
# information: Portions Copyright [yyyy] [name of copyright owner]
|
|
18 |
#
|
|
19 |
# CDDL HEADER END
|
|
20 |
#
|
|
21 |
|
|
22 |
#
|
11
|
23 |
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
|
0
|
24 |
# Use is subject to license terms.
|
|
25 |
#
|
11
|
26 |
# ident "@(#)Makefile.sfw 1.3 10/03/16 SMI"
|
0
|
27 |
#
|
|
28 |
|
|
29 |
VER=$(COMPONENT_NAME:sh)-$(COMPONENT_VERSION:sh)
|
|
30 |
TARBALL=$(VER).tar.gz
|
|
31 |
|
|
32 |
PKG=$(COMPONENT_PACKAGES:sh)
|
|
33 |
|
|
34 |
MAN3DIR=blib/man3
|
|
35 |
|
|
36 |
_ARCH:sh=arch
|
|
37 |
PLARCH=$(_ARCH)-solaris-64int
|
|
38 |
PLVER=5.8.4
|
|
39 |
PLDIR=$(ROOT)/usr/perl5/$(PLVER)
|
|
40 |
PLVENDORDIR=$(ROOT)/usr/perl5/vendor_perl/$(PLVER)
|
|
41 |
PLVENDORARCHDIR=$(PLVENDORDIR)/$(PLARCH)
|
|
42 |
|
|
43 |
include ../Makefile.lib
|
|
44 |
|
|
45 |
all: $(VER)/Makefile
|
|
46 |
$(INCREFIXUP) $(VER)
|
|
47 |
cd $(VER); env - PATH=$(SFW_PATH) \
|
|
48 |
MAKE=$(CCSMAKE) \
|
|
49 |
$(CCSMAKE)
|
|
50 |
|
|
51 |
$(VER)/Makefile: $(VER)/.unpacked
|
|
52 |
cd $(VER); \
|
|
53 |
env - \
|
|
54 |
PATH=$(SFW_PATH) \
|
|
55 |
echo "n" | $(PERL) Makefile.PL -- \
|
|
56 |
INSTALLDIRS=vendor \
|
|
57 |
INSTALLVENDORARCH=$(PLVENDORARCHDIR) \
|
|
58 |
INSTALLVENDORMAN1DIR=$(PLDIR)/man/man1 \
|
|
59 |
INSTALLVENDORMAN3DIR=$(PLDIR)/man/man3
|
|
60 |
|
|
61 |
install: all
|
|
62 |
$(SRC)/tools/protofix --write --pkg $(PKG)
|
|
63 |
cd $(VER); \
|
11
|
64 |
$(SRC)/tools/sunman -n Net::SSLeay -p library/perl-5/net-ssleay \
|
0
|
65 |
-s Volatile $(MAN3DIR)/Net::SSLeay.3 \
|
|
66 |
-s Volatile $(MAN3DIR)/Net::SSLeay::Handle.3; \
|
|
67 |
env - PATH=$(SFW_PATH) MAKE=$(CCSMAKE) \
|
|
68 |
$(CCSMAKE) pure_install;
|
|
69 |
$(SRC)/tools/protofix --perm --pkg $(PKG)
|
|
70 |
|
|
71 |
clean:
|
|
72 |
-rm -rf $(VER)
|
|
73 |
|
|
74 |
install_h:
|
|
75 |
|
|
76 |
include ../Makefile.targ
|
|
77 |
|