xref: /illumos-gate/usr/src/common/mapfiles/common/Makefile (revision 4c87aefe8930bd07275b8dd2e96ea5f24d93a52e)
1#
2# CDDL HEADER START
3#
4# The contents of this file are subject to the terms of the
5# Common Development and Distribution License (the "License").
6# You may not use this file except in compliance with the License.
7#
8# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9# or http://www.opensolaris.org/os/licensing.
10# See the License for the specific language governing permissions
11# and limitations under the License.
12#
13# When distributing Covered Code, include this CDDL HEADER in each
14# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15# If applicable, add the following below this CDDL HEADER, with the
16# fields enclosed by brackets "[]" replaced with your own identifying
17# information: Portions Copyright [yyyy] [name of copyright owner]
18#
19# CDDL HEADER END
20#
21
22#
23# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
24#
25
26include		$(SRC)/Makefile.master
27
28ROOTDIR=	$(ROOT)/usr/lib/ld
29
30DIRS=		$(ROOTDIR)
31FILES=	\
32		$(ROOTDIR)/map.above4G \
33		$(ROOTDIR)/map.below4G \
34		$(ROOTDIR)/map.bssalign \
35		$(ROOTDIR)/map.execdata \
36		$(ROOTDIR)/map.default \
37		$(ROOTDIR)/map.filter \
38		$(ROOTDIR)/map.noexbss \
39		$(ROOTDIR)/map.noexdata \
40		$(ROOTDIR)/map.noexstk \
41		$(ROOTDIR)/map.pagealign
42
43install:	$(DIRS) $(FILES)
44
45$(FILES):=	FILEMODE=444
46
47$(DIRS):=	DIRMODE=755
48
49$(DIRS):
50	$(INS.dir)
51
52$(ROOTDIR)/%: %
53	$(INS.file)
54