xref: /titanic_52/usr/src/cmd/gss/Makefile (revision 7c478bd95313f5f23a4c958a745db2134aa03244)
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) 1997 - 1998 by Sun Microsystems, Inc.
24# All rights reserved.
25#
26#ident	"%Z%%M%	%I%	%E% SMI"
27#
28# cmd/gss/Makefile
29#
30# include global definitions
31include ../../Makefile.master
32
33COMMON_SUBDIRS=		\
34	etc		\
35	gssd		\
36	gsscred		\
37	gsscred_clean
38
39i386_SUBDIRS=
40
41sparc_SUBDIRS=
42
43#
44# commands that are messaged
45# note that 'lp' comes first (see previous comment about 'lp')
46#
47MSGSUBDIRS= gssd gsscred
48
49#
50# commands that use dcgettext for localized time, LC_TIME
51#
52DCSUBDIRS=
53
54#
55# commands that belong only to the basic security module
56#
57BSMSUBDIRS=
58
59#
60# commands not owned by the systems group
61#
62BWOSDIRS=
63
64all :=		TARGET= all
65install :=	TARGET= install
66install_h :=	TARGET= install_h
67check :=	TARGET= check
68clean :=	TARGET= clean
69clobber :=	TARGET= clobber
70lint :=		TARGET= lint
71_msg :=		TARGET= _msg
72_dc :=		TARGET= _dc
73
74.KEEP_STATE:
75
76SUBDIRS = $(COMMON_SUBDIRS)  $($(MACH)_SUBDIRS)
77
78.PARALLEL:	$(BWOSDIRS) $(SUBDIRS) $(MSGSUBDIRS)  $(BSMSUBDIRS)
79
80all install clean clobber lint: $(SUBDIRS) $(BSMSUBDIRS)
81
82# those commands which install headers possibly needed by other commands.
83install_h check:
84
85_msg: $(MSGSUBDIRS) _dc
86
87_dc: $(DCSUBDIRS)
88
89$(BWOSDIRS) $(SUBDIRS) $(BSMSUBDIRS): FRC
90	@cd $@; pwd; $(MAKE) $(TARGET)
91
92FRC:
93