Commit | Line | Data |
---|---|---|
78ed81a3 | 1 | # |
2 | # Set a bunch of things to hardcoded paths so that we don't accidently | |
3 | # pick up a user's own version of some utility and hose ourselves. | |
4 | # | |
00ba3d1d JH |
5 | BINDIR?= /usr/bin |
6 | libdir= /etc | |
7 | bindir= ${BINDIR} | |
78ed81a3 | 8 | pager= more -cs |
00ba3d1d JH |
9 | manpath_config_file= /etc/manpath.config |
10 | troff= /usr/bin/groff -Tps -man | |
78ed81a3 | 11 | nroff= /usr/bin/groff -Tascii -man |
12 | apropos= /usr/bin/apropos | |
13 | whatis= /usr/bin/whatis | |
14 | neqn= /usr/bin/eqn -Tascii | |
15 | tbl= /usr/bin/tbl | |
16 | col= /usr/bin/col | |
17 | vgrind= /usr/bin/vgrind | |
18 | refer= /usr/bin/refer | |
19 | grap= # no grap | |
20 | pic= /usr/bin/pic | |
21 | zcat= /usr/bin/zcat | |
22 | ||
23 | # For scripts. | |
24 | .if !target(obj) | |
25 | obj: | |
26 | @cd ${.CURDIR}; rm -rf obj; \ | |
27 | here=`pwd`; dest=/usr/obj/`echo $$here | sed 's,/usr/src/,,'`; \ | |
28 | echo "$$here -> $$dest"; ln -s $$dest obj; \ | |
29 | if test -d /usr/obj -a ! -d $$dest; then \ | |
30 | mkdir -p $$dest; \ | |
31 | else \ | |
32 | true; \ | |
33 | fi; | |
34 | .endif |