Makefile revision b6805bf78d2bbbeeaea8909a05623587b42d58b3
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER START
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# The contents of this file are subject to the terms of the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Common Development and Distribution License (the "License").
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You may not use this file except in compliance with the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# or http://www.opensolaris.org/os/licensing.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# See the License for the specific language governing permissions
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# and limitations under the License.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# When distributing Covered Code, include this CDDL HEADER in each
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# If applicable, add the following below this CDDL HEADER, with the
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# fields enclosed by brackets "[]" replaced with your own identifying
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# information: Portions Copyright [yyyy] [name of copyright owner]
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# CDDL HEADER END
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync# Use is subject to license terms.
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync#
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinclude ../../../Makefile.master
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncSUBDIRS = $(MACH)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync$(BUILD64)SUBDIRS += $(MACH64)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncall := TARGET= all
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncclean := TARGET= clean
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncclobber := TARGET= clobber
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncdelete := TARGET= delete
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncinstall := TARGET= install
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsynclint := TARGET= lint
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync_msg := TARGET= _msg
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncpackage := TARGET= package
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncTEXT_DOMAIN= SUNW_OST_OSLIB
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncXGETFLAGS= -a -x pci.xcl
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncPOFILE= pci.po
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncPOFILES= generic.po
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncSED= sed
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncGREP= grep
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync.KEEP_STATE:
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncall clean delete install lint package: $(SUBDIRS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncclobber: $(SUBDIRS)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(RM) $(POFILE) $(POFILES)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync$(SUBDIRS): FRC
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync @cd $@; pwd; $(MAKE) $(TARGET)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync_msg: $(MSGDOMAIN) $(POFILE)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(RM) $(MSGDOMAIN)/$(POFILE)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(CP) $(POFILE) $(MSGDOMAIN)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync$(POFILE): $(POFILES)
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(RM) $@
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(CAT) $(POFILES) > $@
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync$(POFILES):
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(RM) messages.po
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext *.[ch]* */*.[ch]*`
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync $(RM) messages.po
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsyncFRC:
e0e0c19eefceaf5d4ec40f9466b58a771f50e799vboxsync