xref: /titanic_51/usr/src/cmd/cmd-inet/usr.lib/wanboot/Makefile (revision bbaa8b60dd95d714741fc474adad3cf710ef4efd)
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 2003 Sun Microsystems, Inc.  All rights reserved.
24# Use is subject to license terms.
25#
26# ident	"%Z%%M%	%I%	%E% SMI"
27#
28
29include $(SRC)/cmd/Makefile.cmd
30
31SUBDIR_SCR=	bootlog-cgi
32SUBDIR_PGMS=	wanboot-cgi\
33		keygen \
34		keymgmt \
35		hmac \
36		encr \
37		ickey \
38		p12split \
39		netbootinfo
40
41SUBDIRS=	$(SUBDIR_SCR) $(SUBDIR_PGMS)
42
43MSGFILES=	encr/encr.c hmac/hmac.c ickey/ickey.c keygen/keygen.c \
44		keymgmt/keymgmt.c p12split/p12split.c netbootinfo/netbootinfo.c
45
46POFILE=         wanboot.po
47XGETFLAGS +=	-a -x wanboot.xcl
48
49all:=		TARGET= all
50install:=	TARGET= install
51clean:=		TARGET= clean
52clobber:=	TARGET= clobber
53lint:=		TARGET= lint
54_msg:=          TARGET= _msg
55
56.KEEP_STATE:
57.PARALLEL:	$(SUBDIRS)
58
59all install:	$(SUBDIRS)
60
61lint:		$(SUBDIR_PGMS)
62
63clean:		$(SUBDIR_PGMS)
64
65clobber:	$(SUBDIR_PGMS) local_clobber
66
67local_clobber:
68		$(RM) $(CLOBBERFILES)
69
70$(POFILE):	pofile_MSGFILES
71
72_msg:		$(MSGDOMAINPOFILE)
73
74$(SUBDIRS):	FRC
75		@cd $@; pwd; $(MAKE) $(TARGET)
76
77FRC:
78
79include $(SRC)/Makefile.msg.targ
80