Makefile revision 24da5b34f49324ed742a340010ed5bd3d4e06625
32N/A#
32N/A# CDDL HEADER START
911N/A#
851N/A# The contents of this file are subject to the terms of the
32N/A# Common Development and Distribution License (the "License").
32N/A# You may not use this file except in compliance with the License.
32N/A#
32N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
32N/A# or http://www.opensolaris.org/os/licensing.
32N/A# See the License for the specific language governing permissions
32N/A# and limitations under the License.
32N/A#
32N/A# When distributing Covered Code, include this CDDL HEADER in each
32N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
32N/A# If applicable, add the following below this CDDL HEADER, with the
32N/A# fields enclosed by brackets "[]" replaced with your own identifying
32N/A# information: Portions Copyright [yyyy] [name of copyright owner]
32N/A#
32N/A# CDDL HEADER END
32N/A#
32N/A#
32N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved.
32N/A# Use is subject to license terms.
32N/A#
32N/A# ident "%Z%%M% %I% %E% SMI"
32N/A#
32N/A
32N/AOLIBRARY = libmp.so.1
32N/A
32N/Ainclude ../Makefile.com
32N/A
32N/A# For libmp.so.1
32N/A
493N/ACLEANFILES += pics/pics_mp.o
32N/ACLOBBERFILES += $(OLIBRARY)
32N/A
851N/A# permissions for old library
32N/A$(ROOTLIBDIR)/$(OLIBRARY) := FILEMODE= 755
911N/A
911N/A.KEEP_STATE:
911N/A
911N/A$(OLIBRARY): pics/pics_mp.o libmp.so.2 $(OMAPFILE)
32N/A $(CC) $(CFLAGS) -o $@ $(GSHARED) -h $(OLIBRARY) $(ZTEXT) $(ZDEFS) \
32N/A $(ZCOMBRELOC) pics/pics_mp.o libmp.so.2 -M$(OMAPFILE) \
32N/A $(MAPFILE.PGA:%=-M%) $(MAPFILE.NED:%=-M%)
32N/A $(POST_PROCESS_SO)
32N/A
pics/pics_mp.o:
$(COMPILE.c) -o $@ $(C_PICFLAGS) ../common/old_mp.c
$(PROCESS_COMMENT) $@
all: $(LIBS) $(OLIBRARY)
install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLIBDIR)/$(OLIBRARY)