xref: /titanic_44/usr/src/lib/libkrb5/Makefile.com (revision 10db1377dafab8ba3feedef26db9c5d8539a5cd1)
1*10db1377Sgtb#
2*10db1377Sgtb# CDDL HEADER START
3*10db1377Sgtb#
4*10db1377Sgtb# The contents of this file are subject to the terms of the
5*10db1377Sgtb# Common Development and Distribution License (the "License").
6*10db1377Sgtb# You may not use this file except in compliance with the License.
7*10db1377Sgtb#
8*10db1377Sgtb# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*10db1377Sgtb# or http://www.opensolaris.org/os/licensing.
10*10db1377Sgtb# See the License for the specific language governing permissions
11*10db1377Sgtb# and limitations under the License.
12*10db1377Sgtb#
13*10db1377Sgtb# When distributing Covered Code, include this CDDL HEADER in each
14*10db1377Sgtb# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*10db1377Sgtb# If applicable, add the following below this CDDL HEADER, with the
16*10db1377Sgtb# fields enclosed by brackets "[]" replaced with your own identifying
17*10db1377Sgtb# information: Portions Copyright [yyyy] [name of copyright owner]
18*10db1377Sgtb#
19*10db1377Sgtb# CDDL HEADER END
20*10db1377Sgtb#
21*10db1377Sgtb#
22*10db1377Sgtb# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
23*10db1377Sgtb# Use is subject to license terms.
24*10db1377Sgtb#
25*10db1377Sgtb# ident	"%Z%%M%	%I%	%E% SMI"
26*10db1377Sgtb#
27*10db1377Sgtb# lib/libkrb5/Makefile.com
28*10db1377Sgtb#
29*10db1377Sgtb
30*10db1377Sgtb# include library definitions
31*10db1377Sgtbinclude $(SRC)/lib/Makefile.lib
32*10db1377Sgtb
33*10db1377SgtbLIBRARY= libkrb5.a
34*10db1377SgtbLLIBRARY= libkrb5.so.1
35*10db1377SgtbVERS= .1
36*10db1377SgtbMAPFILE=../common/mapfile
37*10db1377Sgtb
38*10db1377Sgtb
39*10db1377SgtbLIBS=		$(DYNLIB)
40*10db1377Sgtb
41*10db1377Sgtb#override liblink
42*10db1377SgtbINS.liblink=	-$(RM) $@; $(SYMLINK) $(LIBLINKS)$(VERS) $@
43*10db1377Sgtb
44*10db1377Sgtb.KEEP_STATE:
45*10db1377Sgtb
46*10db1377Sgtball:	$(LIBS)
47*10db1377Sgtb
48*10db1377Sgtb
49*10db1377Sgtb$(LIBS):	$(MAPFILE)
50*10db1377Sgtb	$(LD) $(DYNFLAGS) -o $@ -M$(MAPFILE)
51*10db1377Sgtb
52*10db1377Sgtb
53*10db1377Sgtb
54*10db1377Sgtb$(ROOTLIBDIR)/$(DYNLIB) :=	FILEMODE= 755
55*10db1377Sgtb$(ROOTLIBDIR64)/$(DYNLIB) :=	FILEMODE= 755
56*10db1377Sgtb
57*10db1377Sgtb$(ROOTLIBDIR)/%: %
58*10db1377Sgtb	$(INS.file)
59*10db1377Sgtb$(ROOTLIBDIR64)/%: %
60*10db1377Sgtb	$(INS.file)
61*10db1377Sgtb
62*10db1377Sgtb$(ROOTLIBDIR)/$(LIBLINKS): $(ROOTLIBDIR)/$(LIBLINKS)$(VERS)
63*10db1377Sgtb	$(INS.liblink)
64*10db1377Sgtb$(ROOTLIBDIR64)/$(LIBLINKS): $(ROOTLIBDIR64)/$(LIBLINKS)$(VERS)
65*10db1377Sgtb	$(INS.liblink64)
66*10db1377Sgtb
67*10db1377Sgtbclobber: clean
68*10db1377Sgtb	-$(RM) $(CLOBBERTARGFILES)
69*10db1377Sgtb
70*10db1377Sgtbclean:
71*10db1377Sgtb	-$(RM) $(LIBS)
72