xref: /titanic_52/usr/src/common/mapfiles/amd64/Makefile (revision cd3e933325e68e23516a196a8fea7f49b1e497c3)
124da5b34Srie#
224da5b34Srie# CDDL HEADER START
324da5b34Srie#
424da5b34Srie# The contents of this file are subject to the terms of the
524da5b34Srie# Common Development and Distribution License (the "License").
624da5b34Srie# You may not use this file except in compliance with the License.
724da5b34Srie#
824da5b34Srie# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
924da5b34Srie# or http://www.opensolaris.org/os/licensing.
1024da5b34Srie# See the License for the specific language governing permissions
1124da5b34Srie# and limitations under the License.
1224da5b34Srie#
1324da5b34Srie# When distributing Covered Code, include this CDDL HEADER in each
1424da5b34Srie# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
1524da5b34Srie# If applicable, add the following below this CDDL HEADER, with the
1624da5b34Srie# fields enclosed by brackets "[]" replaced with your own identifying
1724da5b34Srie# information: Portions Copyright [yyyy] [name of copyright owner]
1824da5b34Srie#
1924da5b34Srie# CDDL HEADER END
2024da5b34Srie#
2124da5b34Srie
2224da5b34Srie#
23*cd3e9333SAli Bahrami# Copyright (c) 2004, 2010, Oracle and/or its affiliates. All rights reserved.
2424da5b34Srie#
2524da5b34Srie
2624da5b34Srieinclude		$(SRC)/Makefile.master
2724da5b34Srie
2824da5b34SrieROOTDIR=	$(ROOT)/usr/lib/ld
2924da5b34SrieROOTDIR64=	$(ROOT)/usr/lib/ld/$(MACH64)
3024da5b34Srie
3124da5b34SrieDIRS=		$(ROOTDIR) $(ROOTDIR64)
32*cd3e9333SAli BahramiFILES=
3324da5b34Srie
3424da5b34Srieinstall: $(DIRS) $(FILES) map.link
3524da5b34Srie
3624da5b34Srie$(FILES):=	FILEMODE=444
3724da5b34Srie
3824da5b34Srie$(DIRS):=	DIRMODE=755
3924da5b34Srie
4024da5b34Sriemap.link:
41*cd3e9333SAli Bahrami	$(RM) $(ROOTDIR64)/map.default \
42*cd3e9333SAli Bahrami		$(ROOTDIR64)/map.above4G $(ROOTDIR64)/map.below4G
43*cd3e9333SAli Bahrami	$(SYMLINK) ../map.default $(ROOTDIR64)/map.default
44*cd3e9333SAli Bahrami	$(SYMLINK) ../map.above4G $(ROOTDIR64)/map.above4G
45*cd3e9333SAli Bahrami	$(SYMLINK) ../map.below4G $(ROOTDIR64)/map.below4G
4624da5b34Srie
4724da5b34Srie$(DIRS):
4824da5b34Srie	$(INS.dir)
4924da5b34Srie
5024da5b34Srie$(ROOTDIR)/%: %
5124da5b34Srie	$(INS.file)
5224da5b34Srie
5324da5b34Srie$(ROOTDIR64)/%: %
5424da5b34Srie	$(INS.file)
55