3 .if !target(__<bsd.init.mk>__)
4 .error bsd.links.mk cannot be included directly.
8 .if !defined(TAGS) || ! ${TAGS:Mpackage=*}
9 TAGS+= package=${PACKAGE}
11 TAG_ARGS= -T ${TAGS:[*]:S/ /,/g}
14 afterinstall: _installlinks
15 .ORDER: realinstall _installlinks
17 .if defined(LINKS) && !empty(LINKS)
19 while test $$# -ge 2; do \
24 ${ECHO} $$t -\> $$l; \
25 ${INSTALL_LINK} ${TAG_ARGS} $$l $$t; \
28 .if defined(SYMLINKS) && !empty(SYMLINKS)
30 while test $$# -ge 2; do \
35 ${ECHO} $$t -\> $$l; \
36 ${INSTALL_SYMLINK} ${TAG_ARGS} $$l $$t; \