| @@ -1,45 +1,47 @@ | | | @@ -1,45 +1,47 @@ |
1 | # $NetBSD: Haiku.mk,v 1.10 2014/05/18 07:56:21 obache Exp $ | | 1 | # $NetBSD: Haiku.mk,v 1.11 2014/05/18 09:45:40 obache Exp $ |
2 | # | | 2 | # |
3 | # Variable definitions for the Haiku operating system. | | 3 | # Variable definitions for the Haiku operating system. |
4 | | | 4 | |
5 | ECHO_N?= ${ECHO} -n | | 5 | ECHO_N?= ${ECHO} -n |
6 | PKGLOCALEDIR?= share | | 6 | PKGLOCALEDIR?= share |
7 | PS?= /bin/ps | | 7 | PS?= /bin/ps |
8 | # XXX: default from defaults/mk.conf. Verify/correct for this platform | | 8 | # XXX: default from defaults/mk.conf. Verify/correct for this platform |
9 | # and remove this comment. | | 9 | # and remove this comment. |
10 | SU?= /bin/su | | 10 | SU?= /bin/su |
11 | TYPE?= type # Shell builtin | | 11 | TYPE?= type # Shell builtin |
12 | | | 12 | |
13 | # Use symlink for wrapper in mk/wrapper/bsd.wrapper.mk, | | 13 | # Use symlink for wrapper in mk/wrapper/bsd.wrapper.mk, |
14 | # due to lack of hard link support. | | 14 | # due to lack of hard link support. |
15 | WRAPPER_USE_SYMLINK= # defined | | 15 | WRAPPER_USE_SYMLINK= # defined |
16 | | | 16 | |
17 | CPP_PRECOMP_FLAGS?= # unset | | 17 | CPP_PRECOMP_FLAGS?= # unset |
18 | DEF_UMASK?= 022 | | 18 | DEF_UMASK?= 022 |
19 | DEFAULT_SERIAL_DEVICE?= /dev/tty | | 19 | DEFAULT_SERIAL_DEVICE?= /dev/tty |
20 | EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table | | 20 | EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table |
21 | #GROUPADD?= /bin/groupadd | | | |
22 | MOTIF_TYPE_DEFAULT?= motif # default 2.0 compatible libs type | | 21 | MOTIF_TYPE_DEFAULT?= motif # default 2.0 compatible libs type |
23 | NOLOGIN?= /bin/false | | 22 | NOLOGIN?= /bin/false |
24 | PKG_TOOLS_BIN?= ${LOCALBASE}/sbin | | 23 | PKG_TOOLS_BIN?= ${LOCALBASE}/sbin |
25 | ROOT_CMD?= ${SU} - root -c | | 24 | ROOT_CMD?= ${SU} - root -c |
26 | ROOT_GROUP?= root | | 25 | ROOT_GROUP?= root |
27 | ROOT_USER?= user | | 26 | ROOT_USER?= user |
28 | SERIAL_DEVICES?= /dev/tty | | 27 | SERIAL_DEVICES?= /dev/tty |
29 | ULIMIT_CMD_datasize?= : | | 28 | ULIMIT_CMD_datasize?= : |
30 | ULIMIT_CMD_stacksize?= : | | 29 | ULIMIT_CMD_stacksize?= : |
31 | ULIMIT_CMD_memorysize?= : | | 30 | ULIMIT_CMD_memorysize?= : |
| | | 31 | .if exists(/bin/groupadd) |
32 | USERADD?= /bin/useradd | | 32 | USERADD?= /bin/useradd |
| | | 33 | GROUPADD?= /bin/groupadd |
| | | 34 | .endif |
33 | | | 35 | |
34 | _OPSYS_SYSTEM_RPATH?= /boot/common/lib:/boot/system/lib | | 36 | _OPSYS_SYSTEM_RPATH?= /boot/common/lib:/boot/system/lib |
35 | _OPSYS_LIB_DIRS?= /boot/common/lib /boot/system/lib | | 37 | _OPSYS_LIB_DIRS?= /boot/common/lib /boot/system/lib |
36 | _OPSYS_INCLUDE_DIRS?= /boot/common/include \ | | 38 | _OPSYS_INCLUDE_DIRS?= /boot/common/include \ |
37 | /boot/develop/headers/posix \ | | 39 | /boot/develop/headers/posix \ |
38 | /boot/develop/headers/3rdparty | | 40 | /boot/develop/headers/3rdparty |
39 | | | 41 | |
40 | _OPSYS_HAS_INET6= yes # IPv6 is standard | | 42 | _OPSYS_HAS_INET6= yes # IPv6 is standard |
41 | _OPSYS_HAS_JAVA= no # Java is not standard | | 43 | _OPSYS_HAS_JAVA= no # Java is not standard |
42 | _OPSYS_HAS_MANZ= no # no MANZ for gzipping of man pages | | 44 | _OPSYS_HAS_MANZ= no # no MANZ for gzipping of man pages |
43 | _OPSYS_HAS_OSSAUDIO= no # libossaudio is available | | 45 | _OPSYS_HAS_OSSAUDIO= no # libossaudio is available |
44 | _OPSYS_PERL_REQD= # no base version of perl required | | 46 | _OPSYS_PERL_REQD= # no base version of perl required |
45 | _OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads | | 47 | _OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads |