4 # The contents of this file are subject to the terms of the
5 # Common Development and Distribution License (the "License").
6 # You may not use this file except in compliance with the License.
8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9 # or http://www.opensolaris.org/os/licensing.
10 # See the License for the specific language governing permissions
11 # and limitations under the License.
13 # When distributing Covered Code, include this CDDL HEADER in each
14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15 # If applicable, add the following below this CDDL HEADER, with the
16 # fields enclosed by brackets "[]" replaced with your own identifying
17 # information: Portions Copyright [yyyy] [name of copyright owner]
21 # Copyright 2009 Sun Microsystems, Inc. All rights reserved.
22 # Use is subject to license terms.
24 # cmd/fwflash/Makefile.com
27 # common rules for $SRC/cmd/fwflash
29 CERRWARN += -Wno-parentheses
30 CERRWARN += -Wno-uninitialized
31 CERRWARN += -Wno-address
34 ROOTUSRINCLD= $(ROOTUSR)/include
35 ROOTUSRINCLDFWFLASH= $(ROOTUSRINCLD)/fwflash
36 ROOTUSRLIB= $(ROOTUSR)/lib
37 ROOTUSRLIBFWFLASH= $(ROOTUSRLIB)/fwflash
38 ROOTUSRLIBFWFLASHIDF= $(ROOTUSRLIBFWFLASH)/identify
39 ROOTUSRLIBFWFLASHVRF= $(ROOTUSRLIBFWFLASH)/verify
40 ROOTUSRSBIN= $(ROOTUSR)/sbin
45 $(ROOTUSRINCLD): $(ROOTUSR)
48 $(ROOTUSRINCLDFWFLASH):
51 $(ROOTUSRINCLDFWFLASH)/%: $(ROOTUSRINCLDFWFLASH) %
57 $(ROOTUSRLIBFWFLASH): $(ROOTUSRLIB)
60 $(ROOTUSRLIBFWFLASH)/%: $(ROOTUSRLIB) %
63 $(ROOTUSRLIBFWFLASHIDF): $(ROOTUSRLIBFWFLASH)
66 $(ROOTUSRLIBFWFLASHIDF)/%: $(ROOTUSRLIBFWFLASHIDF) %
69 $(ROOTUSRLIBFWFLASHVRF): $(ROOTUSRLIBFWFLASH)
72 $(ROOTUSRLIBFWFLASHVRF)/%: $(ROOTUSRLIBFWFLASHVRF) %
75 $(ROOTUSRSBIN): $(ROOTUSR)
83 $(XGETTEXT) $(XGETFLAGS) \
84 `($(GREP) -l gettext $< || echo /dev/null)`
85 $(SED) "/^domain/d" messages.po > $@