109fe1b16Sdnielsen# 209fe1b16Sdnielsen# CDDL HEADER START 309fe1b16Sdnielsen# 409fe1b16Sdnielsen# The contents of this file are subject to the terms of the 509fe1b16Sdnielsen# Common Development and Distribution License (the "License"). 609fe1b16Sdnielsen# You may not use this file except in compliance with the License. 709fe1b16Sdnielsen# 809fe1b16Sdnielsen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 909fe1b16Sdnielsen# or http://www.opensolaris.org/os/licensing. 1009fe1b16Sdnielsen# See the License for the specific language governing permissions 1109fe1b16Sdnielsen# and limitations under the License. 1209fe1b16Sdnielsen# 1309fe1b16Sdnielsen# When distributing Covered Code, include this CDDL HEADER in each 1409fe1b16Sdnielsen# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 1509fe1b16Sdnielsen# If applicable, add the following below this CDDL HEADER, with the 1609fe1b16Sdnielsen# fields enclosed by brackets "[]" replaced with your own identifying 1709fe1b16Sdnielsen# information: Portions Copyright [yyyy] [name of copyright owner] 1809fe1b16Sdnielsen# 1909fe1b16Sdnielsen# CDDL HEADER END 2009fe1b16Sdnielsen# 2109fe1b16Sdnielsen# 22*ed31198cSJohn Sonnenschein# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 2309fe1b16Sdnielsen# Use is subject to license terms. 2409fe1b16Sdnielsen# 2509fe1b16Sdnielsen# 2609fe1b16Sdnielsen# lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/Makefile 2709fe1b16Sdnielsen# 2809fe1b16Sdnielsen 2909fe1b16Sdnielseninclude ../../../Makefile.lib 3009fe1b16Sdnielsen 3109fe1b16SdnielsenSUBDIRS= sparc sparcv9 3209fe1b16Sdnielsen 3309fe1b16SdnielsenMSGSUBDIRS= $(SUBDIRS) 3409fe1b16Sdnielsen 3509fe1b16Sdnielsenall := TARGET= all 3609fe1b16Sdnielsenclean := TARGET= clean 3709fe1b16Sdnielsenclobber := TARGET= clobber 3809fe1b16Sdnielsendelete := TARGET= delete 3909fe1b16Sdnielseninstall := TARGET= install 4009fe1b16Sdnielsenlint := TARGET= lint 4109fe1b16Sdnielsen_msg := TARGET= _msg 4209fe1b16Sdnielsenpackage := TARGET= package 4309fe1b16Sdnielsen 4409fe1b16SdnielsenXGETFLAGS= -a -x ../scsi.xcl 4509fe1b16SdnielsenPOFILE= scsi.po 4609fe1b16SdnielsenPOFILES= generic.po 4709fe1b16Sdnielsen 4809fe1b16SdnielsenSED= sed 4909fe1b16SdnielsenGREP= grep 5009fe1b16Sdnielsen 5109fe1b16Sdnielsen.KEEP_STATE: 5209fe1b16Sdnielsen 5309fe1b16Sdnielsenall clean clobber delete install lint package: $(SUBDIRS) 5409fe1b16Sdnielsen 5509fe1b16Sdnielsen_msg: $(MSGDOMAIN) $(POFILE) 5609fe1b16Sdnielsen $(RM) $(MSGDOMAIN)/$(POFILE) 5709fe1b16Sdnielsen $(CP) $(POFILE) $(MSGDOMAIN) 5809fe1b16Sdnielsen 5909fe1b16Sdnielsen$(POFILE): $(POFILES) 6009fe1b16Sdnielsen $(RM) $@ 6109fe1b16Sdnielsen $(CAT) $(POFILES) > $@ 6209fe1b16Sdnielsen 6309fe1b16Sdnielsen$(POFILES): 6409fe1b16Sdnielsen $(RM) messages.po 6509fe1b16Sdnielsen $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext */*.[ch] ../*/*.[ch]` 6609fe1b16Sdnielsen $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@ 6709fe1b16Sdnielsen $(RM) messages.po 6809fe1b16Sdnielsen 6909fe1b16Sdnielsen 7009fe1b16Sdnielseninstall: all $(SUBDIRS) 7109fe1b16Sdnielsen 7209fe1b16Sdnielsen$(SUBDIRS): FRC 7309fe1b16Sdnielsen @cd $@; pwd; $(MAKE) $(TARGET) 7409fe1b16Sdnielsen 7509fe1b16SdnielsenFRC: 76