xref: /illumos-gate/usr/src/cmd/krb5/kadmin/Makefile (revision 7c478bd9)
1*7c478bd9Sstevel@tonic-gate#
2*7c478bd9Sstevel@tonic-gate# Copyright 1997-2003 Sun Microsystems, Inc.  All rights reserved.
3*7c478bd9Sstevel@tonic-gate# Use is subject to license terms.
4*7c478bd9Sstevel@tonic-gate#
5*7c478bd9Sstevel@tonic-gate# ident	"%Z%%M%	%I%	%E% SMI"
6*7c478bd9Sstevel@tonic-gate#
7*7c478bd9Sstevel@tonic-gate# cmd/krb5/kadmin/Makefile
8*7c478bd9Sstevel@tonic-gate
9*7c478bd9Sstevel@tonic-gateinclude ../../Makefile.cmd
10*7c478bd9Sstevel@tonic-gate
11*7c478bd9Sstevel@tonic-gateSUBDIRS= cli dbutil ktutil kpasswd server kclient
12*7c478bd9Sstevel@tonic-gate# EXPORT DELETE START
13*7c478bd9Sstevel@tonic-gateSUBDIRS += gui
14*7c478bd9Sstevel@tonic-gate# EXPORT DELETE END
15*7c478bd9Sstevel@tonic-gate
16*7c478bd9Sstevel@tonic-gateall :=		TARGET= all
17*7c478bd9Sstevel@tonic-gateclean :=	TARGET= clean
18*7c478bd9Sstevel@tonic-gateclobber :=	TARGET= clobber
19*7c478bd9Sstevel@tonic-gatedelete :=	TARGET= delete
20*7c478bd9Sstevel@tonic-gateinstall :=	TARGET= install
21*7c478bd9Sstevel@tonic-gatelint :=		TARGET= lint
22*7c478bd9Sstevel@tonic-gatecatalog :=	TARGET= catalog
23*7c478bd9Sstevel@tonic-gatepackage :=	TARGET= package
24*7c478bd9Sstevel@tonic-gate_msg:=          TARGET= _msg
25*7c478bd9Sstevel@tonic-gate
26*7c478bd9Sstevel@tonic-gate_msg:	$(SUBDIRS)
27*7c478bd9Sstevel@tonic-gate
28*7c478bd9Sstevel@tonic-gate.KEEP_STATE:
29*7c478bd9Sstevel@tonic-gate
30*7c478bd9Sstevel@tonic-gateall clean clobber delete install lint catalog package: $(SUBDIRS)
31*7c478bd9Sstevel@tonic-gate
32*7c478bd9Sstevel@tonic-gate# install rule for install_h target
33*7c478bd9Sstevel@tonic-gate
34*7c478bd9Sstevel@tonic-gateinstall: $(SUBDIRS)
35*7c478bd9Sstevel@tonic-gate
36*7c478bd9Sstevel@tonic-gatecheck: $(CHECKHDRS)
37*7c478bd9Sstevel@tonic-gate
38*7c478bd9Sstevel@tonic-gate$(SUBDIRS):	FRC
39*7c478bd9Sstevel@tonic-gate	@cd $@; pwd; $(MAKE) $(TARGET)
40*7c478bd9Sstevel@tonic-gate
41*7c478bd9Sstevel@tonic-gateFRC:
42*7c478bd9Sstevel@tonic-gate
43*7c478bd9Sstevel@tonic-gate# EXPORT DELETE START
44*7c478bd9Sstevel@tonic-gateEXPORT_SRC:
45*7c478bd9Sstevel@tonic-gate	$(RM) -r gui
46*7c478bd9Sstevel@tonic-gate	$(RM) Makefile+
47*7c478bd9Sstevel@tonic-gate	$(SED) -e "/^# EXPORT DELETE START/,/^# EXPORT DELETE END/d" \
48*7c478bd9Sstevel@tonic-gate                < Makefile > Makefile+
49*7c478bd9Sstevel@tonic-gate	$(MV) Makefile+ Makefile
50*7c478bd9Sstevel@tonic-gate	$(CHMOD) 444 Makefile
51*7c478bd9Sstevel@tonic-gate# EXPORT DELETE END
52