xref: /illumos-gate/usr/src/lib/librt/Makefile.com (revision cd61ae21816e53b94bc1673f3f1aa651fc3115e8)
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
5734b6a94Sdarrenm# Common Development and Distribution License (the "License").
6734b6a94Sdarrenm# 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) 1997, 2010, Oracle and/or its affiliates. All rights reserved.
237c478bd9Sstevel@tonic-gate#
247c478bd9Sstevel@tonic-gate
257c478bd9Sstevel@tonic-gateLIBRARY =	librt.a
267c478bd9Sstevel@tonic-gateVERS =		.1
277c478bd9Sstevel@tonic-gate
282a8d6ebaSRod Evansinclude		$(SRC)/lib/Makefile.rootfs
297c478bd9Sstevel@tonic-gate
30f808c858SrafDYNFLAGS +=	-F libc.so.1
31*cd61ae21SRichard Lowe
32*cd61ae21SRichard LoweCOMPATLINKS +=	lib/libposix4.so.1 \
33*cd61ae21SRichard Lowe		lib/libposix4.so \
34*cd61ae21SRichard Lowe		usr/lib/libposix4.so.1 \
35*cd61ae21SRichard Lowe		usr/lib/libposix4.so
36*cd61ae21SRichard Lowe
37*cd61ae21SRichard LoweCOMPATLINKS64 +=	lib/$(MACH64)/libposix4.so.1 \
38*cd61ae21SRichard Lowe			lib/$(MACH64)/libposix4.so \
39*cd61ae21SRichard Lowe			usr/lib/$(MACH64)/libposix4.so.1 \
40*cd61ae21SRichard Lowe			usr/lib/$(MACH64)/libposix4.so
41*cd61ae21SRichard Lowe
42*cd61ae21SRichard Lowe$(ROOT)/lib/libposix4.so.1 := COMPATLINKTARGET=librt.so.1
43*cd61ae21SRichard Lowe$(ROOT)/lib/libposix4.so := COMPATLINKTARGET=libposix4.so.1
44*cd61ae21SRichard Lowe$(ROOT)/usr/lib/libposix4.so.1 := COMPATLINKTARGET=../../lib/librt.so.1
45*cd61ae21SRichard Lowe$(ROOT)/usr/lib/libposix4.so := COMPATLINKTARGET=../../lib/librt.so.1
46*cd61ae21SRichard Lowe$(ROOT)/lib/$(MACH64)/libposix4.so.1 := COMPATLINKTARGET=librt.so.1
47*cd61ae21SRichard Lowe$(ROOT)/lib/$(MACH64)/libposix4.so := COMPATLINKTARGET=libposix4.so.1
48*cd61ae21SRichard Lowe$(ROOT)/usr/lib/$(MACH64)/libposix4.so.1:= \
49*cd61ae21SRichard Lowe	COMPATLINKTARGET=../../../lib/$(MACH64)/librt.so.1
50*cd61ae21SRichard Lowe$(ROOT)/usr/lib/$(MACH64)/libposix4.so:= \
51*cd61ae21SRichard Lowe	COMPATLINKTARGET=../../../lib/$(MACH64)/librt.so.1
52*cd61ae21SRichard Lowe$(ROOT)/usr/lib/$(MACH64)/librt.so.1:= \
53*cd61ae21SRichard Lowe	COMPATLINKTARGET=../../../lib/$(MACH64)/librt.so.1
54*cd61ae21SRichard Lowe$(ROOT)/usr/lib/$(MACH64)/librt.so:= \
55*cd61ae21SRichard Lowe	COMPATLINKTARGET=../../../lib/$(MACH64)/librt.so.1
56