Makefile revision 2
0N/A#
1879N/A# CDDL HEADER START
0N/A#
0N/A# The contents of this file are subject to the terms of the
0N/A# Common Development and Distribution License (the "License").
0N/A# You may not use this file except in compliance with the License.
0N/A#
0N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
0N/A# or http://www.opensolaris.org/os/licensing.
0N/A# See the License for the specific language governing permissions
0N/A# and limitations under the License.
0N/A#
0N/A# When distributing Covered Code, include this CDDL HEADER in each
0N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
0N/A# If applicable, add the following below this CDDL HEADER, with the
0N/A# fields enclosed by brackets "[]" replaced with your own identifying
0N/A# information: Portions Copyright [yyyy] [name of copyright owner]
0N/A#
1472N/A# CDDL HEADER END
1472N/A#
1472N/A#
0N/A# Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
0N/A#
0N/A
1879N/AOLIBRARY = libmp.so.1
1879N/A
1879N/Ainclude ../Makefile.com
0N/A
0N/A# For libmp.so.1
0N/A
0N/ACLEANFILES += pics/pics_mp.o
0N/ACLOBBERFILES += $(OLIBRARY)
0N/A
0N/A# permissions for old library
0N/A$(ROOTLIBDIR)/$(OLIBRARY) := FILEMODE= 755
0N/A
0N/A.KEEP_STATE:
0N/A
0N/AOLIBFLAGS = -h $(OLIBRARY) $(DYNFLAGS.lib) -xnolib $(OMAPFILE:%=-M%)
0N/A$(OLIBRARY): pics/pics_mp.o libmp.so.2 $(OMAPFILE)
0N/A $(CC) -o $@ $(GSHARED) $(OLIBFLAGS) pics/pics_mp.o libmp.so.2 $(LDLIBS)
0N/A $(POST_PROCESS_SO)
0N/A
0N/Apics/pics_mp.o:
0N/A $(COMPILE.c) -o $@ $(C_PICFLAGS) ../common/old_mp.c
0N/A $(POST_PROCESS_O)
0N/A
0N/Aall: stub $(LIBS) $(OLIBRARY)
0N/A
0N/Ainstall: stubinstall all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLIBDIR)/$(OLIBRARY)
0N/A
0N/Astubinstall: stub $(STUBROOTLIBS) $(STUBROOTLINKS)
0N/A