17c478bd9Sstevel@tonic-gate#
27c478bd9Sstevel@tonic-gate# CDDL HEADER START
37c478bd9Sstevel@tonic-gate#
47c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the
5f808c858Sraf# Common Development and Distribution License (the "License").
6f808c858Sraf# You may not use this file except in compliance with the License.
77c478bd9Sstevel@tonic-gate#
87c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
97c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing.
107c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions
117c478bd9Sstevel@tonic-gate# and limitations under the License.
127c478bd9Sstevel@tonic-gate#
137c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each
147c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
157c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the
167c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying
177c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner]
187c478bd9Sstevel@tonic-gate#
197c478bd9Sstevel@tonic-gate# CDDL HEADER END
207c478bd9Sstevel@tonic-gate#
217c478bd9Sstevel@tonic-gate#
22cd3e9333SAli Bahrami# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
237c478bd9Sstevel@tonic-gate#
247c478bd9Sstevel@tonic-gate
252a8d6ebaSRod EvansLIBRARY =	libthread.a
262a8d6ebaSRod EvansVERS =		.1
277c478bd9Sstevel@tonic-gate
282a8d6ebaSRod Evansinclude		$(SRC)/lib/Makefile.rootfs
297c478bd9Sstevel@tonic-gate
30f808c858SrafDYNFLAGS +=	-F libc.so.1
31*cd61ae21SRichard Lowe
32*cd61ae21SRichard LoweCOMPATLINKS +=	usr/lib/lwp/libthread.so.1 \
33*cd61ae21SRichard Lowe		usr/lib/lwp/libthread_db.so.1 \
34*cd61ae21SRichard Lowe		lib/libthread_db.so.1 \
35*cd61ae21SRichard Lowe		lib/libthread_db.so \
36*cd61ae21SRichard Lowe		usr/lib/libthread_db.so.1 \
37*cd61ae21SRichard Lowe		usr/lib/libthread_db.so
38*cd61ae21SRichard Lowe
39*cd61ae21SRichard LoweCOMPATLINKS64 +=	usr/lib/lwp/$(MACH64)/libthread.so.1 \
40*cd61ae21SRichard Lowe			usr/lib/lwp/$(MACH64)/libthread_db.so.1 \
41*cd61ae21SRichard Lowe			lib/$(MACH64)/libthread_db.so.1 \
42*cd61ae21SRichard Lowe			lib/$(MACH64)/libthread_db.so \
43*cd61ae21SRichard Lowe			usr/lib/$(MACH64)/libthread_db.so.1 \
44*cd61ae21SRichard Lowe			usr/lib/$(MACH64)/libthread_db.so
45*cd61ae21SRichard Lowe
46*cd61ae21SRichard Lowe$(ROOT)/usr/lib/lwp/libthread.so.1 := COMPATLINKTARGET=../libthread.so.1
47*cd61ae21SRichard Lowe$(ROOT)/usr/lib/lwp/libthread_db.so.1 := COMPATLINKTARGET=../libthread_db.so.1
48*cd61ae21SRichard Lowe$(ROOT)/usr/lib/lwp/$(MACH64)/libthread.so.1:= \
49*cd61ae21SRichard Lowe	COMPATLINKTARGET=../../$(MACH64)/libthread.so.1
50*cd61ae21SRichard Lowe$(ROOT)/usr/lib/lwp/$(MACH64)/libthread_db.so.1:= \
51*cd61ae21SRichard Lowe	COMPATLINKTARGET=../../$(MACH64)/libthread_db.so.1
52*cd61ae21SRichard Lowe$(ROOT)/lib/libthread_db.so.1 := COMPATLINKTARGET=libc_db.so.1
53*cd61ae21SRichard Lowe$(ROOT)/lib/libthread_db.so := COMPATLINKTARGET=libc_db.so.1
54*cd61ae21SRichard Lowe$(ROOT)/usr/lib/libthread_db.so.1 := COMPATLINKTARGET=../../lib/libc_db.so.1
55*cd61ae21SRichard Lowe$(ROOT)/usr/lib/libthread_db.so := COMPATLINKTARGET=../../lib/libc_db.so.1
56*cd61ae21SRichard Lowe$(ROOT)/lib/$(MACH64)/libthread_db.so.1 := COMPATLINKTARGET=libc_db.so.1
57*cd61ae21SRichard Lowe$(ROOT)/lib/$(MACH64)/libthread_db.so := COMPATLINKTARGET=libc_db.so.1
58*cd61ae21SRichard Lowe$(ROOT)/usr/lib/$(MACH64)/libthread_db.so.1:= \
59*cd61ae21SRichard Lowe	COMPATLINKTARGET=../../../lib/$(MACH64)/libc_db.so.1
60*cd61ae21SRichard Lowe$(ROOT)/usr/lib/$(MACH64)/libthread_db.so:= \
61*cd61ae21SRichard Lowe	COMPATLINKTARGET=../../../lib/$(MACH64)/libc_db.so.1
62