mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-27 11:55:06 +00:00
Utilize SYSROOT from r320119 in places where DESTDIR may be wanting WORLDTMP.
Since buildenv exports SYSROOT all of these uses will now look in WORLDTMP by default. sys/boot/efi/loader/Makefile A LIBSTAND hack is no longer required for buildenv. MFC after: 2 weeks Sponsored by: Dell EMC Isilon
This commit is contained in:
parent
212e02c836
commit
c99b67a794
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320122
@ -11,16 +11,10 @@ SRCS=
|
|||||||
# Use #include <zfsd/xxx.h> in test programs.
|
# Use #include <zfsd/xxx.h> in test programs.
|
||||||
INCFLAGS+= -I${.CURDIR:H:H}
|
INCFLAGS+= -I${.CURDIR:H:H}
|
||||||
|
|
||||||
.if defined(DESTDIR)
|
.if defined(DESTDIR) || defined(SYSROOT)
|
||||||
INCFLAGS+= -I${DESTDIR}/usr/include
|
INCFLAGS+= -I${SYSROOT:U${DESTDIR}}/usr/include
|
||||||
LIBRARY_PATH= ${DESTDIR}/lib:${DESTDIR}/usr/lib
|
LDFLAGS.zfsd_unittest+= -L${SYSROOT:U${DESTDIR}}/lib \
|
||||||
LDFLAGS.zfsd_unittest+= -L${DESTDIR}/lib -L${DESTDIR}/usr/lib
|
-L${SYSROOT:U${DESTDIR}}/usr/lib
|
||||||
.elif defined(WORLDTMP)
|
|
||||||
INCFLAGS+= -I${WORLDTMP}/usr/include
|
|
||||||
LIBRARY_PATH= ${WORLDTMP}/lib:${WORLDTMP}/usr/lib
|
|
||||||
LDFLAGS.zfsd_unittest+= -L${WORLDTMP}/lib -L${WORLDTMP}/usr/lib
|
|
||||||
.else
|
|
||||||
LIBRARY_PATH=
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
# Googletest options
|
# Googletest options
|
||||||
|
@ -14,7 +14,7 @@ SRCS= closeout.c dfa.c error.c exclude.c grep.c grepmat.c hard-locale.c \
|
|||||||
xstrtoumax.c
|
xstrtoumax.c
|
||||||
CLEANFILES+= gnugrep.1
|
CLEANFILES+= gnugrep.1
|
||||||
|
|
||||||
CFLAGS+=-I${.CURDIR} -I${DESTDIR}/usr/include/gnu -DHAVE_CONFIG_H
|
CFLAGS+=-I${.CURDIR} -I${SYSROOT:U${DESTDIR}}/usr/include/gnu -DHAVE_CONFIG_H
|
||||||
|
|
||||||
.if ${MK_BSD_GREP} != "yes"
|
.if ${MK_BSD_GREP} != "yes"
|
||||||
LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \
|
LINKS+= ${BINDIR}/grep ${BINDIR}/egrep \
|
||||||
|
115
include/Makefile
115
include/Makefile
@ -133,23 +133,24 @@ _MARCHS+= x86
|
|||||||
|
|
||||||
META_TARGETS+= compat
|
META_TARGETS+= compat
|
||||||
stage_includes: ${SHARED}
|
stage_includes: ${SHARED}
|
||||||
|
SDESTDIR= ${SYSROOT:U${DESTDIR}}
|
||||||
|
|
||||||
# Take care of stale directory-level symlinks.
|
# Take care of stale directory-level symlinks.
|
||||||
compat:
|
compat:
|
||||||
.for i in ${LDIRS} ${LSUBDIRS} machine ${_MARCHS} crypto
|
.for i in ${LDIRS} ${LSUBDIRS} machine ${_MARCHS} crypto
|
||||||
if [ -L ${DESTDIR}${INCLUDEDIR}/$i ]; then \
|
if [ -L ${SDESTDIR}${INCLUDEDIR}/$i ]; then \
|
||||||
rm -f ${DESTDIR}${INCLUDEDIR}/$i; \
|
rm -f ${SDESTDIR}${INCLUDEDIR}/$i; \
|
||||||
fi
|
fi
|
||||||
.endfor
|
.endfor
|
||||||
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
|
mtree -deU ${MTREE_FOLLOWS_SYMLINKS} \
|
||||||
-f ${SRCTOP}/etc/mtree/BSD.include.dist \
|
-f ${SRCTOP}/etc/mtree/BSD.include.dist \
|
||||||
-p ${DESTDIR}${INCLUDEDIR} > /dev/null
|
-p ${SDESTDIR}${INCLUDEDIR} > /dev/null
|
||||||
|
|
||||||
copies: .PHONY .META
|
copies: .PHONY .META
|
||||||
.for i in ${LDIRS} ${LSUBDIRS} ${LSUBSUBDIRS} crypto machine machine/pc \
|
.for i in ${LDIRS} ${LSUBDIRS} ${LSUBSUBDIRS} crypto machine machine/pc \
|
||||||
${_MARCHS}
|
${_MARCHS}
|
||||||
if [ -d ${DESTDIR}${INCLUDEDIR}/$i ]; then \
|
if [ -d ${SDESTDIR}${INCLUDEDIR}/$i ]; then \
|
||||||
cd ${DESTDIR}${INCLUDEDIR}/$i; \
|
cd ${SDESTDIR}${INCLUDEDIR}/$i; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
if [ -L $$h ]; then rm -f $$h; fi; \
|
if [ -L $$h ]; then rm -f $$h; fi; \
|
||||||
done; \
|
done; \
|
||||||
@ -158,101 +159,101 @@ copies: .PHONY .META
|
|||||||
.for i in ${LDIRS} ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/bktr:Ndev/evdev:Ndev/hyperv:Ndev/nand:Ndev/pci} ${LSUBSUBDIRS}
|
.for i in ${LDIRS} ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/bktr:Ndev/evdev:Ndev/hyperv:Ndev/nand:Ndev/pci} ${LSUBSUBDIRS}
|
||||||
cd ${SRCTOP}/sys; \
|
cd ${SRCTOP}/sys; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 $i/*.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/$i
|
${SDESTDIR}${INCLUDEDIR}/$i
|
||||||
.endfor
|
.endfor
|
||||||
cd ${SRCTOP}/sys/dev/acpica; \
|
cd ${SRCTOP}/sys/dev/acpica; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 acpiio.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 acpiio.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/acpica; \
|
${SDESTDIR}${INCLUDEDIR}/dev/acpica; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 acpi_hpet.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 acpi_hpet.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/acpica
|
${SDESTDIR}${INCLUDEDIR}/dev/acpica
|
||||||
cd ${SRCTOP}/sys/dev/agp; \
|
cd ${SRCTOP}/sys/dev/agp; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 agpreg.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 agpreg.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/agp
|
${SDESTDIR}${INCLUDEDIR}/dev/agp
|
||||||
cd ${SRCTOP}/sys/dev/bktr; \
|
cd ${SRCTOP}/sys/dev/bktr; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 ioctl_*.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 ioctl_*.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/bktr
|
${SDESTDIR}${INCLUDEDIR}/dev/bktr
|
||||||
.if ${MK_NAND} != "no"
|
.if ${MK_NAND} != "no"
|
||||||
cd ${SRCTOP}/sys/dev/nand; \
|
cd ${SRCTOP}/sys/dev/nand; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nandsim.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nandsim.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/nand; \
|
${SDESTDIR}${INCLUDEDIR}/dev/nand; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nand_dev.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nand_dev.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/nand
|
${SDESTDIR}${INCLUDEDIR}/dev/nand
|
||||||
.endif
|
.endif
|
||||||
cd ${SRCTOP}/sys/dev/evdev; \
|
cd ${SRCTOP}/sys/dev/evdev; \
|
||||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 input.h \
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 input.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/evdev; \
|
${SDESTDIR}${INCLUDEDIR}/dev/evdev; \
|
||||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 input-event-codes.h \
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 input-event-codes.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/evdev; \
|
${SDESTDIR}${INCLUDEDIR}/dev/evdev; \
|
||||||
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 uinput.h \
|
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 uinput.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/evdev
|
${SDESTDIR}${INCLUDEDIR}/dev/evdev
|
||||||
cd ${SRCTOP}/sys/dev/hyperv/include; \
|
cd ${SRCTOP}/sys/dev/hyperv/include; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 hyperv.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 hyperv.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/hyperv
|
${SDESTDIR}${INCLUDEDIR}/dev/hyperv
|
||||||
cd ${SRCTOP}/sys/dev/hyperv/utilities; \
|
cd ${SRCTOP}/sys/dev/hyperv/utilities; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 hv_snapshot.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 hv_snapshot.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/hyperv
|
${SDESTDIR}${INCLUDEDIR}/dev/hyperv
|
||||||
cd ${SRCTOP}/sys/dev/pci; \
|
cd ${SRCTOP}/sys/dev/pci; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 pcireg.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 pcireg.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/pci
|
${SDESTDIR}${INCLUDEDIR}/dev/pci
|
||||||
cd ${SRCTOP}/sys/fs/cd9660/; \
|
cd ${SRCTOP}/sys/fs/cd9660/; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/isofs/cd9660
|
${SDESTDIR}${INCLUDEDIR}/isofs/cd9660
|
||||||
.if ${MK_IPFILTER} != "no"
|
.if ${MK_IPFILTER} != "no"
|
||||||
cd ${SRCTOP}/sys/contrib/ipfilter/netinet; \
|
cd ${SRCTOP}/sys/contrib/ipfilter/netinet; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/netinet
|
${SDESTDIR}${INCLUDEDIR}/netinet
|
||||||
.endif
|
.endif
|
||||||
.if ${MK_PF} != "no"
|
.if ${MK_PF} != "no"
|
||||||
cd ${SRCTOP}/sys/netpfil/pf; \
|
cd ${SRCTOP}/sys/netpfil/pf; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/netpfil/pf
|
${SDESTDIR}${INCLUDEDIR}/netpfil/pf
|
||||||
.endif
|
.endif
|
||||||
cd ${SRCTOP}/sys/crypto; \
|
cd ${SRCTOP}/sys/crypto; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 rijndael/rijndael.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 rijndael/rijndael.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/crypto
|
${SDESTDIR}${INCLUDEDIR}/crypto
|
||||||
cd ${SRCTOP}/sys/opencrypto; \
|
cd ${SRCTOP}/sys/opencrypto; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/crypto
|
${SDESTDIR}${INCLUDEDIR}/crypto
|
||||||
cd ${SRCTOP}/sys/${MACHINE}/include; \
|
cd ${SRCTOP}/sys/${MACHINE}/include; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/machine
|
${SDESTDIR}${INCLUDEDIR}/machine
|
||||||
.if exists(${SRCTOP}/sys/${MACHINE}/include/pc)
|
.if exists(${SRCTOP}/sys/${MACHINE}/include/pc)
|
||||||
cd ${SRCTOP}/sys/${MACHINE}/include/pc; \
|
cd ${SRCTOP}/sys/${MACHINE}/include/pc; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/machine/pc
|
${SDESTDIR}${INCLUDEDIR}/machine/pc
|
||||||
.endif
|
.endif
|
||||||
.for _MARCH in ${_MARCHS}
|
.for _MARCH in ${_MARCHS}
|
||||||
.if exists(${SRCTOP}/sys/${_MARCH}/include)
|
.if exists(${SRCTOP}/sys/${_MARCH}/include)
|
||||||
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||||
cd ${SRCTOP}/sys/${_MARCH}/include; \
|
cd ${SRCTOP}/sys/${_MARCH}/include; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}
|
||||||
.if exists(${SRCTOP}/sys/${_MARCH}/include/pc)
|
.if exists(${SRCTOP}/sys/${_MARCH}/include/pc)
|
||||||
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
||||||
cd ${SRCTOP}/sys/${_MARCH}/include/pc; \
|
cd ${SRCTOP}/sys/${_MARCH}/include/pc; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 *.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}/pc
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
.endfor
|
.endfor
|
||||||
cd ${SRCTOP}/sys/rpc; \
|
cd ${SRCTOP}/sys/rpc; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 types.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 types.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/rpc
|
${SDESTDIR}${INCLUDEDIR}/rpc
|
||||||
cd ${SRCTOP}/sys/teken; \
|
cd ${SRCTOP}/sys/teken; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 teken.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 teken.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/teken
|
${SDESTDIR}${INCLUDEDIR}/teken
|
||||||
.if ${MK_CDDL} != "no"
|
.if ${MK_CDDL} != "no"
|
||||||
cd ${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common; \
|
cd ${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 libzfs_core.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 libzfs_core.h \
|
||||||
${DESTDIR}${INCLUDEDIR}
|
${SDESTDIR}${INCLUDEDIR}
|
||||||
cd ${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair; \
|
cd ${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 libnvpair.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 libnvpair.h \
|
||||||
${DESTDIR}${INCLUDEDIR}
|
${SDESTDIR}${INCLUDEDIR}
|
||||||
cd ${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys; \
|
cd ${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys; \
|
||||||
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nvpair.h \
|
${INSTALL} -C ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 444 nvpair.h \
|
||||||
${DESTDIR}${INCLUDEDIR}/sys
|
${SDESTDIR}${INCLUDEDIR}/sys
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
symlinks: .PHONY .META
|
symlinks: .PHONY .META
|
||||||
@ -260,115 +261,115 @@ symlinks: .PHONY .META
|
|||||||
.for i in ${LDIRS}
|
.for i in ${LDIRS}
|
||||||
cd ${SRCTOP}/sys/$i; \
|
cd ${SRCTOP}/sys/$i; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/$i/$$h ${SDESTDIR}${INCLUDEDIR}/$i; \
|
||||||
done
|
done
|
||||||
.endfor
|
.endfor
|
||||||
.for i in ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/bktr:Ndev/evdev:Ndev/hyperv:Ndev/nand:Ndev/pci}
|
.for i in ${LSUBDIRS:Ndev/agp:Ndev/acpica:Ndev/bktr:Ndev/evdev:Ndev/hyperv:Ndev/nand:Ndev/pci}
|
||||||
cd ${SRCTOP}/sys/$i; \
|
cd ${SRCTOP}/sys/$i; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/$i/$$h ${SDESTDIR}${INCLUDEDIR}/$i; \
|
||||||
done
|
done
|
||||||
.endfor
|
.endfor
|
||||||
cd ${SRCTOP}/sys/dev/acpica; \
|
cd ${SRCTOP}/sys/dev/acpica; \
|
||||||
for h in acpiio.h acpi_hpet.h; do \
|
for h in acpiio.h acpi_hpet.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/acpica/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/acpica/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/acpica; \
|
${SDESTDIR}${INCLUDEDIR}/dev/acpica; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/agp; \
|
cd ${SRCTOP}/sys/dev/agp; \
|
||||||
for h in agpreg.h; do \
|
for h in agpreg.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/agp/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/agp/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/agp; \
|
${SDESTDIR}${INCLUDEDIR}/dev/agp; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/bktr; \
|
cd ${SRCTOP}/sys/dev/bktr; \
|
||||||
for h in ioctl_*.h; do \
|
for h in ioctl_*.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/bktr/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/bktr/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/bktr; \
|
${SDESTDIR}${INCLUDEDIR}/dev/bktr; \
|
||||||
done
|
done
|
||||||
.if ${MK_NAND} != "no"
|
.if ${MK_NAND} != "no"
|
||||||
cd ${SRCTOP}/sys/dev/nand; \
|
cd ${SRCTOP}/sys/dev/nand; \
|
||||||
for h in nandsim.h nand_dev.h; do \
|
for h in nandsim.h nand_dev.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/nand/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/nand/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/nand; \
|
${SDESTDIR}${INCLUDEDIR}/dev/nand; \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
cd ${SRCTOP}/sys/dev/evdev; \
|
cd ${SRCTOP}/sys/dev/evdev; \
|
||||||
for h in input.h input-event-codes.h uinput.h; do \
|
for h in input.h input-event-codes.h uinput.h; do \
|
||||||
ln -fs ../../../../sys/dev/evdev/$$h \
|
ln -fs ../../../../sys/dev/evdev/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/evdev; \
|
${SDESTDIR}${INCLUDEDIR}/dev/evdev; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/hyperv/include; \
|
cd ${SRCTOP}/sys/dev/hyperv/include; \
|
||||||
for h in hyperv.h; do \
|
for h in hyperv.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/hyperv/include/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/hyperv/include/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/hyperv; \
|
${SDESTDIR}${INCLUDEDIR}/dev/hyperv; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/hyperv/utilities; \
|
cd ${SRCTOP}/sys/dev/hyperv/utilities; \
|
||||||
for h in hv_snapshot.h; do \
|
for h in hv_snapshot.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/hyperv/utilities/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/hyperv/utilities/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/hyperv; \
|
${SDESTDIR}${INCLUDEDIR}/dev/hyperv; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/dev/pci; \
|
cd ${SRCTOP}/sys/dev/pci; \
|
||||||
for h in pcireg.h; do \
|
for h in pcireg.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/pci/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/dev/pci/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/dev/pci; \
|
${SDESTDIR}${INCLUDEDIR}/dev/pci; \
|
||||||
done
|
done
|
||||||
.for i in ${LSUBSUBDIRS}
|
.for i in ${LSUBSUBDIRS}
|
||||||
cd ${SRCTOP}/sys/$i; \
|
cd ${SRCTOP}/sys/$i; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../../sys/$i/$$h ${DESTDIR}${INCLUDEDIR}/$i; \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../../sys/$i/$$h ${SDESTDIR}${INCLUDEDIR}/$i; \
|
||||||
done
|
done
|
||||||
.endfor
|
.endfor
|
||||||
.if ${MK_IPFILTER} != "no"
|
.if ${MK_IPFILTER} != "no"
|
||||||
cd ${SRCTOP}/sys/contrib/ipfilter/netinet; \
|
cd ${SRCTOP}/sys/contrib/ipfilter/netinet; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/contrib/ipfilter/netinet/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/contrib/ipfilter/netinet/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/netinet; \
|
${SDESTDIR}${INCLUDEDIR}/netinet; \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
.if ${MK_PF} != "no"
|
.if ${MK_PF} != "no"
|
||||||
cd ${SRCTOP}/sys/netpfil/pf; \
|
cd ${SRCTOP}/sys/netpfil/pf; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/netpfil/pf/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/netpfil/pf/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/netpfil/pf; \
|
${SDESTDIR}${INCLUDEDIR}/netpfil/pf; \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
cd ${SRCTOP}/sys/crypto; \
|
cd ${SRCTOP}/sys/crypto; \
|
||||||
for h in rijndael/rijndael.h; do \
|
for h in rijndael/rijndael.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/crypto/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/crypto/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/crypto; \
|
${SDESTDIR}${INCLUDEDIR}/crypto; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/opencrypto; \
|
cd ${SRCTOP}/sys/opencrypto; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/opencrypto/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/opencrypto/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/crypto; \
|
${SDESTDIR}${INCLUDEDIR}/crypto; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/${MACHINE}/include; \
|
cd ${SRCTOP}/sys/${MACHINE}/include; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/${MACHINE}/include/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/${MACHINE}/include/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/machine; \
|
${SDESTDIR}${INCLUDEDIR}/machine; \
|
||||||
done
|
done
|
||||||
.if exists(${SRCTOP}/sys/${MACHINE}/include/pc)
|
.if exists(${SRCTOP}/sys/${MACHINE}/include/pc)
|
||||||
cd ${SRCTOP}/sys/${MACHINE}/include/pc; \
|
cd ${SRCTOP}/sys/${MACHINE}/include/pc; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/${MACHINE}/include/pc/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/${MACHINE}/include/pc/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/machine/pc; \
|
${SDESTDIR}${INCLUDEDIR}/machine/pc; \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
.for _MARCH in ${_MARCHS}
|
.for _MARCH in ${_MARCHS}
|
||||||
.if exists(${SRCTOP}/sys/${_MARCH}/include)
|
.if exists(${SRCTOP}/sys/${_MARCH}/include)
|
||||||
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||||
cd ${SRCTOP}/sys/${_MARCH}/include; \
|
cd ${SRCTOP}/sys/${_MARCH}/include; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/${_MARCH}/include/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/${_MARCH}/include/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}; \
|
||||||
done
|
done
|
||||||
.if exists(${SRCTOP}/sys/${_MARCH}/include/pc)
|
.if exists(${SRCTOP}/sys/${_MARCH}/include/pc)
|
||||||
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
${INSTALL} -d ${TAG_ARGS} -o ${BINOWN} -g ${BINGRP} -m 755 \
|
||||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
||||||
cd ${SRCTOP}/sys/${_MARCH}/include/pc; \
|
cd ${SRCTOP}/sys/${_MARCH}/include/pc; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/${_MARCH}/include/pc/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/${_MARCH}/include/pc/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
${SDESTDIR}${INCLUDEDIR}/${_MARCH}/pc; \
|
||||||
done
|
done
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
@ -376,12 +377,12 @@ symlinks: .PHONY .META
|
|||||||
cd ${SRCTOP}/sys/fs/cd9660; \
|
cd ${SRCTOP}/sys/fs/cd9660; \
|
||||||
for h in *.h; do \
|
for h in *.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/fs/cd9660/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../../sys/fs/cd9660/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/isofs/cd9660; \
|
${SDESTDIR}${INCLUDEDIR}/isofs/cd9660; \
|
||||||
done
|
done
|
||||||
cd ${SRCTOP}/sys/rpc; \
|
cd ${SRCTOP}/sys/rpc; \
|
||||||
for h in types.h; do \
|
for h in types.h; do \
|
||||||
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/rpc/$$h \
|
${INSTALL_SYMLINK} ${TAG_ARGS} ../../../sys/rpc/$$h \
|
||||||
${DESTDIR}${INCLUDEDIR}/rpc; \
|
${SDESTDIR}${INCLUDEDIR}/rpc; \
|
||||||
done
|
done
|
||||||
|
|
||||||
.include <bsd.prog.mk>
|
.include <bsd.prog.mk>
|
||||||
|
@ -21,7 +21,7 @@ OTHERSRCS+= yp_passwd.c yp_update.c
|
|||||||
|
|
||||||
RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen -C
|
RPCCOM= RPCGEN_CPP=${CPP:Q} rpcgen -C
|
||||||
|
|
||||||
INCDIRS= -I${DESTDIR}/usr/include/rpcsvc
|
INCDIRS= -I${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc
|
||||||
|
|
||||||
CFLAGS+= -DYP ${INCDIRS}
|
CFLAGS+= -DYP ${INCDIRS}
|
||||||
|
|
||||||
|
@ -114,7 +114,7 @@ CFLAGS.gcc+= ${CFLAGS.gcc.${.IMPSRC}}
|
|||||||
|
|
||||||
DEPENDOBJS+= tables.h
|
DEPENDOBJS+= tables.h
|
||||||
tables.h: mktables
|
tables.h: mktables
|
||||||
sh ${.CURDIR}/mktables ${DESTDIR}${INCLUDEDIR} ${.TARGET}
|
sh ${.CURDIR}/mktables ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} ${.TARGET}
|
||||||
|
|
||||||
# mkioctls runs find(1) for headers so needs to rebuild every time. This used
|
# mkioctls runs find(1) for headers so needs to rebuild every time. This used
|
||||||
# to be a hack only done in buildworld.
|
# to be a hack only done in buildworld.
|
||||||
@ -123,7 +123,7 @@ ioctl.c: .PHONY
|
|||||||
.endif
|
.endif
|
||||||
ioctl.c: mkioctls .META
|
ioctl.c: mkioctls .META
|
||||||
env CPP="${CPP}" \
|
env CPP="${CPP}" \
|
||||||
/bin/sh ${.CURDIR}/mkioctls ${DESTDIR}${INCLUDEDIR} > ${.TARGET}
|
/bin/sh ${.CURDIR}/mkioctls ${SYSROOT:U${DESTDIR}}${INCLUDEDIR} > ${.TARGET}
|
||||||
|
|
||||||
beforedepend: ioctl.c tables.h
|
beforedepend: ioctl.c tables.h
|
||||||
|
|
||||||
|
@ -6,7 +6,7 @@ SRCS= gvinum.c gvinum.h geom_vinum_share.c
|
|||||||
MAN= gvinum.8
|
MAN= gvinum.8
|
||||||
|
|
||||||
WARNS?= 2
|
WARNS?= 2
|
||||||
CFLAGS+= -I${SRCTOP}/sys -I${DESTDIR}/${INCLUDEDIR}/edit
|
CFLAGS+= -I${SRCTOP}/sys -I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit
|
||||||
|
|
||||||
LIBADD= edit geom
|
LIBADD= edit geom
|
||||||
|
|
||||||
|
@ -8,166 +8,168 @@
|
|||||||
.error bsd.libnames.mk cannot be included directly.
|
.error bsd.libnames.mk cannot be included directly.
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
LIBDESTDIR= ${SYSROOT:U${DESTDIR}}
|
||||||
|
|
||||||
.sinclude <src.libnames.mk>
|
.sinclude <src.libnames.mk>
|
||||||
|
|
||||||
# Src directory locations are also defined in src.libnames.mk.
|
# Src directory locations are also defined in src.libnames.mk.
|
||||||
|
|
||||||
LIBCRT0?= ${DESTDIR}${LIBDIR_BASE}/crt0.o
|
LIBCRT0?= ${LIBDESTDIR}${LIBDIR_BASE}/crt0.o
|
||||||
|
|
||||||
LIB80211?= ${DESTDIR}${LIBDIR_BASE}/lib80211.a
|
LIB80211?= ${LIBDESTDIR}${LIBDIR_BASE}/lib80211.a
|
||||||
LIBALIAS?= ${DESTDIR}${LIBDIR_BASE}/libalias.a
|
LIBALIAS?= ${LIBDESTDIR}${LIBDIR_BASE}/libalias.a
|
||||||
LIBARCHIVE?= ${DESTDIR}${LIBDIR_BASE}/libarchive.a
|
LIBARCHIVE?= ${LIBDESTDIR}${LIBDIR_BASE}/libarchive.a
|
||||||
LIBASN1?= ${DESTDIR}${LIBDIR_BASE}/libasn1.a
|
LIBASN1?= ${LIBDESTDIR}${LIBDIR_BASE}/libasn1.a
|
||||||
LIBATM?= ${DESTDIR}${LIBDIR_BASE}/libatm.a
|
LIBATM?= ${LIBDESTDIR}${LIBDIR_BASE}/libatm.a
|
||||||
LIBAUDITD?= ${DESTDIR}${LIBDIR_BASE}/libauditd.a
|
LIBAUDITD?= ${LIBDESTDIR}${LIBDIR_BASE}/libauditd.a
|
||||||
LIBAVL?= ${DESTDIR}${LIBDIR_BASE}/libavl.a
|
LIBAVL?= ${LIBDESTDIR}${LIBDIR_BASE}/libavl.a
|
||||||
LIBBEGEMOT?= ${DESTDIR}${LIBDIR_BASE}/libbegemot.a
|
LIBBEGEMOT?= ${LIBDESTDIR}${LIBDIR_BASE}/libbegemot.a
|
||||||
LIBBLACKLIST?= ${DESTDIR}${LIBDIR_BASE}/libblacklist.a
|
LIBBLACKLIST?= ${LIBDESTDIR}${LIBDIR_BASE}/libblacklist.a
|
||||||
LIBBLUETOOTH?= ${DESTDIR}${LIBDIR_BASE}/libbluetooth.a
|
LIBBLUETOOTH?= ${LIBDESTDIR}${LIBDIR_BASE}/libbluetooth.a
|
||||||
LIBBSDXML?= ${DESTDIR}${LIBDIR_BASE}/libbsdxml.a
|
LIBBSDXML?= ${LIBDESTDIR}${LIBDIR_BASE}/libbsdxml.a
|
||||||
LIBBSM?= ${DESTDIR}${LIBDIR_BASE}/libbsm.a
|
LIBBSM?= ${LIBDESTDIR}${LIBDIR_BASE}/libbsm.a
|
||||||
LIBBSNMP?= ${DESTDIR}${LIBDIR_BASE}/libbsnmp.a
|
LIBBSNMP?= ${LIBDESTDIR}${LIBDIR_BASE}/libbsnmp.a
|
||||||
LIBBZ2?= ${DESTDIR}${LIBDIR_BASE}/libbz2.a
|
LIBBZ2?= ${LIBDESTDIR}${LIBDIR_BASE}/libbz2.a
|
||||||
LIBC?= ${DESTDIR}${LIBDIR_BASE}/libc.a
|
LIBC?= ${LIBDESTDIR}${LIBDIR_BASE}/libc.a
|
||||||
LIBCALENDAR?= ${DESTDIR}${LIBDIR_BASE}/libcalendar.a
|
LIBCALENDAR?= ${LIBDESTDIR}${LIBDIR_BASE}/libcalendar.a
|
||||||
LIBCAM?= ${DESTDIR}${LIBDIR_BASE}/libcam.a
|
LIBCAM?= ${LIBDESTDIR}${LIBDIR_BASE}/libcam.a
|
||||||
LIBCAP_DNS?= ${DESTDIR}${LIBDIR_BASE}/libcap_dns.a
|
LIBCAP_DNS?= ${LIBDESTDIR}${LIBDIR_BASE}/libcap_dns.a
|
||||||
LIBCAP_GRP?= ${DESTDIR}${LIBDIR_BASE}/libcap_grp.a
|
LIBCAP_GRP?= ${LIBDESTDIR}${LIBDIR_BASE}/libcap_grp.a
|
||||||
LIBCAP_PWD?= ${DESTDIR}${LIBDIR_BASE}/libcap_pwd.a
|
LIBCAP_PWD?= ${LIBDESTDIR}${LIBDIR_BASE}/libcap_pwd.a
|
||||||
LIBCAP_RANDOM?= ${DESTDIR}${LIBDIR_BASE}/libcap_random.a
|
LIBCAP_RANDOM?= ${LIBDESTDIR}${LIBDIR_BASE}/libcap_random.a
|
||||||
LIBCAP_SYSCTL?= ${DESTDIR}${LIBDIR_BASE}/libcap_sysctl.a
|
LIBCAP_SYSCTL?= ${LIBDESTDIR}${LIBDIR_BASE}/libcap_sysctl.a
|
||||||
LIBCASPER?= ${DESTDIR}${LIBDIR_BASE}/libcasper.a
|
LIBCASPER?= ${LIBDESTDIR}${LIBDIR_BASE}/libcasper.a
|
||||||
LIBCOMPAT?= ${DESTDIR}${LIBDIR_BASE}/libcompat.a
|
LIBCOMPAT?= ${LIBDESTDIR}${LIBDIR_BASE}/libcompat.a
|
||||||
LIBCOMPILER_RT?=${DESTDIR}${LIBDIR_BASE}/libcompiler_rt.a
|
LIBCOMPILER_RT?=${LIBDESTDIR}${LIBDIR_BASE}/libcompiler_rt.a
|
||||||
LIBCOM_ERR?= ${DESTDIR}${LIBDIR_BASE}/libcom_err.a
|
LIBCOM_ERR?= ${LIBDESTDIR}${LIBDIR_BASE}/libcom_err.a
|
||||||
LIBCPLUSPLUS?= ${DESTDIR}${LIBDIR_BASE}/libc++.a
|
LIBCPLUSPLUS?= ${LIBDESTDIR}${LIBDIR_BASE}/libc++.a
|
||||||
LIBCRYPT?= ${DESTDIR}${LIBDIR_BASE}/libcrypt.a
|
LIBCRYPT?= ${LIBDESTDIR}${LIBDIR_BASE}/libcrypt.a
|
||||||
LIBCRYPTO?= ${DESTDIR}${LIBDIR_BASE}/libcrypto.a
|
LIBCRYPTO?= ${LIBDESTDIR}${LIBDIR_BASE}/libcrypto.a
|
||||||
LIBCTF?= ${DESTDIR}${LIBDIR_BASE}/libctf.a
|
LIBCTF?= ${LIBDESTDIR}${LIBDIR_BASE}/libctf.a
|
||||||
LIBCURSES?= ${DESTDIR}${LIBDIR_BASE}/libcurses.a
|
LIBCURSES?= ${LIBDESTDIR}${LIBDIR_BASE}/libcurses.a
|
||||||
LIBCUSE?= ${DESTDIR}${LIBDIR_BASE}/libcuse.a
|
LIBCUSE?= ${LIBDESTDIR}${LIBDIR_BASE}/libcuse.a
|
||||||
LIBCXGB4?= ${DESTDIR}${LIBDIR_BASE}/libcxgb4.a
|
LIBCXGB4?= ${LIBDESTDIR}${LIBDIR_BASE}/libcxgb4.a
|
||||||
LIBCXXRT?= ${DESTDIR}${LIBDIR_BASE}/libcxxrt.a
|
LIBCXXRT?= ${LIBDESTDIR}${LIBDIR_BASE}/libcxxrt.a
|
||||||
LIBC_PIC?= ${DESTDIR}${LIBDIR_BASE}/libc_pic.a
|
LIBC_PIC?= ${LIBDESTDIR}${LIBDIR_BASE}/libc_pic.a
|
||||||
LIBDEVCTL?= ${DESTDIR}${LIBDIR_BASE}/libdevctl.a
|
LIBDEVCTL?= ${LIBDESTDIR}${LIBDIR_BASE}/libdevctl.a
|
||||||
LIBDEVDCTL?= ${DESTDIR}${LIBDIR_BASE}/libdevdctl.a
|
LIBDEVDCTL?= ${LIBDESTDIR}${LIBDIR_BASE}/libdevdctl.a
|
||||||
LIBDEVINFO?= ${DESTDIR}${LIBDIR_BASE}/libdevinfo.a
|
LIBDEVINFO?= ${LIBDESTDIR}${LIBDIR_BASE}/libdevinfo.a
|
||||||
LIBDEVSTAT?= ${DESTDIR}${LIBDIR_BASE}/libdevstat.a
|
LIBDEVSTAT?= ${LIBDESTDIR}${LIBDIR_BASE}/libdevstat.a
|
||||||
LIBDIALOG?= ${DESTDIR}${LIBDIR_BASE}/libdialog.a
|
LIBDIALOG?= ${LIBDESTDIR}${LIBDIR_BASE}/libdialog.a
|
||||||
LIBDNS?= ${DESTDIR}${LIBDIR_BASE}/libdns.a
|
LIBDNS?= ${LIBDESTDIR}${LIBDIR_BASE}/libdns.a
|
||||||
LIBDPV?= ${DESTDIR}${LIBDIR_BASE}/libdpv.a
|
LIBDPV?= ${LIBDESTDIR}${LIBDIR_BASE}/libdpv.a
|
||||||
LIBDTRACE?= ${DESTDIR}${LIBDIR_BASE}/libdtrace.a
|
LIBDTRACE?= ${LIBDESTDIR}${LIBDIR_BASE}/libdtrace.a
|
||||||
LIBDWARF?= ${DESTDIR}${LIBDIR_BASE}/libdwarf.a
|
LIBDWARF?= ${LIBDESTDIR}${LIBDIR_BASE}/libdwarf.a
|
||||||
LIBEDIT?= ${DESTDIR}${LIBDIR_BASE}/libedit.a
|
LIBEDIT?= ${LIBDESTDIR}${LIBDIR_BASE}/libedit.a
|
||||||
LIBEFIVAR?= ${DESTDIR}${LIBDIR_BASE}/libefivar.a
|
LIBEFIVAR?= ${LIBDESTDIR}${LIBDIR_BASE}/libefivar.a
|
||||||
LIBELF?= ${DESTDIR}${LIBDIR_BASE}/libelf.a
|
LIBELF?= ${LIBDESTDIR}${LIBDIR_BASE}/libelf.a
|
||||||
LIBEXECINFO?= ${DESTDIR}${LIBDIR_BASE}/libexecinfo.a
|
LIBEXECINFO?= ${LIBDESTDIR}${LIBDIR_BASE}/libexecinfo.a
|
||||||
LIBFETCH?= ${DESTDIR}${LIBDIR_BASE}/libfetch.a
|
LIBFETCH?= ${LIBDESTDIR}${LIBDIR_BASE}/libfetch.a
|
||||||
LIBFIGPAR?= ${DESTDIR}${LIBDIR_BASE}/libfigpar.a
|
LIBFIGPAR?= ${LIBDESTDIR}${LIBDIR_BASE}/libfigpar.a
|
||||||
LIBFL?= "don't use LIBFL, use LIBL"
|
LIBFL?= "don't use LIBFL, use LIBL"
|
||||||
LIBFORM?= ${DESTDIR}${LIBDIR_BASE}/libform.a
|
LIBFORM?= ${LIBDESTDIR}${LIBDIR_BASE}/libform.a
|
||||||
LIBG2C?= ${DESTDIR}${LIBDIR_BASE}/libg2c.a
|
LIBG2C?= ${LIBDESTDIR}${LIBDIR_BASE}/libg2c.a
|
||||||
LIBGEOM?= ${DESTDIR}${LIBDIR_BASE}/libgeom.a
|
LIBGEOM?= ${LIBDESTDIR}${LIBDIR_BASE}/libgeom.a
|
||||||
LIBGNUREGEX?= ${DESTDIR}${LIBDIR_BASE}/libgnuregex.a
|
LIBGNUREGEX?= ${LIBDESTDIR}${LIBDIR_BASE}/libgnuregex.a
|
||||||
LIBGPIO?= ${DESTDIR}${LIBDIR_BASE}/libgpio.a
|
LIBGPIO?= ${LIBDESTDIR}${LIBDIR_BASE}/libgpio.a
|
||||||
LIBGSSAPI?= ${DESTDIR}${LIBDIR_BASE}/libgssapi.a
|
LIBGSSAPI?= ${LIBDESTDIR}${LIBDIR_BASE}/libgssapi.a
|
||||||
LIBGSSAPI_KRB5?= ${DESTDIR}${LIBDIR_BASE}/libgssapi_krb5.a
|
LIBGSSAPI_KRB5?= ${LIBDESTDIR}${LIBDIR_BASE}/libgssapi_krb5.a
|
||||||
LIBHDB?= ${DESTDIR}${LIBDIR_BASE}/libhdb.a
|
LIBHDB?= ${LIBDESTDIR}${LIBDIR_BASE}/libhdb.a
|
||||||
LIBHEIMBASE?= ${DESTDIR}${LIBDIR_BASE}/libheimbase.a
|
LIBHEIMBASE?= ${LIBDESTDIR}${LIBDIR_BASE}/libheimbase.a
|
||||||
LIBHEIMNTLM?= ${DESTDIR}${LIBDIR_BASE}/libheimntlm.a
|
LIBHEIMNTLM?= ${LIBDESTDIR}${LIBDIR_BASE}/libheimntlm.a
|
||||||
LIBHEIMSQLITE?= ${DESTDIR}${LIBDIR_BASE}/libheimsqlite.a
|
LIBHEIMSQLITE?= ${LIBDESTDIR}${LIBDIR_BASE}/libheimsqlite.a
|
||||||
LIBHX509?= ${DESTDIR}${LIBDIR_BASE}/libhx509.a
|
LIBHX509?= ${LIBDESTDIR}${LIBDIR_BASE}/libhx509.a
|
||||||
LIBIBCM?= ${DESTDIR}${LIBDIR_BASE}/libibcm.a
|
LIBIBCM?= ${LIBDESTDIR}${LIBDIR_BASE}/libibcm.a
|
||||||
LIBIBCOMMON?= ${DESTDIR}${LIBDIR_BASE}/libibcommon.a
|
LIBIBCOMMON?= ${LIBDESTDIR}${LIBDIR_BASE}/libibcommon.a
|
||||||
LIBIBMAD?= ${DESTDIR}${LIBDIR_BASE}/libibmad.a
|
LIBIBMAD?= ${LIBDESTDIR}${LIBDIR_BASE}/libibmad.a
|
||||||
LIBIBSDP?= ${DESTDIR}${LIBDIR_BASE}/libibsdp.a
|
LIBIBSDP?= ${LIBDESTDIR}${LIBDIR_BASE}/libibsdp.a
|
||||||
LIBIBUMAD?= ${DESTDIR}${LIBDIR_BASE}/libibumad.a
|
LIBIBUMAD?= ${LIBDESTDIR}${LIBDIR_BASE}/libibumad.a
|
||||||
LIBIBVERBS?= ${DESTDIR}${LIBDIR_BASE}/libibverbs.a
|
LIBIBVERBS?= ${LIBDESTDIR}${LIBDIR_BASE}/libibverbs.a
|
||||||
LIBIFCONFIG?= ${DESTDIR}${LIBDIR_BASE}/libifconfig.a
|
LIBIFCONFIG?= ${LIBDESTDIR}${LIBDIR_BASE}/libifconfig.a
|
||||||
LIBIPSEC?= ${DESTDIR}${LIBDIR_BASE}/libipsec.a
|
LIBIPSEC?= ${LIBDESTDIR}${LIBDIR_BASE}/libipsec.a
|
||||||
LIBJAIL?= ${DESTDIR}${LIBDIR_BASE}/libjail.a
|
LIBJAIL?= ${LIBDESTDIR}${LIBDIR_BASE}/libjail.a
|
||||||
LIBKADM5CLNT?= ${DESTDIR}${LIBDIR_BASE}/libkadm5clnt.a
|
LIBKADM5CLNT?= ${LIBDESTDIR}${LIBDIR_BASE}/libkadm5clnt.a
|
||||||
LIBKADM5SRV?= ${DESTDIR}${LIBDIR_BASE}/libkadm5srv.a
|
LIBKADM5SRV?= ${LIBDESTDIR}${LIBDIR_BASE}/libkadm5srv.a
|
||||||
LIBKAFS5?= ${DESTDIR}${LIBDIR_BASE}/libkafs5.a
|
LIBKAFS5?= ${LIBDESTDIR}${LIBDIR_BASE}/libkafs5.a
|
||||||
LIBKDC?= ${DESTDIR}${LIBDIR_BASE}/libkdc.a
|
LIBKDC?= ${LIBDESTDIR}${LIBDIR_BASE}/libkdc.a
|
||||||
LIBKEYCAP?= ${DESTDIR}${LIBDIR_BASE}/libkeycap.a
|
LIBKEYCAP?= ${LIBDESTDIR}${LIBDIR_BASE}/libkeycap.a
|
||||||
LIBKICONV?= ${DESTDIR}${LIBDIR_BASE}/libkiconv.a
|
LIBKICONV?= ${LIBDESTDIR}${LIBDIR_BASE}/libkiconv.a
|
||||||
LIBKRB5?= ${DESTDIR}${LIBDIR_BASE}/libkrb5.a
|
LIBKRB5?= ${LIBDESTDIR}${LIBDIR_BASE}/libkrb5.a
|
||||||
LIBKVM?= ${DESTDIR}${LIBDIR_BASE}/libkvm.a
|
LIBKVM?= ${LIBDESTDIR}${LIBDIR_BASE}/libkvm.a
|
||||||
LIBL?= ${DESTDIR}${LIBDIR_BASE}/libl.a
|
LIBL?= ${LIBDESTDIR}${LIBDIR_BASE}/libl.a
|
||||||
LIBLN?= "don't use LIBLN, use LIBL"
|
LIBLN?= "don't use LIBLN, use LIBL"
|
||||||
LIBLZMA?= ${DESTDIR}${LIBDIR_BASE}/liblzma.a
|
LIBLZMA?= ${LIBDESTDIR}${LIBDIR_BASE}/liblzma.a
|
||||||
LIBM?= ${DESTDIR}${LIBDIR_BASE}/libm.a
|
LIBM?= ${LIBDESTDIR}${LIBDIR_BASE}/libm.a
|
||||||
LIBMAGIC?= ${DESTDIR}${LIBDIR_BASE}/libmagic.a
|
LIBMAGIC?= ${LIBDESTDIR}${LIBDIR_BASE}/libmagic.a
|
||||||
LIBMD?= ${DESTDIR}${LIBDIR_BASE}/libmd.a
|
LIBMD?= ${LIBDESTDIR}${LIBDIR_BASE}/libmd.a
|
||||||
LIBMEMSTAT?= ${DESTDIR}${LIBDIR_BASE}/libmemstat.a
|
LIBMEMSTAT?= ${LIBDESTDIR}${LIBDIR_BASE}/libmemstat.a
|
||||||
LIBMENU?= ${DESTDIR}${LIBDIR_BASE}/libmenu.a
|
LIBMENU?= ${LIBDESTDIR}${LIBDIR_BASE}/libmenu.a
|
||||||
LIBMILTER?= ${DESTDIR}${LIBDIR_BASE}/libmilter.a
|
LIBMILTER?= ${LIBDESTDIR}${LIBDIR_BASE}/libmilter.a
|
||||||
LIBMLX4?= ${DESTDIR}${LIBDIR_BASE}/libmlx4.a
|
LIBMLX4?= ${LIBDESTDIR}${LIBDIR_BASE}/libmlx4.a
|
||||||
LIBMP?= ${DESTDIR}${LIBDIR_BASE}/libmp.a
|
LIBMP?= ${LIBDESTDIR}${LIBDIR_BASE}/libmp.a
|
||||||
LIBMT?= ${DESTDIR}${LIBDIR_BASE}/libmt.a
|
LIBMT?= ${LIBDESTDIR}${LIBDIR_BASE}/libmt.a
|
||||||
LIBMTHCA?= ${DESTDIR}${LIBDIR_BASE}/libmthca.a
|
LIBMTHCA?= ${LIBDESTDIR}${LIBDIR_BASE}/libmthca.a
|
||||||
LIBNANDFS?= ${DESTDIR}${LIBDIR_BASE}/libnandfs.a
|
LIBNANDFS?= ${LIBDESTDIR}${LIBDIR_BASE}/libnandfs.a
|
||||||
LIBNCURSES?= ${DESTDIR}${LIBDIR_BASE}/libncurses.a
|
LIBNCURSES?= ${LIBDESTDIR}${LIBDIR_BASE}/libncurses.a
|
||||||
LIBNCURSESW?= ${DESTDIR}${LIBDIR_BASE}/libncursesw.a
|
LIBNCURSESW?= ${LIBDESTDIR}${LIBDIR_BASE}/libncursesw.a
|
||||||
LIBNETGRAPH?= ${DESTDIR}${LIBDIR_BASE}/libnetgraph.a
|
LIBNETGRAPH?= ${LIBDESTDIR}${LIBDIR_BASE}/libnetgraph.a
|
||||||
LIBNGATM?= ${DESTDIR}${LIBDIR_BASE}/libngatm.a
|
LIBNGATM?= ${LIBDESTDIR}${LIBDIR_BASE}/libngatm.a
|
||||||
LIBNV?= ${DESTDIR}${LIBDIR_BASE}/libnv.a
|
LIBNV?= ${LIBDESTDIR}${LIBDIR_BASE}/libnv.a
|
||||||
LIBNVPAIR?= ${DESTDIR}${LIBDIR_BASE}/libnvpair.a
|
LIBNVPAIR?= ${LIBDESTDIR}${LIBDIR_BASE}/libnvpair.a
|
||||||
LIBOPENSM?= ${DESTDIR}${LIBDIR_BASE}/libopensm.a
|
LIBOPENSM?= ${LIBDESTDIR}${LIBDIR_BASE}/libopensm.a
|
||||||
LIBOPIE?= ${DESTDIR}${LIBDIR_BASE}/libopie.a
|
LIBOPIE?= ${LIBDESTDIR}${LIBDIR_BASE}/libopie.a
|
||||||
LIBOSMCOMP?= ${DESTDIR}${LIBDIR_BASE}/libosmcomp.a
|
LIBOSMCOMP?= ${LIBDESTDIR}${LIBDIR_BASE}/libosmcomp.a
|
||||||
LIBOSMVENDOR?= ${DESTDIR}${LIBDIR_BASE}/libosmvendor.a
|
LIBOSMVENDOR?= ${LIBDESTDIR}${LIBDIR_BASE}/libosmvendor.a
|
||||||
LIBPAM?= ${DESTDIR}${LIBDIR_BASE}/libpam.a
|
LIBPAM?= ${LIBDESTDIR}${LIBDIR_BASE}/libpam.a
|
||||||
LIBPANEL?= ${DESTDIR}${LIBDIR_BASE}/libpanel.a
|
LIBPANEL?= ${LIBDESTDIR}${LIBDIR_BASE}/libpanel.a
|
||||||
LIBPANELW?= ${DESTDIR}${LIBDIR_BASE}/libpanelw.a
|
LIBPANELW?= ${LIBDESTDIR}${LIBDIR_BASE}/libpanelw.a
|
||||||
LIBPCAP?= ${DESTDIR}${LIBDIR_BASE}/libpcap.a
|
LIBPCAP?= ${LIBDESTDIR}${LIBDIR_BASE}/libpcap.a
|
||||||
LIBPJDLOG?= ${DESTDIR}${LIBDIR_BASE}/libpjdlog.a
|
LIBPJDLOG?= ${LIBDESTDIR}${LIBDIR_BASE}/libpjdlog.a
|
||||||
LIBPMC?= ${DESTDIR}${LIBDIR_BASE}/libpmc.a
|
LIBPMC?= ${LIBDESTDIR}${LIBDIR_BASE}/libpmc.a
|
||||||
LIBPROC?= ${DESTDIR}${LIBDIR_BASE}/libproc.a
|
LIBPROC?= ${LIBDESTDIR}${LIBDIR_BASE}/libproc.a
|
||||||
LIBPROCSTAT?= ${DESTDIR}${LIBDIR_BASE}/libprocstat.a
|
LIBPROCSTAT?= ${LIBDESTDIR}${LIBDIR_BASE}/libprocstat.a
|
||||||
LIBPTHREAD?= ${DESTDIR}${LIBDIR_BASE}/libpthread.a
|
LIBPTHREAD?= ${LIBDESTDIR}${LIBDIR_BASE}/libpthread.a
|
||||||
LIBRADIUS?= ${DESTDIR}${LIBDIR_BASE}/libradius.a
|
LIBRADIUS?= ${LIBDESTDIR}${LIBDIR_BASE}/libradius.a
|
||||||
LIBRDMACM?= ${DESTDIR}${LIBDIR_BASE}/librdmacm.a
|
LIBRDMACM?= ${LIBDESTDIR}${LIBDIR_BASE}/librdmacm.a
|
||||||
LIBROKEN?= ${DESTDIR}${LIBDIR_BASE}/libroken.a
|
LIBROKEN?= ${LIBDESTDIR}${LIBDIR_BASE}/libroken.a
|
||||||
LIBRPCSEC_GSS?= ${DESTDIR}${LIBDIR_BASE}/librpcsec_gss.a
|
LIBRPCSEC_GSS?= ${LIBDESTDIR}${LIBDIR_BASE}/librpcsec_gss.a
|
||||||
LIBRPCSVC?= ${DESTDIR}${LIBDIR_BASE}/librpcsvc.a
|
LIBRPCSVC?= ${LIBDESTDIR}${LIBDIR_BASE}/librpcsvc.a
|
||||||
LIBRT?= ${DESTDIR}${LIBDIR_BASE}/librt.a
|
LIBRT?= ${LIBDESTDIR}${LIBDIR_BASE}/librt.a
|
||||||
LIBRTLD_DB?= ${DESTDIR}${LIBDIR_BASE}/librtld_db.a
|
LIBRTLD_DB?= ${LIBDESTDIR}${LIBDIR_BASE}/librtld_db.a
|
||||||
LIBSBUF?= ${DESTDIR}${LIBDIR_BASE}/libsbuf.a
|
LIBSBUF?= ${LIBDESTDIR}${LIBDIR_BASE}/libsbuf.a
|
||||||
LIBSDP?= ${DESTDIR}${LIBDIR_BASE}/libsdp.a
|
LIBSDP?= ${LIBDESTDIR}${LIBDIR_BASE}/libsdp.a
|
||||||
LIBSMB?= ${DESTDIR}${LIBDIR_BASE}/libsmb.a
|
LIBSMB?= ${LIBDESTDIR}${LIBDIR_BASE}/libsmb.a
|
||||||
LIBSSL?= ${DESTDIR}${LIBDIR_BASE}/libssl.a
|
LIBSSL?= ${LIBDESTDIR}${LIBDIR_BASE}/libssl.a
|
||||||
LIBSSP_NONSHARED?= ${DESTDIR}${LIBDIR_BASE}/libssp_nonshared.a
|
LIBSSP_NONSHARED?= ${LIBDESTDIR}${LIBDIR_BASE}/libssp_nonshared.a
|
||||||
LIBSTAND?= ${DESTDIR}${LIBDIR_BASE}/libstand.a
|
LIBSTAND?= ${LIBDESTDIR}${LIBDIR_BASE}/libstand.a
|
||||||
LIBSTDCPLUSPLUS?= ${DESTDIR}${LIBDIR_BASE}/libstdc++.a
|
LIBSTDCPLUSPLUS?= ${LIBDESTDIR}${LIBDIR_BASE}/libstdc++.a
|
||||||
LIBSTDTHREADS?= ${DESTDIR}${LIBDIR_BASE}/libstdthreads.a
|
LIBSTDTHREADS?= ${LIBDESTDIR}${LIBDIR_BASE}/libstdthreads.a
|
||||||
LIBSYSDECODE?= ${DESTDIR}${LIBDIR_BASE}/libsysdecode.a
|
LIBSYSDECODE?= ${LIBDESTDIR}${LIBDIR_BASE}/libsysdecode.a
|
||||||
LIBTACPLUS?= ${DESTDIR}${LIBDIR_BASE}/libtacplus.a
|
LIBTACPLUS?= ${LIBDESTDIR}${LIBDIR_BASE}/libtacplus.a
|
||||||
LIBTERMCAP?= ${DESTDIR}${LIBDIR_BASE}/libtermcap.a
|
LIBTERMCAP?= ${LIBDESTDIR}${LIBDIR_BASE}/libtermcap.a
|
||||||
LIBTERMCAPW?= ${DESTDIR}${LIBDIR_BASE}/libtermcapw.a
|
LIBTERMCAPW?= ${LIBDESTDIR}${LIBDIR_BASE}/libtermcapw.a
|
||||||
LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
|
LIBTERMLIB?= "don't use LIBTERMLIB, use LIBTERMCAP"
|
||||||
LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES"
|
LIBTINFO?= "don't use LIBTINFO, use LIBNCURSES"
|
||||||
LIBUFS?= ${DESTDIR}${LIBDIR_BASE}/libufs.a
|
LIBUFS?= ${LIBDESTDIR}${LIBDIR_BASE}/libufs.a
|
||||||
LIBUGIDFW?= ${DESTDIR}${LIBDIR_BASE}/libugidfw.a
|
LIBUGIDFW?= ${LIBDESTDIR}${LIBDIR_BASE}/libugidfw.a
|
||||||
LIBULOG?= ${DESTDIR}${LIBDIR_BASE}/libulog.a
|
LIBULOG?= ${LIBDESTDIR}${LIBDIR_BASE}/libulog.a
|
||||||
LIBUMEM?= ${DESTDIR}${LIBDIR_BASE}/libumem.a
|
LIBUMEM?= ${LIBDESTDIR}${LIBDIR_BASE}/libumem.a
|
||||||
LIBUSB?= ${DESTDIR}${LIBDIR_BASE}/libusb.a
|
LIBUSB?= ${LIBDESTDIR}${LIBDIR_BASE}/libusb.a
|
||||||
LIBUSBHID?= ${DESTDIR}${LIBDIR_BASE}/libusbhid.a
|
LIBUSBHID?= ${LIBDESTDIR}${LIBDIR_BASE}/libusbhid.a
|
||||||
LIBUTIL?= ${DESTDIR}${LIBDIR_BASE}/libutil.a
|
LIBUTIL?= ${LIBDESTDIR}${LIBDIR_BASE}/libutil.a
|
||||||
LIBUUTIL?= ${DESTDIR}${LIBDIR_BASE}/libuutil.a
|
LIBUUTIL?= ${LIBDESTDIR}${LIBDIR_BASE}/libuutil.a
|
||||||
LIBVGL?= ${DESTDIR}${LIBDIR_BASE}/libvgl.a
|
LIBVGL?= ${LIBDESTDIR}${LIBDIR_BASE}/libvgl.a
|
||||||
LIBVMMAPI?= ${DESTDIR}${LIBDIR_BASE}/libvmmapi.a
|
LIBVMMAPI?= ${LIBDESTDIR}${LIBDIR_BASE}/libvmmapi.a
|
||||||
LIBWIND?= ${DESTDIR}${LIBDIR_BASE}/libwind.a
|
LIBWIND?= ${LIBDESTDIR}${LIBDIR_BASE}/libwind.a
|
||||||
LIBWRAP?= ${DESTDIR}${LIBDIR_BASE}/libwrap.a
|
LIBWRAP?= ${LIBDESTDIR}${LIBDIR_BASE}/libwrap.a
|
||||||
LIBXO?= ${DESTDIR}${LIBDIR_BASE}/libxo.a
|
LIBXO?= ${LIBDESTDIR}${LIBDIR_BASE}/libxo.a
|
||||||
LIBXPG4?= ${DESTDIR}${LIBDIR_BASE}/libxpg4.a
|
LIBXPG4?= ${LIBDESTDIR}${LIBDIR_BASE}/libxpg4.a
|
||||||
LIBY?= ${DESTDIR}${LIBDIR_BASE}/liby.a
|
LIBY?= ${LIBDESTDIR}${LIBDIR_BASE}/liby.a
|
||||||
LIBYPCLNT?= ${DESTDIR}${LIBDIR_BASE}/libypclnt.a
|
LIBYPCLNT?= ${LIBDESTDIR}${LIBDIR_BASE}/libypclnt.a
|
||||||
LIBZ?= ${DESTDIR}${LIBDIR_BASE}/libz.a
|
LIBZ?= ${LIBDESTDIR}${LIBDIR_BASE}/libz.a
|
||||||
LIBZFS?= ${DESTDIR}${LIBDIR_BASE}/libzfs.a
|
LIBZFS?= ${LIBDESTDIR}${LIBDIR_BASE}/libzfs.a
|
||||||
LIBZFS_CORE?= ${DESTDIR}${LIBDIR_BASE}/libzfs_core.a
|
LIBZFS_CORE?= ${LIBDESTDIR}${LIBDIR_BASE}/libzfs_core.a
|
||||||
LIBZPOOL?= ${DESTDIR}${LIBDIR_BASE}/libzpool.a
|
LIBZPOOL?= ${LIBDESTDIR}${LIBDIR_BASE}/libzpool.a
|
||||||
|
|
||||||
# enforce the 2 -lpthread and -lc to always be the last in that exact order
|
# enforce the 2 -lpthread and -lc to always be the last in that exact order
|
||||||
.if defined(LDADD)
|
.if defined(LDADD)
|
||||||
@ -184,7 +186,7 @@ LDADD:= ${LDADD:N-lc} -lc
|
|||||||
.if defined(_LIBRARIES) && defined(LIB) && \
|
.if defined(_LIBRARIES) && defined(LIB) && \
|
||||||
${_LIBRARIES:M${LIB}} != ""
|
${_LIBRARIES:M${LIB}} != ""
|
||||||
.if !defined(LIB${LIB:tu})
|
.if !defined(LIB${LIB:tu})
|
||||||
.error ${.CURDIR}: Missing value for LIB${LIB:tu} in ${_this:T}. Likely should be: LIB${LIB:tu}?= $${DESTDIR}$${LIBDIR_BASE}/lib${LIB}.a
|
.error ${.CURDIR}: Missing value for LIB${LIB:tu} in ${_this:T}. Likely should be: LIB${LIB:tu}?= $${LIBDESTDIR}$${LIBDIR_BASE}/lib${LIB}.a
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -343,13 +343,13 @@ _DP_rdmacm= ibverbs
|
|||||||
|
|
||||||
# Define special cases
|
# Define special cases
|
||||||
LDADD_supcplusplus= -lsupc++
|
LDADD_supcplusplus= -lsupc++
|
||||||
LIBATF_C= ${DESTDIR}${LIBDIR_BASE}/libprivateatf-c.a
|
LIBATF_C= ${LIBDESTDIR}${LIBDIR_BASE}/libprivateatf-c.a
|
||||||
LIBATF_CXX= ${DESTDIR}${LIBDIR_BASE}/libprivateatf-c++.a
|
LIBATF_CXX= ${LIBDESTDIR}${LIBDIR_BASE}/libprivateatf-c++.a
|
||||||
LDADD_atf_c= -lprivateatf-c
|
LDADD_atf_c= -lprivateatf-c
|
||||||
LDADD_atf_cxx= -lprivateatf-c++
|
LDADD_atf_cxx= -lprivateatf-c++
|
||||||
|
|
||||||
.for _l in ${_PRIVATELIBS}
|
.for _l in ${_PRIVATELIBS}
|
||||||
LIB${_l:tu}?= ${DESTDIR}${LIBDIR_BASE}/libprivate${_l}.a
|
LIB${_l:tu}?= ${LIBDESTDIR}${LIBDIR_BASE}/libprivate${_l}.a
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
.for _l in ${_LIBRARIES}
|
.for _l in ${_LIBRARIES}
|
||||||
|
@ -71,12 +71,6 @@ CFLAGS+= -DEFI_ZFS_BOOT
|
|||||||
.endif
|
.endif
|
||||||
CFLAGS+= -DNO_PCI -DEFI
|
CFLAGS+= -DNO_PCI -DEFI
|
||||||
|
|
||||||
# make buildenv doesn't set DESTDIR, this means LIBSTAND
|
|
||||||
# will be wrong when crossbuilding.
|
|
||||||
.if exists(${.OBJDIR}/../../../../lib/libstand/libstand.a)
|
|
||||||
LIBSTAND= ${.OBJDIR}/../../../../lib/libstand/libstand.a
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(BOOT_HIDE_SERIAL_NUMBERS)
|
.if !defined(BOOT_HIDE_SERIAL_NUMBERS)
|
||||||
# Export serial numbers, UUID, and asset tag from loader.
|
# Export serial numbers, UUID, and asset tag from loader.
|
||||||
CFLAGS+= -DSMBIOS_SERIAL_NUMBERS
|
CFLAGS+= -DSMBIOS_SERIAL_NUMBERS
|
||||||
|
@ -82,7 +82,7 @@ CFLAGS+= -DWITHOUT_BZIP2
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if ${MK_GNU_GREP_COMPAT} != "no"
|
.if ${MK_GNU_GREP_COMPAT} != "no"
|
||||||
CFLAGS+= -I${DESTDIR}/usr/include/gnu -DWITH_GNU
|
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/usr/include/gnu -DWITH_GNU
|
||||||
LIBADD+= gnuregex
|
LIBADD+= gnuregex
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ CFLAGS+= -DYP
|
|||||||
|
|
||||||
CLEANFILES= ${GENSRCS}
|
CLEANFILES= ${GENSRCS}
|
||||||
|
|
||||||
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
|
RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/bootparam_prot.x
|
||||||
|
|
||||||
bootparam_prot_svc.c: ${RPCSRC}
|
bootparam_prot_svc.c: ${RPCSRC}
|
||||||
RPCGEN_CPP=${CPP:Q} rpcgen -C -m -o ${.TARGET} ${RPCSRC}
|
RPCGEN_CPP=${CPP:Q} rpcgen -C -m -o ${.TARGET} ${RPCSRC}
|
||||||
|
@ -10,7 +10,7 @@ CFLAGS+= -I.
|
|||||||
|
|
||||||
CLEANFILES= ${GENSRCS}
|
CLEANFILES= ${GENSRCS}
|
||||||
|
|
||||||
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/bootparam_prot.x
|
RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/bootparam_prot.x
|
||||||
|
|
||||||
bootparam_prot_clnt.c: ${RPCSRC}
|
bootparam_prot_clnt.c: ${RPCSRC}
|
||||||
RPCGEN_CPP=${CPP:Q} rpcgen -C -l -o ${.TARGET} ${RPCSRC}
|
RPCGEN_CPP=${CPP:Q} rpcgen -C -l -o ${.TARGET} ${RPCSRC}
|
||||||
|
@ -10,7 +10,7 @@ LIBADD= mp rpcsvc
|
|||||||
|
|
||||||
WARNS?= 1
|
WARNS?= 1
|
||||||
|
|
||||||
RPCDIR= ${DESTDIR}/usr/include/rpcsvc
|
RPCDIR= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc
|
||||||
|
|
||||||
CLEANFILES= crypt_svc.c crypt.h
|
CLEANFILES= crypt_svc.c crypt.h
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ CFLAGS+= -I${SRCTOP}/contrib/ntp/include \
|
|||||||
|
|
||||||
LIBADD= edit ntp m opts pthread
|
LIBADD= edit ntp m opts pthread
|
||||||
CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
|
CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
|
||||||
-I${DESTDIR}/${INCLUDEDIR}/edit
|
-I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit
|
||||||
|
|
||||||
.if ${MK_OPENSSL} != "no"
|
.if ${MK_OPENSSL} != "no"
|
||||||
LIBADD+= crypto
|
LIBADD+= crypto
|
||||||
|
@ -29,7 +29,7 @@ LIBADD+= md
|
|||||||
.endif
|
.endif
|
||||||
|
|
||||||
CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
|
CFLAGS+= -DHAVE_LIBEDIT -DHAVE_READLINE_READLINE_H \
|
||||||
-I${DESTDIR}/${INCLUDEDIR}/edit
|
-I${SYSROOT:U${DESTDIR}}/${INCLUDEDIR}/edit
|
||||||
|
|
||||||
CLEANFILES+= .version version.c
|
CLEANFILES+= .version version.c
|
||||||
|
|
||||||
|
@ -6,14 +6,14 @@ MAN= rpc.lockd.8
|
|||||||
MLINKS= rpc.lockd.8 lockd.8
|
MLINKS= rpc.lockd.8 lockd.8
|
||||||
SRCS= kern.c nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
|
SRCS= kern.c nlm_prot_svc.c lockd.c lock_proc.c lockd_lock.c
|
||||||
|
|
||||||
CFLAGS+= -I. -I${DESTDIR}/usr/include/rpcsvc
|
CFLAGS+= -I. -I${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc
|
||||||
WARNS?= 3
|
WARNS?= 3
|
||||||
|
|
||||||
LIBADD= rpcsvc
|
LIBADD= rpcsvc
|
||||||
|
|
||||||
CLEANFILES= nlm_prot_svc.c nlm_prot.h test
|
CLEANFILES= nlm_prot_svc.c nlm_prot.h test
|
||||||
|
|
||||||
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/nlm_prot.x
|
RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/nlm_prot.x
|
||||||
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
|
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
|
||||||
|
|
||||||
nlm_prot_svc.c: ${RPCSRC}
|
nlm_prot_svc.c: ${RPCSRC}
|
||||||
|
@ -11,7 +11,7 @@ LIBADD= rpcsvc
|
|||||||
|
|
||||||
CLEANFILES= sm_inter_svc.c sm_inter.h
|
CLEANFILES= sm_inter_svc.c sm_inter.h
|
||||||
|
|
||||||
RPCSRC= ${DESTDIR}/usr/include/rpcsvc/sm_inter.x
|
RPCSRC= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc/sm_inter.x
|
||||||
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
|
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -L -C
|
||||||
|
|
||||||
sm_inter_svc.c: ${RPCSRC}
|
sm_inter_svc.c: ${RPCSRC}
|
||||||
|
@ -17,7 +17,7 @@ LIBADD= rpcsvc
|
|||||||
|
|
||||||
CLEANFILES= ypupdate_prot_svc.c ypupdate_prot.h
|
CLEANFILES= ypupdate_prot_svc.c ypupdate_prot.h
|
||||||
|
|
||||||
RPCDIR= ${DESTDIR}/usr/include/rpcsvc
|
RPCDIR= ${SYSROOT:U${DESTDIR}}/usr/include/rpcsvc
|
||||||
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -I -C
|
RPCGEN= RPCGEN_CPP=${CPP:Q} rpcgen -I -C
|
||||||
|
|
||||||
# We need to remove the 'static' keyword from _rpcsvcstate so that
|
# We need to remove the 'static' keyword from _rpcsvcstate so that
|
||||||
|
@ -194,7 +194,7 @@ CFLAGS+=-DHAVE_CASPER
|
|||||||
.endif
|
.endif
|
||||||
.if ${MK_OPENSSL} != "no"
|
.if ${MK_OPENSSL} != "no"
|
||||||
LIBADD+= crypto
|
LIBADD+= crypto
|
||||||
CFLAGS+= -I${DESTDIR}/usr/include/openssl
|
CFLAGS+= -I${SYSROOT:U${DESTDIR}}/usr/include/openssl
|
||||||
CFLAGS+= -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H
|
CFLAGS+= -DHAVE_LIBCRYPTO -DHAVE_OPENSSL_EVP_H
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user