xref: /titanic_52/usr/src/cmd/gss/etc/Makefile (revision ac88567a7a5bb7f01cf22cf366bc9d6203e24d7a)
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 (the "License").
6# You may not use this file except in compliance with the License.
7#
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.
12#
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]
18#
19# CDDL HEADER END
20#
21# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
22# Use is subject to license terms.
23#
24
25include ../../Makefile.cmd
26
27TXTS=
28GSSTXTS= mech qop gsscred.conf
29KRB5TXTS= warn.conf krb5.conf kdc.conf kpropd.acl kadm5.acl
30
31IETCFILES=			$(TXTS:%=$(ROOTETC)/%)
32IETCGSSFILES=			$(GSSTXTS:%=$(ROOTETC)/gss/%)
33IETCKRB5FILES=			$(KRB5TXTS:%=$(ROOTETC)/krb5/%)
34GSSDIR=				$(ROOTETC)/gss
35KRB5DIR=			$(ROOTETC)/krb5
36
37FILEMODE= 0644
38
39.KEEP_STATE:
40
41all: $(TXTS) $(GSSTXTS) dummy_mech_token.conf
42
43dummy_mech_token.conf:	dummy_mech_token.conf.sh
44			$(RM) $@
45			sh dummy_mech_token.conf.sh
46
47install: all $(GSSDIR) $(KRB5DIR) $(IETCFILES) $(IETCGSSFILES) $(IETCKRB5FILES)
48
49install_h:
50
51$(GSSDIR):
52	$(INS.dir)
53
54$(KRB5DIR):
55	$(INS.dir)
56
57$(ROOTETC)/%: %
58	$(INS.file)
59
60$(ROOTETC)/gss/%: %
61	$(INS.file)
62
63$(ROOTETC)/krb5/%: %
64	$(INS.file)
65
66FRC:
67
68include ../../Makefile.targ
69
70CLOBBERFILES += dummy_mech_token.conf
71
72clean lint:
73