xref: /illumos-gate/usr/src/lib/Makefile.filter.targ (revision 85f4cb87104c72587029a6e0f1663332c85ba118)
12a8d6ebaSRod Evans#
22a8d6ebaSRod Evans# CDDL HEADER START
32a8d6ebaSRod Evans#
42a8d6ebaSRod Evans# The contents of this file are subject to the terms of the
52a8d6ebaSRod Evans# Common Development and Distribution License (the "License").
62a8d6ebaSRod Evans# You may not use this file except in compliance with the License.
72a8d6ebaSRod Evans#
82a8d6ebaSRod Evans# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
92a8d6ebaSRod Evans# or http://www.opensolaris.org/os/licensing.
102a8d6ebaSRod Evans# See the License for the specific language governing permissions
112a8d6ebaSRod Evans# and limitations under the License.
122a8d6ebaSRod Evans#
132a8d6ebaSRod Evans# When distributing Covered Code, include this CDDL HEADER in each
142a8d6ebaSRod Evans# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
152a8d6ebaSRod Evans# If applicable, add the following below this CDDL HEADER, with the
162a8d6ebaSRod Evans# fields enclosed by brackets "[]" replaced with your own identifying
172a8d6ebaSRod Evans# information: Portions Copyright [yyyy] [name of copyright owner]
182a8d6ebaSRod Evans#
192a8d6ebaSRod Evans# CDDL HEADER END
202a8d6ebaSRod Evans#
212a8d6ebaSRod Evans#
222a8d6ebaSRod Evans# Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
232a8d6ebaSRod Evans# Use is subject to license terms.
242a8d6ebaSRod Evans#
252a8d6ebaSRod Evans# Makefile.filter.com and Makefile.filter.targ provide centralized Makefiles
262a8d6ebaSRod Evans# for driving the creation of filters.  See Makefile.filter.com for usage.
272a8d6ebaSRod Evans
282a8d6ebaSRod Evans# Override shared object build rule from Makefile.lib.  This rule uses $(LD)
292a8d6ebaSRod Evans# directly to avoid .init and .fini sections being added.
302a8d6ebaSRod Evans
31*85f4cb87SRichard LoweBUILD.SO =	$(LD) $(MAPFILECLASS) -o $@ $(GSHARED) $(DYNFLAGS)
322a8d6ebaSRod Evans
332a8d6ebaSRod Evans# Since no OBJECTS are used in this build, turn off CTF.
342a8d6ebaSRod Evans
352a8d6ebaSRod EvansCTFMERGE_LIB =	:
362a8d6ebaSRod Evans
372a8d6ebaSRod Evans.KEEP_STATE:
382a8d6ebaSRod Evans
392a8d6ebaSRod Evansall:		$$(LIBS)
402a8d6ebaSRod Evans
412a8d6ebaSRod Evans
422a8d6ebaSRod Evansinclude		$(SRC)/lib/Makefile.targ
43