1 # $FreeBSD: src/share/mk/bsd.links.mk,v 1.2.2.2 2002/07/17 19:08:23 ru Exp $
2 # $DragonFly: src/share/mk/bsd.links.mk,v 1.3 2005/07/07 11:49:56 corecode Exp $
4 .if
!target
(__
<bsd.init.mk
>__
)
5 .error bsd.links.mk cannot be included directly.
8 afterinstall
: _installlinks
9 .ORDER
: realinstall _installlinks
11 .if defined
(LINKS
) && !empty
(LINKS
)
13 while
test $$# -ge 2; do \
18 ${ECHO} $$t -\
> $$l; \
22 .if defined
(SYMLINKS
) && !empty
(SYMLINKS
)
24 while
test $$# -ge 2; do \
29 ${ECHO} $$t -\
> $$l; \