xref: /titanic_50/usr/src/lib/libgrubmgmt/Makefile (revision 753a6d457b330b1b29b2d3eefcd0831116ce950d)
1*753a6d45SSherry Moore#
2*753a6d45SSherry Moore# CDDL HEADER START
3*753a6d45SSherry Moore#
4*753a6d45SSherry Moore# The contents of this file are subject to the terms of the
5*753a6d45SSherry Moore# Common Development and Distribution License (the "License").
6*753a6d45SSherry Moore# You may not use this file except in compliance with the License.
7*753a6d45SSherry Moore#
8*753a6d45SSherry Moore# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*753a6d45SSherry Moore# or http://www.opensolaris.org/os/licensing.
10*753a6d45SSherry Moore# See the License for the specific language governing permissions
11*753a6d45SSherry Moore# and limitations under the License.
12*753a6d45SSherry Moore#
13*753a6d45SSherry Moore# When distributing Covered Code, include this CDDL HEADER in each
14*753a6d45SSherry Moore# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*753a6d45SSherry Moore# If applicable, add the following below this CDDL HEADER, with the
16*753a6d45SSherry Moore# fields enclosed by brackets "[]" replaced with your own identifying
17*753a6d45SSherry Moore# information: Portions Copyright [yyyy] [name of copyright owner]
18*753a6d45SSherry Moore#
19*753a6d45SSherry Moore# CDDL HEADER END
20*753a6d45SSherry Moore#
21*753a6d45SSherry Moore#
22*753a6d45SSherry Moore# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
23*753a6d45SSherry Moore# Use is subject to license terms.
24*753a6d45SSherry Moore#
25*753a6d45SSherry Moore#
26*753a6d45SSherry Moore
27*753a6d45SSherry Mooreinclude	../Makefile.lib
28*753a6d45SSherry MooreHDRS=		libgrubmgmt.h
29*753a6d45SSherry MooreHDRDIR=		common
30*753a6d45SSherry Moore
31*753a6d45SSherry MoorePOFILE =	libgrubmgmt.po
32*753a6d45SSherry MoorePOFILES =	common/libgrub_errno.po
33*753a6d45SSherry Moore
34*753a6d45SSherry MooreSUBDIRS =	$(MACH)
35*753a6d45SSherry Moore
36*753a6d45SSherry Moore# conditional assignments
37*753a6d45SSherry Mooreall :=      	TARGET= all
38*753a6d45SSherry Mooreinstall :=      TARGET= install
39*753a6d45SSherry Mooreclean :=        TARGET= clean
40*753a6d45SSherry Mooreclobber :=      TARGET= clobber
41*753a6d45SSherry Moorelint :=         TARGET= lint
42*753a6d45SSherry Mooretest :=         TARGET= test
43*753a6d45SSherry Moore
44*753a6d45SSherry Moore.KEEP_STATE:
45*753a6d45SSherry Moore
46*753a6d45SSherry Mooreall install clean clobber lint: $(SUBDIRS)
47*753a6d45SSherry Moore
48*753a6d45SSherry Mooreinstall_h: $(ROOTHDRS)
49*753a6d45SSherry Moore
50*753a6d45SSherry Moorecheck: $(CHECKHDRS)
51*753a6d45SSherry Moore
52*753a6d45SSherry Moore$(POFILE): $(POFILES)
53*753a6d45SSherry Moore	$(RM) $@
54*753a6d45SSherry Moore	$(CAT) $(POFILES) > $@
55*753a6d45SSherry Moore
56*753a6d45SSherry Moore_msg: $(MSGDOMAINPOFILE)
57*753a6d45SSherry Moore
58*753a6d45SSherry Moore$(SUBDIRS):	FRC
59*753a6d45SSherry Moore	@cd $@; pwd; $(MAKE) $(TARGET)
60*753a6d45SSherry Moore
61*753a6d45SSherry Mooreinclude ../Makefile.targ
62*753a6d45SSherry Mooreinclude ../../Makefile.msg.targ
63*753a6d45SSherry Moore
64*753a6d45SSherry Moorecommon/libgrub_errno.po := XGETFLAGS += -a
65*753a6d45SSherry Moore
66*753a6d45SSherry MooreFRC:
67