Makefile revision 2
246N/A#
246N/A# CDDL HEADER START
246N/A#
246N/A# The contents of this file are subject to the terms of the
246N/A# Common Development and Distribution License (the "License").
246N/A# You may not use this file except in compliance with the License.
246N/A#
246N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
246N/A# or http://www.opensolaris.org/os/licensing.
246N/A# See the License for the specific language governing permissions
246N/A# and limitations under the License.
246N/A#
246N/A# When distributing Covered Code, include this CDDL HEADER in each
246N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
246N/A# If applicable, add the following below this CDDL HEADER, with the
246N/A# fields enclosed by brackets "[]" replaced with your own identifying
246N/A# information: Portions Copyright [yyyy] [name of copyright owner]
246N/A#
246N/A# CDDL HEADER END
246N/A#
246N/A
246N/A#
3817N/A# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
246N/A#
246N/A# lib/libprtdiag/sparc/sun4v/Makefile
246N/A#
246N/A# Platform specific Makefile for libprtdiag.
246N/A#
246N/A# PLATFORM is the target for the binary installation.
618N/A#
246N/A
246N/APLATFORM = sun4v
844N/A
844N/AOBJECTS = io.o cpu.o memory.o kstat.o prom.o \
246N/A pdevinfo_funcs.o display_funcs.o \
1258N/A pdevinfo_sun4v.o display_sun4v.o
246N/A
2899N/Ainclude ../../Makefile.com
2899N/A
246N/ASRCS = $(OBJECTS:%.o=../../common/%.c)
246N/ALDLIBS += -lpicl -lm
246N/A
3817N/A#
3817N/A# used for creating message catalogue files
3817N/A#
246N/ATEXT_DOMAIN= SUNW_OST_OSLIB
246N/ASED= sed
246N/AGREP= grep
246N/A
246N/A.KEEP_STATE:
360N/A
246N/Aall: stub $(LIBS)
246N/A
246N/Ainstall: stubinstall all $(USR_PSM_LIBS)
246N/A
246N/Astubinstall: stub $(STUBUSR_PSM_LIBS)
246N/A
246N/Alint: lintcheck
246N/A
246N/Ainclude $(SRC)/lib/Makefile.targ
1625N/A
1625N/APOFILE= libprtdiag_sun4v.po
246N/APOFILES= generic.po
3477N/A
3477N/A_msg: $(MSGDOMAIN) $(POFILE)
246N/A $(RM) $(MSGDOMAIN)/$(POFILE)
246N/A $(CP) $(POFILE) $(MSGDOMAIN)
246N/A
246N/A$(POFILE): $(POFILES)
246N/A $(RM) $@
246N/A $(CAT) $(POFILES) > $@
3817N/A
3817N/A$(POFILES):
3817N/A $(RM) messages.po
$(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext ../../common/*.c`
$(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
$(RM) messages.po