Print this page
9884 cw(1) should use -fpic rather than -Kpic
Split |
Close |
Expand all |
Collapse all |
--- old/usr/src/lib/gss_mechs/mech_krb5/Makefile
+++ new/usr/src/lib/gss_mechs/mech_krb5/Makefile
1 1 #
2 2 # CDDL HEADER START
3 3 #
4 4 # The contents of this file are subject to the terms of the
5 5 # Common Development and Distribution License (the "License").
6 6 # You may not use this file except in compliance with the License.
7 7 #
8 8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 9 # or http://www.opensolaris.org/os/licensing.
10 10 # See the License for the specific language governing permissions
11 11 # and limitations under the License.
12 12 #
13 13 # When distributing Covered Code, include this CDDL HEADER in each
14 14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 15 # If applicable, add the following below this CDDL HEADER, with the
16 16 # fields enclosed by brackets "[]" replaced with your own identifying
17 17 # information: Portions Copyright [yyyy] [name of copyright owner]
18 18 #
19 19 # CDDL HEADER END
20 20 #
21 21 #
22 22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 23 # Use is subject to license terms.
24 24 #
25 25
26 26 #
27 27 # This make file will build mech_krb5.so.1. This shared object
28 28 # contains all the functionality needed to support the Kereros V5 GSS-API
29 29 # mechanism. No other Kerberos libraries are needed.
30 30 #
31 31
↓ open down ↓ |
31 lines elided |
↑ open up ↑ |
32 32 include ../../../Makefile.master
33 33
34 34 SUBDIRS = $(MACH)
35 35 $(BUILD64)SUBDIRS += $(MACH64)
36 36
37 37 # include library definitions
38 38 include ../../Makefile.lib
39 39
40 40 GREP= find . \( -name SCCS -prune -o -name '*.[ch]' \) -print | sort | xargs grep
41 41
42 -sparcv9_C_PICFLAGS = -K PIC
42 +sparcv9_C_PICFLAGS = $(sparcv9_C_BIGPICFLAGS)
43 43 TEXT_DOMAIN = SUNW_OST_NETRPC
44 44 POFILE = mech_krb5.po
45 45 POFILES = generic.po
46 46
47 47 HDRS=
48 48
49 49 CHECKHDRS= $(HDRS:%.h=%.check)
50 50
51 51 $(ROOTDIRS)/%: %
52 52 $(INS.file)
53 53
54 54 all := TARGET= all
55 55 clean := TARGET= clean
56 56 clobber := TARGET= clobber
57 57 install := TARGET= install
58 58 lint := TARGET= lint
59 59
60 60 .KEEP_STATE:
61 61
62 62 all clean lint: $(SUBDIRS)
63 63
64 64 install: install_dir all .WAIT $(SUBDIRS)
65 65
66 66 # override ROOTLIBDIR and ROOTLINKS
67 67 ROOTLIBDIR= $(ROOT)/usr/lib/gss
68 68
69 69 install_dir: $(ROOTLIBDIR) $(BUILD64)
70 70
71 71 install_h:
72 72
73 73 clobber: $(SUBDIRS)
74 74 $(RM) $(POFILE) $(POFILES)
75 75
76 76 check: $(CHECKHDRS)
77 77
78 78 do_pkg:
79 79 cd pkg ; pwd ; $(MAKE) install
80 80
81 81 $(ROOTLIBDIR):
82 82 $(INS.dir)
83 83
84 84
85 85 # include library targets
86 86 # include ../../Makefile.targ
87 87
88 88 $(SUBDIRS): FRC
89 89 @cd $@; pwd; $(MAKE) $(TARGET)
90 90
91 91 FRC:
92 92
93 93 _msg: $(MSGDOMAIN) .WAIT $(POFILE)
94 94 $(RM) $(MSGDOMAIN)/$(POFILE)
95 95 $(CP) $(POFILE) $(MSGDOMAIN)
96 96
97 97 $(POFILE): $(DERIVED_FILES) .WAIT $(POFILES)
98 98 $(RM) $@
99 99 $(CAT) $(POFILES) > $@
100 100
101 101 generic.po: FRC
102 102 $(RM) messages.po
103 103 -$(XGETTEXT) $(XGETFLAGS) `$(GREP) -s -l gettext`
104 104 $(SED) "/^domain/d" messages.po > $@
105 105 $(RM) messages.po
106 106
107 107 $(MSGDOMAIN):
108 108 $(INS.dir)
↓ open down ↓ |
56 lines elided |
↑ open up ↑ |
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX