1753a6d45SSherry Moore# 2753a6d45SSherry Moore# CDDL HEADER START 3753a6d45SSherry Moore# 4753a6d45SSherry Moore# The contents of this file are subject to the terms of the 5753a6d45SSherry Moore# Common Development and Distribution License (the "License"). 6753a6d45SSherry Moore# You may not use this file except in compliance with the License. 7753a6d45SSherry Moore# 8753a6d45SSherry Moore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9753a6d45SSherry Moore# or http://www.opensolaris.org/os/licensing. 10753a6d45SSherry Moore# See the License for the specific language governing permissions 11753a6d45SSherry Moore# and limitations under the License. 12753a6d45SSherry Moore# 13753a6d45SSherry Moore# When distributing Covered Code, include this CDDL HEADER in each 14753a6d45SSherry Moore# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15753a6d45SSherry Moore# If applicable, add the following below this CDDL HEADER, with the 16753a6d45SSherry Moore# fields enclosed by brackets "[]" replaced with your own identifying 17753a6d45SSherry Moore# information: Portions Copyright [yyyy] [name of copyright owner] 18753a6d45SSherry Moore# 19753a6d45SSherry Moore# CDDL HEADER END 20753a6d45SSherry Moore# 21753a6d45SSherry Moore# 22753a6d45SSherry Moore# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 23753a6d45SSherry Moore# Use is subject to license terms. 24753a6d45SSherry Moore# 25753a6d45SSherry Moore# 26753a6d45SSherry Moore 27753a6d45SSherry Mooreinclude ../Makefile.lib 28753a6d45SSherry MooreHDRS= libgrubmgmt.h 29753a6d45SSherry MooreHDRDIR= common 30753a6d45SSherry Moore 31753a6d45SSherry MoorePOFILE = libgrubmgmt.po 32753a6d45SSherry MoorePOFILES = common/libgrub_errno.po 33753a6d45SSherry Moore 34753a6d45SSherry MooreSUBDIRS = $(MACH) 35753a6d45SSherry Moore 36753a6d45SSherry Moore# conditional assignments 37753a6d45SSherry Mooreall := TARGET= all 38753a6d45SSherry Mooreinstall := TARGET= install 39753a6d45SSherry Mooreclean := TARGET= clean 40753a6d45SSherry Mooreclobber := TARGET= clobber 41753a6d45SSherry Mooretest := TARGET= test 42753a6d45SSherry Moore 43753a6d45SSherry Moore.KEEP_STATE: 44753a6d45SSherry Moore 45*241c90a0SRichard Loweall install clean clobber: $(SUBDIRS) 46753a6d45SSherry Moore 47753a6d45SSherry Mooreinstall_h: $(ROOTHDRS) 48753a6d45SSherry Moore 49753a6d45SSherry Moorecheck: $(CHECKHDRS) 50753a6d45SSherry Moore 51753a6d45SSherry Moore$(POFILE): $(POFILES) 52753a6d45SSherry Moore $(RM) $@ 53753a6d45SSherry Moore $(CAT) $(POFILES) > $@ 54753a6d45SSherry Moore 55753a6d45SSherry Moore_msg: $(MSGDOMAINPOFILE) 56753a6d45SSherry Moore 57753a6d45SSherry Moore$(SUBDIRS): FRC 58753a6d45SSherry Moore @cd $@; pwd; $(MAKE) $(TARGET) 59753a6d45SSherry Moore 60753a6d45SSherry Mooreinclude ../Makefile.targ 61753a6d45SSherry Mooreinclude ../../Makefile.msg.targ 62753a6d45SSherry Moore 63753a6d45SSherry Moorecommon/libgrub_errno.po := XGETFLAGS += -a 64753a6d45SSherry Moore 65753a6d45SSherry MooreFRC: 66