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.
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.
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]
22 # Copyright 2007 Sun Microsystems, Inc. All rights reserved.
23 # Use is subject to license terms.
27 # This make file will build mech_krb5.so.1. This shared object
28 # contains all the functionality needed to support the Kereros V5 GSS-API
29 # mechanism. No other Kerberos libraries are needed.
32 include ..
/..
/..
/Makefile.master
35 $(BUILD64
)SUBDIRS
+= $(MACH64
)
37 # include library definitions
38 include ..
/..
/Makefile.lib
40 GREP
= find . \
( -name SCCS
-prune
-o
-name
'*.[ch]' \
) -print |
sort | xargs grep
42 sparcv9_C_PICFLAGS
= -K PIC
43 TEXT_DOMAIN
= SUNW_OST_NETRPC
49 CHECKHDRS
= $(HDRS
:%.h
=%.
check)
55 clean := TARGET
= clean
56 clobber := TARGET
= clobber
57 install := TARGET
= install
62 all clean lint
: $(SUBDIRS
)
64 install: install_dir
all .WAIT
$(SUBDIRS
)
66 # override ROOTLIBDIR and ROOTLINKS
67 ROOTLIBDIR
= $(ROOT
)/usr
/lib
/gss
69 install_dir
: $(ROOTLIBDIR
) $(BUILD64
)
74 $(RM
) $(POFILE
) $(POFILES
)
79 cd pkg
; pwd
; $(MAKE
) install
85 # include library targets
86 # include ../../Makefile.targ
89 @cd
$@
; pwd
; $(MAKE
) $(TARGET
)
93 _msg
: $(MSGDOMAIN
) .WAIT
$(POFILE
)
94 $(RM
) $(MSGDOMAIN
)/$(POFILE
)
95 $(CP
) $(POFILE
) $(MSGDOMAIN
)
97 $(POFILE
): $(DERIVED_FILES
) .WAIT
$(POFILES
)
99 $(CAT
) $(POFILES
) > $@
103 -$(XGETTEXT
) $(XGETFLAGS
) `$(GREP) -s -l gettext`
104 $(SED
) "/^domain/d" messages.po
> $@