xref: /onnv-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/Makefile (revision 4960:a4746a82a247)
1*4960Swillf#
2*4960Swillf# CDDL HEADER START
3*4960Swillf#
4*4960Swillf# The contents of this file are subject to the terms of the
5*4960Swillf# Common Development and Distribution License (the "License").
6*4960Swillf# You may not use this file except in compliance with the License.
7*4960Swillf#
8*4960Swillf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*4960Swillf# or http://www.opensolaris.org/os/licensing.
10*4960Swillf# See the License for the specific language governing permissions
11*4960Swillf# and limitations under the License.
12*4960Swillf#
13*4960Swillf# When distributing Covered Code, include this CDDL HEADER in each
14*4960Swillf# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*4960Swillf# If applicable, add the following below this CDDL HEADER, with the
16*4960Swillf# fields enclosed by brackets "[]" replaced with your own identifying
17*4960Swillf# information: Portions Copyright [yyyy] [name of copyright owner]
18*4960Swillf#
19*4960Swillf# CDDL HEADER END
20*4960Swillf#
21*4960Swillf#
22*4960Swillf# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
23*4960Swillf# Use is subject to license terms.
24*4960Swillf#
25*4960Swillf# ident	"%Z%%M%	%I%	%E% SMI"
26*4960Swillf#
27*4960Swillf
28*4960Swillfinclude		$(SRC)/lib/krb5/Makefile.lib
29*4960Swillf
30*4960Swillfinclude $(SRC)/lib/gss_mechs/mech_krb5/Makefile.mech_krb5
31*4960Swillf
32*4960SwillfSUBDIRS=	$(MACH)
33*4960Swillf
34*4960Swillfall :=		TARGET= all
35*4960Swillfclean :=	TARGET= clean
36*4960Swillfclobber :=	TARGET= clobber
37*4960Swillfinstall :=	TARGET= install
38*4960Swillflint :=		TARGET= lint
39*4960Swillf_msg :=		TARGET= _msg
40*4960Swillf
41*4960SwillfLDIF= kerberos.ldif
42*4960SwillfROOTSHLDIFDIR= $(ROOT)/usr/share/lib/ldif
43*4960SwillfROOTLDIF= $(LDIF:%=$(ROOTSHLDIFDIR)/%)
44*4960Swillf$(ROOTLDIF) :=	FILEMODE= 444
45*4960Swillf
46*4960Swillf.KEEP_STATE:
47*4960Swillf
48*4960Swillfall clean clobber lint _msg: $(SUBDIRS)
49*4960Swillf
50*4960Swillf$(ROOTLIBDIR):
51*4960Swillf	$(INS.dir)
52*4960Swillf
53*4960Swillf$(ROOTLIBDIR)/%: %
54*4960Swillf	$(INS.file)
55*4960Swillf
56*4960Swillf$(ROOTSHLDIFDIR):
57*4960Swillf	$(INS.dir)
58*4960Swillf
59*4960Swillf$(ROOTSHLDIFDIR)/%: %
60*4960Swillf	$(INS.file)
61*4960Swillf
62*4960Swillfinstall:   $(ROOTLIBDIR) $(ROOTLDIF) $(SUBDIRS)
63*4960Swillf
64*4960Swillf$(SUBDIRS): FRC
65*4960Swillf	@cd $@; pwd; $(MAKE) $(TARGET)
66*4960Swillf
67*4960SwillfFRC:
68