xref: /illumos-gate/usr/src/cmd/krb5/kadmin/Makefile (revision 159d09a2)
17c478bd9Sstevel@tonic-gate#
21fceb383Ssemery# CDDL HEADER START
31fceb383Ssemery#
41fceb383Ssemery# The contents of this file are subject to the terms of the
51fceb383Ssemery# Common Development and Distribution License (the "License").
61fceb383Ssemery# You may not use this file except in compliance with the License.
71fceb383Ssemery#
81fceb383Ssemery# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
91fceb383Ssemery# or http://www.opensolaris.org/os/licensing.
101fceb383Ssemery# See the License for the specific language governing permissions
111fceb383Ssemery# and limitations under the License.
121fceb383Ssemery#
131fceb383Ssemery# When distributing Covered Code, include this CDDL HEADER in each
141fceb383Ssemery# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
151fceb383Ssemery# If applicable, add the following below this CDDL HEADER, with the
161fceb383Ssemery# fields enclosed by brackets "[]" replaced with your own identifying
171fceb383Ssemery# information: Portions Copyright [yyyy] [name of copyright owner]
181fceb383Ssemery#
191fceb383Ssemery# CDDL HEADER END
201fceb383Ssemery#
21*159d09a2SMark Phalan# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
227c478bd9Sstevel@tonic-gate# Use is subject to license terms.
237c478bd9Sstevel@tonic-gate#
247c478bd9Sstevel@tonic-gate# cmd/krb5/kadmin/Makefile
257c478bd9Sstevel@tonic-gate
267c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd
277c478bd9Sstevel@tonic-gate
281fceb383SsemerySUBDIRS= cli dbutil ktutil kpasswd server kclient kdcmgr
297c478bd9Sstevel@tonic-gate# EXPORT DELETE START
307c478bd9Sstevel@tonic-gateSUBDIRS += gui
317c478bd9Sstevel@tonic-gate# EXPORT DELETE END
327c478bd9Sstevel@tonic-gate
337c478bd9Sstevel@tonic-gateall :=		TARGET= all
347c478bd9Sstevel@tonic-gateclean :=	TARGET= clean
357c478bd9Sstevel@tonic-gateclobber :=	TARGET= clobber
367c478bd9Sstevel@tonic-gatedelete :=	TARGET= delete
377c478bd9Sstevel@tonic-gateinstall :=	TARGET= install
387c478bd9Sstevel@tonic-gatelint :=		TARGET= lint
397c478bd9Sstevel@tonic-gatecatalog :=	TARGET= catalog
407c478bd9Sstevel@tonic-gatepackage :=	TARGET= package
417c478bd9Sstevel@tonic-gate_msg:=          TARGET= _msg
427c478bd9Sstevel@tonic-gate
437c478bd9Sstevel@tonic-gate_msg:	$(SUBDIRS)
447c478bd9Sstevel@tonic-gate
457c478bd9Sstevel@tonic-gate.KEEP_STATE:
467c478bd9Sstevel@tonic-gate
477c478bd9Sstevel@tonic-gateall clean clobber delete install lint catalog package: $(SUBDIRS)
487c478bd9Sstevel@tonic-gate
497c478bd9Sstevel@tonic-gate# install rule for install_h target
507c478bd9Sstevel@tonic-gate
517c478bd9Sstevel@tonic-gateinstall: $(SUBDIRS)
527c478bd9Sstevel@tonic-gate
537c478bd9Sstevel@tonic-gatecheck: $(CHECKHDRS)
547c478bd9Sstevel@tonic-gate
557c478bd9Sstevel@tonic-gate$(SUBDIRS):	FRC
567c478bd9Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(TARGET)
577c478bd9Sstevel@tonic-gate
587c478bd9Sstevel@tonic-gateFRC:
597c478bd9Sstevel@tonic-gate
607c478bd9Sstevel@tonic-gate# EXPORT DELETE START
617c478bd9Sstevel@tonic-gateEXPORT_SRC:
627c478bd9Sstevel@tonic-gate	$(RM) -r gui
637c478bd9Sstevel@tonic-gate	$(RM) Makefile+
647c478bd9Sstevel@tonic-gate	$(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
657c478bd9Sstevel@tonic-gate                < Makefile > Makefile+
667c478bd9Sstevel@tonic-gate	$(MV) Makefile+ Makefile
677c478bd9Sstevel@tonic-gate	$(CHMOD) 444 Makefile
687c478bd9Sstevel@tonic-gate# EXPORT DELETE END
69