Makefile revision 75ce41a57ff334bd8fe2cb9ed51eea835892f944
369N/A#
369N/A# CDDL HEADER START
369N/A#
369N/A# The contents of this file are subject to the terms of the
369N/A# Common Development and Distribution License (the "License").
369N/A# You may not use this file except in compliance with the License.
369N/A#
369N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
369N/A# or http://www.opensolaris.org/os/licensing.
369N/A# See the License for the specific language governing permissions
369N/A# and limitations under the License.
369N/A#
369N/A# When distributing Covered Code, include this CDDL HEADER in each
369N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
369N/A# If applicable, add the following below this CDDL HEADER, with the
369N/A# fields enclosed by brackets "[]" replaced with your own identifying
369N/A# information: Portions Copyright [yyyy] [name of copyright owner]
369N/A#
369N/A# CDDL HEADER END
369N/A#
5810N/A#
369N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
3661N/A# Use is subject to license terms.
6320N/A#
6320N/A# lib/libprtdiag_psr/sparc/littleneck/Makefile
6320N/A
6320N/AUTSBASE = ../../../../uts
6320N/A
6320N/APLATFORM_OBJECTS= littleneck.o
6320N/A
3661N/Ainclude ../Makefile.com
6320N/A
3661N/AIFLAGS += -I$(USR_PLAT_DIR)/sun4u/include -I ../../../libprtdiag/inc
6320N/AIFLAGS += -I $(SRC)/cmd/picl/plugins/sun4u/psvc/psvcobj
3661N/AIFLAGS += -I$(UTSBASE)/sun4u
3661N/A
369N/ALDLIBS += -lpicl
4561N/A
4561N/ALINTFLAGS += $(IFLAGS)
4561N/A
4561N/A#
4561N/A# Workgroup Server platform library should install into
4561N/A# SUNW,Ultra-4. All other desktop platforms can
3996N/A# link to /usr/platform/SUNW,Ultra-4/lib/libprtdiag_psr.so
369N/A#
369N/APLATFORM=SUNW,Sun-Fire-280R
369N/A
369N/A$(USR_PLAT_DIR)/$(PLATFORM)/lib/libprtdiag_psr.so.1 := FILEMODE= 0755
1273N/A
6320N/A.KEEP_STATE:
369N/A
618N/APLATLIBS= $(USR_PLAT_DIR)/$(PLATFORM)/lib/
5810N/A
618N/Ainstall: all $(USR_PSM_LIBS)
4561N/A
4561N/A$(USR_PSM_LIB_DIR):
4561N/A cd $(UTSBASE)/sun4u/littleneck; pwd; $(MAKE) $(USR_PSM_LIB_DIR)
369N/A
369N/A#
4561N/A# install rule
369N/A#
1574N/A$(USR_PSM_LIB_DIR)/%: % $(USR_PSM_LIB_DIR)
1574N/A $(INS.file)
1574N/A
1574N/A#
1574N/A# used for message files
369N/A#
369N/APOFILE= libprtdiag_psr_littleneck.po
369N/APOFILES= littleneck.po
369N/A
369N/A_msg: $(MSGDOMAIN) $(POFILE)
369N/A $(RM) $(MSGDOMAIN)/$(POFILE)
369N/A $(CP) $(POFILE) $(MSGDOMAIN)
369N/A
369N/A$(POFILE): $(POFILES)
369N/A $(RM) $@
369N/A $(CAT) $(POFILES) > $@
369N/A
369N/A$(POFILES):
369N/A $(RM) messages.po
369N/A $(XGETTEXT) $(XGETFLAGS) `$(GREP) -l gettext common/*.c`
369N/A $(SED) -e '/^# msg/d' -e '/^domain/d' messages.po > $@
369N/A $(RM) messages.po
369N/A
369N/A