xref: /titanic_51/usr/src/cmd/gss/etc/Makefile (revision 749f21d359d8fbd020c974a1a5227316221bfc9c)
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, Version 1.0 only
6# (the "License").  You may not use this file except in compliance
7# with the License.
8#
9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
10# or http://www.opensolaris.org/os/licensing.
11# See the License for the specific language governing permissions
12# and limitations under the License.
13#
14# When distributing Covered Code, include this CDDL HEADER in each
15# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
16# If applicable, add the following below this CDDL HEADER, with the
17# fields enclosed by brackets "[]" replaced with your own identifying
18# information: Portions Copyright [yyyy] [name of copyright owner]
19#
20# CDDL HEADER END
21#
22#
23#ident	"%Z%%M%	%I%	%E% SMI"
24#
25# Copyright (c) 1996-2000 by Sun Microsystems, Inc.
26# All rights reserved.
27#
28
29include ../../Makefile.cmd
30
31TXTS=
32GSSTXTS= mech qop gsscred.conf
33KRB5TXTS= warn.conf krb5.conf kdc.conf kpropd.acl kadm5.acl
34
35IETCFILES=			$(TXTS:%=$(ROOTETC)/%)
36IETCGSSFILES=			$(GSSTXTS:%=$(ROOTETC)/gss/%)
37IETCKRB5FILES=			$(KRB5TXTS:%=$(ROOTETC)/krb5/%)
38GSSDIR=				$(ROOTETC)/gss
39KRB5DIR=			$(ROOTETC)/krb5
40
41FILEMODE= 0644
42OWNER= root
43GROUP= sys
44
45
46.KEEP_STATE:
47
48all: $(TXTS) $(GSSTXTS) dummy_mech_token.conf
49
50dummy_mech_token.conf:	dummy_mech_token.conf.sh
51			$(RM) $@
52			sh dummy_mech_token.conf.sh
53
54install: all $(GSSDIR) $(KRB5DIR) $(IETCFILES) $(IETCGSSFILES) $(IETCKRB5FILES)
55
56install_h:
57
58$(GSSDIR):
59	$(INS.dir)
60
61$(KRB5DIR):
62	$(INS.dir)
63
64$(ROOTETC)/%: %
65	$(INS.file)
66
67$(ROOTETC)/gss/%: %
68	$(INS.file)
69
70$(ROOTETC)/krb5/%: %
71	$(INS.file)
72
73FRC:
74
75include ../../Makefile.targ
76
77CLOBBERFILES += dummy_mech_token.conf
78
79clean lint:
80