166f9d5cbSmlf# 266f9d5cbSmlf# CDDL HEADER START 366f9d5cbSmlf# 466f9d5cbSmlf# The contents of this file are subject to the terms of the 566f9d5cbSmlf# Common Development and Distribution License (the "License"). 666f9d5cbSmlf# You may not use this file except in compliance with the License. 766f9d5cbSmlf# 866f9d5cbSmlf# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 966f9d5cbSmlf# or http://www.opensolaris.org/os/licensing. 1066f9d5cbSmlf# See the License for the specific language governing permissions 1166f9d5cbSmlf# and limitations under the License. 1266f9d5cbSmlf# 1366f9d5cbSmlf# When distributing Covered Code, include this CDDL HEADER in each 1466f9d5cbSmlf# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1566f9d5cbSmlf# If applicable, add the following below this CDDL HEADER, with the 1666f9d5cbSmlf# fields enclosed by brackets "[]" replaced with your own identifying 1766f9d5cbSmlf# information: Portions Copyright [yyyy] [name of copyright owner] 1866f9d5cbSmlf# 1966f9d5cbSmlf# CDDL HEADER END 2066f9d5cbSmlf# 2166f9d5cbSmlf# 22*f808c858Sraf# Copyright 2006 Sun Microsystems, Inc. All rights reserved. 2366f9d5cbSmlf# Use is subject to license terms. 2466f9d5cbSmlf# 2566f9d5cbSmlf# ident "%Z%%M% %I% %E% SMI" 2666f9d5cbSmlf# 2766f9d5cbSmlf 2866f9d5cbSmlfinclude ../../Makefile.lib 2966f9d5cbSmlf 30*f808c858SrafSUBDIRS = $(MACH) 31*f808c858Sraf$(BUILD64)SUBDIRS += $(MACH64) 3266f9d5cbSmlf 3366f9d5cbSmlfall := TARGET= all 3466f9d5cbSmlfclean := TARGET= clean 3566f9d5cbSmlfclobber := TARGET= clobber 3666f9d5cbSmlfdelete := TARGET= delete 3766f9d5cbSmlfinstall := TARGET= install 3866f9d5cbSmlflint := TARGET= lint 3966f9d5cbSmlf_msg := TARGET= _msg 4066f9d5cbSmlfpackage := TARGET= package 4166f9d5cbSmlf 4266f9d5cbSmlfTEXT_DOMAIN= SUNW_OST_OSLIB 4366f9d5cbSmlfXGETFLAGS= -a -x sata.xcl 4466f9d5cbSmlfPOFILE= sata.po 4566f9d5cbSmlfPOFILES= generic.po 4666f9d5cbSmlf 4766f9d5cbSmlfSED= sed 4866f9d5cbSmlfGREP= grep 4966f9d5cbSmlfCP= cp 5066f9d5cbSmlf 5166f9d5cbSmlf.KEEP_STATE: 5266f9d5cbSmlf 5366f9d5cbSmlfall clean clobber delete install lint package: $(SUBDIRS) 5466f9d5cbSmlf 55*f808c858Sraf$(SUBDIRS): FRC 5666f9d5cbSmlf @cd $@; pwd; $(MAKE) $(TARGET) 5766f9d5cbSmlf 5866f9d5cbSmlf_msg: $(MSGDOMAIN) $(POFILE) 5966f9d5cbSmlf $(RM) $(MSGDOMAIN)/$(POFILE) 6066f9d5cbSmlf $(CP) $(POFILE) $(MSGDOMAIN) 6166f9d5cbSmlf 6266f9d5cbSmlf$(POFILE): $(POFILES) 6366f9d5cbSmlf $(RM) $@ 6466f9d5cbSmlf $(CAT) $(POFILES) > $@ 6566f9d5cbSmlf 6666f9d5cbSmlf$(POFILES): 6766f9d5cbSmlf $(RM) messages.po 6866f9d5cbSmlf $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext */*.[ch]` 6966f9d5cbSmlf $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@ 7066f9d5cbSmlf $(RM) messages.po 7166f9d5cbSmlf 7266f9d5cbSmlfFRC: 73