753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore#
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# CDDL HEADER START
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore#
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# The contents of this file are subject to the terms of the
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# Common Development and Distribution License (the "License").
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# You may not use this file except in compliance with the License.
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore#
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# or http://www.opensolaris.org/os/licensing.
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# See the License for the specific language governing permissions
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# and limitations under the License.
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore#
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# When distributing Covered Code, include this CDDL HEADER in each
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# If applicable, add the following below this CDDL HEADER, with the
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# fields enclosed by brackets "[]" replaced with your own identifying
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# information: Portions Copyright [yyyy] [name of copyright owner]
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore#
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# CDDL HEADER END
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore#
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore#
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# Use is subject to license terms.
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore#
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore#
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Mooreinclude ../Makefile.lib
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry MooreHDRS= libgrubmgmt.h
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry MooreHDRDIR= common
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry MoorePOFILE = libgrubmgmt.po
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry MoorePOFILES = common/libgrub_errno.po
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry MooreSUBDIRS = $(MACH)
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore# conditional assignments
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Mooreall := TARGET= all
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Mooreinstall := TARGET= install
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Mooreclean := TARGET= clean
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Mooreclobber := TARGET= clobber
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moorelint := TARGET= lint
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Mooretest := TARGET= test
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore.KEEP_STATE:
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Mooreall install clean clobber lint: $(SUBDIRS)
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Mooreinstall_h: $(ROOTHDRS)
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moorecheck: $(CHECKHDRS)
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore$(POFILE): $(POFILES)
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore $(RM) $@
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore $(CAT) $(POFILES) > $@
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore_msg: $(MSGDOMAINPOFILE)
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore$(SUBDIRS): FRC
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore @cd $@; pwd; $(MAKE) $(TARGET)
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Mooreinclude ../Makefile.targ
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Mooreinclude ../../Makefile.msg.targ
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moorecommon/libgrub_errno.po := XGETFLAGS += -a
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry Moore
753a6d457b330b1b29b2d3eefcd0831116ce950dSherry MooreFRC: