Use pcidevs.h.
[dragonfly.git] / share / mk / bsd.links.mk
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 $
3
4 .if !target(__<bsd.init.mk>__)
5 .error bsd.links.mk cannot be included directly.
6 .endif
7
8 afterinstall: _installlinks
9 .ORDER: realinstall _installlinks
10 _installlinks:
11 .if defined(LINKS) && !empty(LINKS)
12         @set ${LINKS}; \
13         while test $$# -ge 2; do \
14                 l=${DESTDIR}$$1; \
15                 shift; \
16                 t=${DESTDIR}$$1; \
17                 shift; \
18                 ${ECHO} $$t -\> $$l; \
19                 ${LN} -f $$l $$t; \
20         done; true
21 .endif
22 .if defined(SYMLINKS) && !empty(SYMLINKS)
23         @set ${SYMLINKS}; \
24         while test $$# -ge 2; do \
25                 l=$$1; \
26                 shift; \
27                 t=${DESTDIR}$$1; \
28                 shift; \
29                 ${ECHO} $$t -\> $$l; \
30                 ${LN} -fs $$l $$t; \
31         done; true
32 .endif