| @@ -1,28 +1,32 @@ | | | @@ -1,28 +1,32 @@ |
1 | # $NetBSD: Linux.mk,v 1.40 2010/07/08 04:57:36 dholland Exp $ | | 1 | # $NetBSD: Linux.mk,v 1.41 2011/03/20 09:00:08 obache Exp $ |
2 | # | | 2 | # |
3 | # Variable definitions for the Linux operating system. | | 3 | # Variable definitions for the Linux operating system. |
4 | | | 4 | |
5 | ECHO_N?= ${ECHO} -n | | 5 | ECHO_N?= ${ECHO} -n |
6 | .if !defined(X11_TYPE) || ${X11_TYPE} == "native" | | 6 | .if !defined(X11_TYPE) || ${X11_TYPE} == "native" |
7 | IMAKE_MAKE?= ${GMAKE} # program which gets invoked by imake | | 7 | IMAKE_MAKE?= ${GMAKE} # program which gets invoked by imake |
8 | IMAKE_TOOLS= gmake # extra tools required when we use imake | | 8 | IMAKE_TOOLS= gmake # extra tools required when we use imake |
9 | .endif | | 9 | .endif |
10 | IMAKEOPTS+= -DBuildHtmlManPages=NO | | 10 | IMAKEOPTS+= -DBuildHtmlManPages=NO |
11 | PKGLOCALEDIR?= share | | 11 | PKGLOCALEDIR?= share |
12 | PS?= /bin/ps | | 12 | PS?= /bin/ps |
13 | # XXX: default from defaults/mk.conf. Verify/correct for this platform | | 13 | # XXX: default from defaults/mk.conf. Verify/correct for this platform |
14 | # and remove this comment. | | 14 | # and remove this comment. |
| | | 15 | .if exists(/usr/bin/su) |
| | | 16 | SU?= /usr/bin/su |
| | | 17 | .else |
15 | SU?= /bin/su | | 18 | SU?= /bin/su |
| | | 19 | .endif |
16 | TYPE?= type # Shell builtin | | 20 | TYPE?= type # Shell builtin |
17 | | | 21 | |
18 | CPP_PRECOMP_FLAGS?= # unset | | 22 | CPP_PRECOMP_FLAGS?= # unset |
19 | DEF_UMASK?= 022 | | 23 | DEF_UMASK?= 022 |
20 | DEFAULT_SERIAL_DEVICE?= /dev/null | | 24 | DEFAULT_SERIAL_DEVICE?= /dev/null |
21 | EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table | | 25 | EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table |
22 | GROUPADD?= /usr/sbin/groupadd | | 26 | GROUPADD?= /usr/sbin/groupadd |
23 | MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type | | 27 | MOTIF_TYPE_DEFAULT?= openmotif # default 2.0 compatible libs type |
24 | .if exists(/usr/bin/false) | | 28 | .if exists(/usr/bin/false) |
25 | NOLOGIN?= /usr/bin/false | | 29 | NOLOGIN?= /usr/bin/false |
26 | .else | | 30 | .else |
27 | NOLOGIN?= /bin/false | | 31 | NOLOGIN?= /bin/false |
28 | .endif | | 32 | .endif |