Makefile revision 2
394N/A#
394N/A# CDDL HEADER START
394N/A#
394N/A# The contents of this file are subject to the terms of the
394N/A# Common Development and Distribution License (the "License").
394N/A# You may not use this file except in compliance with the License.
394N/A#
394N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
394N/A# or http://www.opensolaris.org/os/licensing.
394N/A# See the License for the specific language governing permissions
394N/A# and limitations under the License.
394N/A#
394N/A# When distributing Covered Code, include this CDDL HEADER in each
394N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
394N/A# If applicable, add the following below this CDDL HEADER, with the
394N/A# fields enclosed by brackets "[]" replaced with your own identifying
394N/A# information: Portions Copyright [yyyy] [name of copyright owner]
394N/A#
394N/A# CDDL HEADER END
394N/A#
1716N/A#
394N/A# Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.
394N/A#
394N/A# lib/libfru/Makefile
394N/A#
394N/A
394N/Ainclude $(SRC)/lib/Makefile.lib
394N/A
618N/ASUBDIRS_i386 = libfrureg $(MACH)
394N/A$(BUILD64)SUBDIRS_i386 += $(MACH64)
394N/ASUBDIRS_sparc = libfrureg $(MACH)
844N/A$(BUILD64)SUBDIRS_sparc += $(MACH64)
844N/ASUBDIRS_i386 += .WAIT libnvfru libfruraw conf
394N/ASUBDIRS_sparc += .WAIT libfrupicl libfrupicltree libnvfru libfruraw
1258N/A
394N/ASUBDIRS = $(SUBDIRS_$(MACH))
394N/A
394N/A# conditional assignments
394N/Aall := TARGET= all
394N/Ainstall := TARGET= install
394N/Aclean := TARGET= clean
394N/Aclobber := TARGET= clobber
783N/Alint := TARGET= lint
1906N/A_msg := TARGET= _msg
783N/Astub := TARGET= stub
1938N/Astubinstall := TARGET= stubinstall
1938N/A
394N/APOFILE= libfru.po
1716N/A
394N/A.KEEP_STATE:
1716N/A
394N/Aall install clean clobber lint stub stubinstall: $(SUBDIRS)
394N/A
394N/A_msg: $(MSGDOMAIN) $(POFILE)
394N/A $(RM) $(MSGDOMAIN)/$(POFILE)
394N/A $(CP) $(POFILE) $(MSGDOMAIN)
394N/A
$(POFILE):
$(RM) $@ messages.po
$(XGETTEXT) $(XGETFLAGS) *.[ch]* */*.[ch]*
$(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
$(RM) messages.po
$(MSGDOMAIN):
$(INS.dir)
clobber: po_clean
po_clean:
$(RM) $(POFILE)
$(SUBDIRS): FRC
@cd $@; pwd; $(MAKE) $(TARGET)
install_h check: $(CHECKHDRS)
@cd libnvfru; pwd; $(MAKE) $@
FRC: