diff options
author | marcel <marcel@FreeBSD.org> | 2014-03-04 02:19:39 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2014-03-04 02:19:39 +0000 |
commit | 99c9726a00498d5292868949dc0fccf901914e8c (patch) | |
tree | b427452563e69236dc90188829d2ff7e5d0b08d3 /lib/libc/uuid | |
parent | ccdeb47ad3a689733148c261070973c096386a40 (diff) | |
download | FreeBSD-src-99c9726a00498d5292868949dc0fccf901914e8c.zip FreeBSD-src-99c9726a00498d5292868949dc0fccf901914e8c.tar.gz |
Replace use of ${.CURDIR} by ${LIBC_SRCTOP} and define ${LIBC_SRCTOP}
if not already defined. This allows building libc from outside of
lib/libc using a reach-over makefile.
A typical use-case is to build a standard ILP32 version and a COMPAT32
version in a single iteration by building the COMPAT32 version using a
reach-over makefile.
Obtained from: Juniper Networks, Inc.
Diffstat (limited to 'lib/libc/uuid')
-rw-r--r-- | lib/libc/uuid/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/uuid/Makefile.inc b/lib/libc/uuid/Makefile.inc index 595f0d0..05c1322 100644 --- a/lib/libc/uuid/Makefile.inc +++ b/lib/libc/uuid/Makefile.inc @@ -2,12 +2,12 @@ # DCE 1.1 UUID implementation sources -.PATH: ${.CURDIR}/uuid +.PATH: ${LIBC_SRCTOP}/uuid SRCS+= uuid_compare.c uuid_create.c uuid_create_nil.c uuid_equal.c \ uuid_from_string.c uuid_hash.c uuid_is_nil.c uuid_stream.c \ uuid_to_string.c -SYM_MAPS+= ${.CURDIR}/uuid/Symbol.map +SYM_MAPS+= ${LIBC_SRCTOP}/uuid/Symbol.map MAN+= uuid.3 MLINKS+=uuid.3 uuid_compare.3 |