Makefile revision cd3e933325e68e23516a196a8fea7f49b1e497c3
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz#
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# CDDL HEADER START
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz#
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# The contents of this file are subject to the terms of the
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# Common Development and Distribution License (the "License").
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# You may not use this file except in compliance with the License.
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz#
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# or http://www.opensolaris.org/os/licensing.
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# See the License for the specific language governing permissions
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# and limitations under the License.
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz#
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# When distributing Covered Code, include this CDDL HEADER in each
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# If applicable, add the following below this CDDL HEADER, with the
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# fields enclosed by brackets "[]" replaced with your own identifying
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# information: Portions Copyright [yyyy] [name of copyright owner]
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz#
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# CDDL HEADER END
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz#
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz#
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz# Copyright (c) 1999, 2010, Oracle and/or its affiliates. All rights reserved.
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz#
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulzinclude $(SRC)/cmd/sgs/librtld/Makefile.com
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst SchulzCPPFLAGS += -I../../../../uts/intel/amd64/krtld
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz.KEEP_STATE:
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst SchulzROOTFS_DYNLIB64 = $(DYNLIB:%=$(ROOTFS_LIBDIR64)/%)
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz$(ROOTFS_DYNLIB64) := FILEMODE=755
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst SchulzLINTFLAGS64 += $(VAR_LINTFLAGS64)
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulzall: $(DYNLIB) $(LIBLINKS)
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulzinstall: all $(ROOTFS_DYNLIB64)
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulzlint: $(LINTLIB) $(LINTOUT64) $(SGSLINTOUT)
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst SchulzCPPFLAGS += -D_ELF64
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulzinclude $(SRC)/cmd/sgs/librtld/Makefile.targ
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulzinclude ../../Makefile.sub.64
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst SchulzCONVLIBDIR = $(CONVLIBDIR64)
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst SchulzELFLIBDIR = $(ELFLIBDIR64)
7af4df794a0e0f0cb927bd9371556ad098308983Ewaryst Schulz