Makefile revision 355b4669e025ff377602b6fc7caaf30dbc218371
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans#
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# CDDL HEADER START
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans#
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# The contents of this file are subject to the terms of the
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# Common Development and Distribution License, Version 1.0 only
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# (the "License"). You may not use this file except in compliance
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# with the License.
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans#
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# or http://www.opensolaris.org/os/licensing.
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# See the License for the specific language governing permissions
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# and limitations under the License.
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans#
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# When distributing Covered Code, include this CDDL HEADER in each
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# If applicable, add the following below this CDDL HEADER, with the
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# fields enclosed by brackets "[]" replaced with your own identifying
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# information: Portions Copyright [yyyy] [name of copyright owner]
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans#
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# CDDL HEADER END
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans#
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans#
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# Copyright 2003 Sun Microsystems, Inc. All rights reserved.
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# Use is subject to license terms.
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans#
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans# ident "%Z%%M% %I% %E% SMI"
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans#
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evansinclude $(SRC)/cmd/Makefile.cmd
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
8afbae077394bf15b64633f006ff3cbba11fcd87Rod EvansSUBDIR_SCR= bootlog-cgi
8afbae077394bf15b64633f006ff3cbba11fcd87Rod EvansSUBDIR_PGMS= wanboot-cgi\
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans keygen \
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans keymgmt \
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans hmac \
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans encr \
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans ickey \
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans p12split \
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans netbootinfo
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
8afbae077394bf15b64633f006ff3cbba11fcd87Rod EvansSUBDIRS= $(SUBDIR_SCR) $(SUBDIR_PGMS)
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
8afbae077394bf15b64633f006ff3cbba11fcd87Rod EvansMSGFILES= encr/encr.c hmac/hmac.c ickey/ickey.c keygen/keygen.c \
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans keymgmt/keymgmt.c p12split/p12split.c netbootinfo/netbootinfo.c
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
8afbae077394bf15b64633f006ff3cbba11fcd87Rod EvansPOFILE= wanboot.po
8afbae077394bf15b64633f006ff3cbba11fcd87Rod EvansXGETFLAGS += -a -x wanboot.xcl
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evansall:= TARGET= all
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evansinstall:= TARGET= install
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evansclean:= TARGET= clean
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evansclobber:= TARGET= clobber
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evanslint:= TARGET= lint
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans_msg:= TARGET= _msg
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans.KEEP_STATE:
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans.PARALLEL: $(SUBDIRS)
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evansall install: $(SUBDIRS)
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evanslint: $(SUBDIR_PGMS)
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evansclean: $(SUBDIR_PGMS)
8afbae077394bf15b64633f006ff3cbba11fcd87Rod Evans
clobber: $(SUBDIR_PGMS) local_clobber
local_clobber:
$(RM) $(CLOBBERFILES)
$(POFILE): pofile_MSGFILES
_msg: $(MSGDOMAINPOFILE)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
FRC:
include $(SRC)/Makefile.msg.targ