Makefile.lib (257873cfc1dd3337766407f80397db60a56f2f5a) Makefile.lib (2a8d6eba033e4713ab12b61178f0513f1f075482)
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

--- 4 unchanged lines hidden (view full) ---

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#
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

--- 4 unchanged lines hidden (view full) ---

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# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
21# Copyright 2009 Sun Microsystems, Inc. All rights reserved.
22# Use is subject to license terms.
23#
24#
25# Definitions common to libraries.
26#
27# include global definitions; SRC should be defined in the shell.
28# SRC is needed until RFE 1026993 is implemented.
29

--- 9 unchanged lines hidden (view full) ---

39# actually built. Many libraries define a 'common' directory to
40# contain the source. These libraries must redefine SRCDIR as:
41# SRCDIR = ../common
42# Other variations are possible (../port, ../src, etc).
43#
44SRCDIR = ..
45
46#
22# Use is subject to license terms.
23#
24#
25# Definitions common to libraries.
26#
27# include global definitions; SRC should be defined in the shell.
28# SRC is needed until RFE 1026993 is implemented.
29

--- 9 unchanged lines hidden (view full) ---

39# actually built. Many libraries define a 'common' directory to
40# contain the source. These libraries must redefine SRCDIR as:
41# SRCDIR = ../common
42# Other variations are possible (../port, ../src, etc).
43#
44SRCDIR = ..
45
46#
47# We define MAPFILES here for the benefit of most libraries,
48# those that follow the convention of having source files and other
49# common files in the $(SRCDIR) directory. Libraries that do not
50# follow this convention must define MAPFILES for themselves.
47# We define MAPFILES here for the benefit of most libraries, those that
48# follow the convention of having source files and other common files
49# in the $(SRCDIR) directory. Libraries that do not follow this
50# convention must define MAPFILES, or MAPFILEDIR for themselves.
51# Libraries that do follow this convention but that need supplemental
52# ISA-specific mapfiles can augment MAPFILES like this:
53# MAPFILES += mapfile-vers
54#
51# Libraries that do follow this convention but that need supplemental
52# ISA-specific mapfiles can augment MAPFILES like this:
53# MAPFILES += mapfile-vers
54#
55MAPFILES = $(SRCDIR)/mapfile-vers
55MAPFILEDIR = $(SRCDIR)
56MAPFILES = $(MAPFILEDIR)/mapfile-vers
56
57#
58# If HDRDIR is left unset, then it's possible for the $(ROOTHDRDIR)/%
59# install rule in lib/Makefile.targ to generate false matches if there
60# are any common directory names between / and /usr/include (`xfn' is
61# one common example). To prevent this, we set HDRDIR to a directory
62# name that will almost surely not exist on the build machine.
63#

--- 194 unchanged lines hidden ---
57
58#
59# If HDRDIR is left unset, then it's possible for the $(ROOTHDRDIR)/%
60# install rule in lib/Makefile.targ to generate false matches if there
61# are any common directory names between / and /usr/include (`xfn' is
62# one common example). To prevent this, we set HDRDIR to a directory
63# name that will almost surely not exist on the build machine.
64#

--- 194 unchanged lines hidden ---