xref: /illumos-gate/usr/src/cmd/krb5/kadmin/Makefile (revision 1fceb383)
17c478bd9Sstevel@tonic-gate#
2*1fceb383Ssemery# CDDL HEADER START
3*1fceb383Ssemery#
4*1fceb383Ssemery# The contents of this file are subject to the terms of the
5*1fceb383Ssemery# Common Development and Distribution License (the "License").
6*1fceb383Ssemery# You may not use this file except in compliance with the License.
7*1fceb383Ssemery#
8*1fceb383Ssemery# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*1fceb383Ssemery# or http://www.opensolaris.org/os/licensing.
10*1fceb383Ssemery# See the License for the specific language governing permissions
11*1fceb383Ssemery# and limitations under the License.
12*1fceb383Ssemery#
13*1fceb383Ssemery# When distributing Covered Code, include this CDDL HEADER in each
14*1fceb383Ssemery# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*1fceb383Ssemery# If applicable, add the following below this CDDL HEADER, with the
16*1fceb383Ssemery# fields enclosed by brackets "[]" replaced with your own identifying
17*1fceb383Ssemery# information: Portions Copyright [yyyy] [name of copyright owner]
18*1fceb383Ssemery#
19*1fceb383Ssemery# CDDL HEADER END
20*1fceb383Ssemery#
21*1fceb383Ssemery# Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
227c478bd9Sstevel@tonic-gate# Use is subject to license terms.
237c478bd9Sstevel@tonic-gate#
247c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
257c478bd9Sstevel@tonic-gate#
267c478bd9Sstevel@tonic-gate# cmd/krb5/kadmin/Makefile
277c478bd9Sstevel@tonic-gate
287c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd
297c478bd9Sstevel@tonic-gate
30*1fceb383SsemerySUBDIRS= cli dbutil ktutil kpasswd server kclient kdcmgr
317c478bd9Sstevel@tonic-gate# EXPORT DELETE START
327c478bd9Sstevel@tonic-gateSUBDIRS += gui
337c478bd9Sstevel@tonic-gate# EXPORT DELETE END
347c478bd9Sstevel@tonic-gate
357c478bd9Sstevel@tonic-gateall :=		TARGET= all
367c478bd9Sstevel@tonic-gateclean :=	TARGET= clean
377c478bd9Sstevel@tonic-gateclobber :=	TARGET= clobber
387c478bd9Sstevel@tonic-gatedelete :=	TARGET= delete
397c478bd9Sstevel@tonic-gateinstall :=	TARGET= install
407c478bd9Sstevel@tonic-gatelint :=		TARGET= lint
417c478bd9Sstevel@tonic-gatecatalog :=	TARGET= catalog
427c478bd9Sstevel@tonic-gatepackage :=	TARGET= package
437c478bd9Sstevel@tonic-gate_msg:=          TARGET= _msg
447c478bd9Sstevel@tonic-gate
457c478bd9Sstevel@tonic-gate_msg:	$(SUBDIRS)
467c478bd9Sstevel@tonic-gate
477c478bd9Sstevel@tonic-gate.KEEP_STATE:
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gateall clean clobber delete install lint catalog package: $(SUBDIRS)
507c478bd9Sstevel@tonic-gate
517c478bd9Sstevel@tonic-gate# install rule for install_h target
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gateinstall: $(SUBDIRS)
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gatecheck: $(CHECKHDRS)
567c478bd9Sstevel@tonic-gate
577c478bd9Sstevel@tonic-gate$(SUBDIRS):	FRC
587c478bd9Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(TARGET)
597c478bd9Sstevel@tonic-gate
607c478bd9Sstevel@tonic-gateFRC:
617c478bd9Sstevel@tonic-gate
627c478bd9Sstevel@tonic-gate# EXPORT DELETE START
637c478bd9Sstevel@tonic-gateEXPORT_SRC:
647c478bd9Sstevel@tonic-gate	$(RM) -r gui
657c478bd9Sstevel@tonic-gate	$(RM) Makefile+
667c478bd9Sstevel@tonic-gate	$(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
677c478bd9Sstevel@tonic-gate                < Makefile > Makefile+
687c478bd9Sstevel@tonic-gate	$(MV) Makefile+ Makefile
697c478bd9Sstevel@tonic-gate	$(CHMOD) 444 Makefile
707c478bd9Sstevel@tonic-gate# EXPORT DELETE END
71