xref: /titanic_50/usr/src/cmd/gss/gsscred_clean/Makefile (revision 2eeaed14a5e2ed9bd811643ad5bffc3510ca0310)
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# Copyright (c) 1998 by Sun Microsystems, Inc.
24# All rights reserved.
25#
26#ident	"%Z%%M%	%I%	%E% SMI"
27#
28# cmd/gss/gsscred_clean/Makefile
29#
30
31PROG=	gsscred_clean
32
33SRCS=	gsscred_clean.ksh
34
35
36include ../../Makefile.cmd
37
38#
39# Override $ROOTLIB
40#
41ROOTLIB=	$(ROOT)/usr/lib/gss
42
43DIRS=	$(ROOTLIB)
44
45
46#
47# Override $FILEMODE
48#
49FILEMODE=744
50
51
52#
53# Set owner to root since it is executed out of crontab by root
54#
55OWNER=root
56GROUP=sys
57
58
59.KEEP_STATE:
60
61#
62# Rule for ksh files
63#
64.SUFFIXES:	.ksh
65
66.ksh:
67	$(RM) $@
68	cat $< > $@
69	chmod +x $@
70
71
72all: $(PROG)
73
74$(ROOTLIB):
75	$(INS.dir)
76
77$(ROOTLIB)/%:	%
78	$(INS.file)
79
80install: all $(DIRS) $(ROOTLIBPROG)
81
82clean:
83
84clobber:
85
86lint:
87
88include ../../Makefile.targ
89