Makefile revision ed31198c686205a26320612d2a5dd7b26ae63a15
20780N/A#
20904N/A# CDDL HEADER START
20780N/A#
20904N/A# The contents of this file are subject to the terms of the
20780N/A# Common Development and Distribution License (the "License").
20780N/A# You may not use this file except in compliance with the License.
20780N/A#
20780N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
20780N/A# or http://www.opensolaris.org/os/licensing.
20780N/A# See the License for the specific language governing permissions
20780N/A# and limitations under the License.
20780N/A#
20780N/A# When distributing Covered Code, include this CDDL HEADER in each
20780N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
20780N/A# If applicable, add the following below this CDDL HEADER, with the
20780N/A# fields enclosed by brackets "[]" replaced with your own identifying
20780N/A# information: Portions Copyright [yyyy] [name of copyright owner]
20780N/A#
20780N/A# CDDL HEADER END
20780N/A#
20780N/A#
20799N/A# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
20780N/A# Use is subject to license terms.
20780N/A#
20780N/A#
20780N/A
20780N/Ainclude ../../Makefile.lib
20780N/A
20780N/ASUBDIRS = $(MACH)
20780N/A$(BUILD64)SUBDIRS += $(MACH64)
20780N/A
20780N/Aall := TARGET= all
20780N/Aclean := TARGET= clean
20780N/Aclobber := TARGET= clobber
20780N/Adelete := TARGET= delete
20780N/Ainstall := TARGET= install
20780N/Alint := TARGET= lint
20780N/Apackage := TARGET= package
20780N/A
20780N/ALIBRARY= libsmedia.a
20780N/ATEXT_DOMAIN= SUNW_OST_OSLIB
20780N/AXGETFLAGS= -a
20780N/APOFILE= $(LIBRARY:.a=.po)
20780N/APOFILES= generic.po
20780N/A
20780N/ASED= sed
20780N/AGREP= grep
20780N/A
20780N/A.KEEP_STATE:
20780N/A
20780N/Aall clean delete install lint package: $(SUBDIRS)
20780N/A
20780N/Aclobber : $(SUBDIRS)
20780N/A $(RM) $(CLOBBERFILES)
20780N/A
20780N/A# definitions for install_h target
20780N/AHDRS= inc/smedia.h
20780N/AROOTHDRDIR= $(ROOT)/usr/include/sys
20904N/AROOTHDRS= $(HDRS:inc/%=$(ROOTHDRDIR)/%)
20780N/ACHECKHDRS= $(HDRS:%.h=%.check)
20780N/A
20780N/A# install rule for install_h target
20780N/A
20780N/A$(ROOTHDRDIR)/%: inc/%
20780N/A $(INS.file)
20780N/A
20780N/Ainstall_h: $(ROOTHDRS)
20780N/A
20780N/Acheck: $(CHECKHDRS)
20780N/A
20780N/A$(SUBDIRS): FRC
20780N/A @cd $@; pwd; $(MAKE) $(TARGET)
20780N/A
20780N/Acatalog: $(MSGDOMAIN) $(POFILE)
20780N/A $(RM) $(MSGDOMAIN)/$(POFILE)
20780N/A $(CP) $(POFILE) $(MSGDOMAIN)
20780N/A
20780N/A$(POFILE): $(POFILES)
20780N/A $(RM) $@
20780N/A $(CAT) $(POFILES) > $@
20780N/A $(RM) $(POFILES)
20780N/A
20780N/A$(POFILES):
20780N/A $(RM) messages.po
20780N/A $(XGETTEXT) $(XGETFLAGS) common/*.[ch]
20904N/A $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
20904N/A $(RM) messages.po
20780N/A
20780N/AFRC:
20780N/A