diff options
author | Marcel Moolenaar <marcel@FreeBSD.org> | 2014-03-04 02:19:39 +0000 |
---|---|---|
committer | Marcel Moolenaar <marcel@FreeBSD.org> | 2014-03-04 02:19:39 +0000 |
commit | 8876613dc50029e88a84fd595d4a1f3c52c92350 (patch) | |
tree | b427452563e69236dc90188829d2ff7e5d0b08d3 /lib/libc/xdr | |
parent | 0f8d6cfc1522ee391d232f145c15c2de3d859920 (diff) |
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.
Notes
Notes:
svn path=/head/; revision=262722
Diffstat (limited to 'lib/libc/xdr')
-rw-r--r-- | lib/libc/xdr/Makefile.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/xdr/Makefile.inc b/lib/libc/xdr/Makefile.inc index d1bb208b8e38..ff2c47305a9e 100644 --- a/lib/libc/xdr/Makefile.inc +++ b/lib/libc/xdr/Makefile.inc @@ -1,12 +1,12 @@ # @(#)Makefile 5.11 (Berkeley) 9/6/90 # $FreeBSD$ -.PATH: ${.CURDIR}/xdr ${.CURDIR}/. +.PATH: ${LIBC_SRCTOP}/xdr ${LIBC_SRCTOP}/. SRCS+= xdr.c xdr_array.c xdr_float.c xdr_mem.c \ xdr_rec.c xdr_reference.c xdr_sizeof.c \ xdr_stdio.c -SYM_MAPS+= ${.CURDIR}/xdr/Symbol.map +SYM_MAPS+= ${LIBC_SRCTOP}/xdr/Symbol.map MAN+= xdr.3 |