2N/A#
2N/A# CDDL HEADER START
2N/A#
2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License (the "License").
2N/A# You may not use this file except in compliance with the License.
2N/A#
2N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2N/A# or http://www.opensolaris.org/os/licensing.
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A#
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/A#
2N/A# CDDL HEADER END
2N/A#
2N/A#
2N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
2N/A#
2N/A
2N/A#
2N/A# Included to augment Makefile.targ with rules for producing
2N/A# stub shared objects.
2N/A#
2N/A
2N/A#
2N/A# This makefile must be preceded by an include of Makefile.lib
2N/A#
2N/A$(MAKEFILE_LIB_INCLUDED).INIT: makefile_stub_targ_fail
2N/A$(MAKEFILE_LIB_INCLUDED)makefile_stub_targ_fail:
2N/A$(MAKEFILE_LIB_INCLUDED) @print Makefile.stub.targ requires Makefile.lib
2N/A$(MAKEFILE_LIB_INCLUDED) @false
2N/A
2N/A
2N/A$(STUBROOTLIBDIR)/%: stubs/%
2N/A $(INS.file)
2N/A$(STUBROOTLIBDIR64)/%: stubs/%
2N/A $(INS.file)
2N/A
2N/A$(STUBROOTFS_LIBDIR)/%: stubs/%
2N/A $(INS.file)
2N/A$(STUBROOTFS_LIBDIR64)/%: stubs/%
2N/A $(INS.file)
2N/A
2N/A$(STUBROOTLIBDIR)/$(LIBLINKS): $(STUBROOTLIBDIR)/$(LIBLINKS)$(VERS)
2N/A $(INS.liblink)
2N/A$(STUBROOTLIBDIR64)/$(LIBLINKS): $(STUBROOTLIBDIR64)/$(LIBLINKS)$(VERS)
2N/A $(INS.liblink64)
2N/A
2N/A$(STUBROOTLIBDIR)/$(LIBLINKSCCC): $(STUBROOTLIBDIR)/$(LIBLINKSCCC)$(VERS)
2N/A $(INS.liblinkccc)
2N/A$(STUBROOTLIBDIR64)/$(LIBLINKSCCC): $(STUBROOTLIBDIR64)/$(LIBLINKSCCC)$(VERS)
2N/A $(INS.liblinkccc64)
2N/A
2N/A
2N/ASTUBDYNLIB= $(DYNLIB:%=stubs/%)
2N/ASTUBLIBLINKS= $(LIBLINKS:%=stubs/%)
2N/A
2N/ASTUBDYNLIBCCC= $(DYNLIBCCC:%=stubs/%)
2N/ASTUBLIBLINKSCCC= $(LIBLINKSCCC:%=stubs/%)
2N/A
2N/Astubs/$(DYNLIB) stubs/$(DYNLIBCCC): $$(MAPFILES)
2N/A
2N/A$(STUBDYNLIB) $(STUBDYNLIBCCC): stubs
2N/A $(STUBBUILD.SO)
2N/A $(POST_PROCESS_STUB)
2N/A
2N/A$(STUBLIBLINKS): stubs
2N/A $(RM) $@
2N/A $(SYMLINK) $(DYNLIB) $@
2N/A
2N/A$(STUBLIBLINKSCCC): stubs
2N/A $(RM) $@
2N/A $(SYMLINK) $(DYNLIBCCC) $@
2N/A
2N/Astub: $(STUBDYNLIB) $(STUBLIBLINKS) $(STUBDYNLIBCCC) $(STUBLIBLINKSCCC)