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