| @@ -1,68 +1,68 @@ | | | @@ -1,68 +1,68 @@ |
1 | # $NetBSD: Haiku.mk,v 1.14 2016/03/10 16:58:19 jperkin Exp $ | | 1 | # $NetBSD: Haiku.mk,v 1.15 2018/10/11 08:30:16 adam 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 | MOTIF_TYPE_DEFAULT?= motif # default 2.0 compatible libs type | | 21 | MOTIF_TYPE_DEFAULT?= motif # default 2.0 compatible libs type |
22 | NOLOGIN?= /bin/false | | 22 | NOLOGIN?= /bin/false |
23 | PKG_TOOLS_BIN?= ${LOCALBASE}/sbin | | 23 | PKG_TOOLS_BIN?= ${LOCALBASE}/sbin |
24 | ROOT_CMD?= ${SU} - root -c | | 24 | ROOT_CMD?= ${SU} - root -c |
25 | ROOT_GROUP?= root | | 25 | ROOT_GROUP?= root |
26 | ROOT_USER?= user | | 26 | ROOT_USER?= user |
27 | SERIAL_DEVICES?= /dev/tty | | 27 | SERIAL_DEVICES?= /dev/tty |
28 | ULIMIT_CMD_datasize?= : | | 28 | ULIMIT_CMD_datasize?= : |
29 | ULIMIT_CMD_stacksize?= : | | 29 | ULIMIT_CMD_stacksize?= : |
30 | ULIMIT_CMD_memorysize?= : | | 30 | ULIMIT_CMD_memorysize?= : |
31 | .if exists(/bin/groupadd) | | 31 | .if exists(/bin/groupadd) |
32 | USERADD?= /bin/useradd | | 32 | USERADD?= /bin/useradd |
33 | GROUPADD?= /bin/groupadd | | 33 | GROUPADD?= /bin/groupadd |
34 | .endif | | 34 | .endif |
35 | | | 35 | |
36 | .if exists(/boot/system/develop) | | 36 | .if exists(/boot/system/develop) |
37 | _OPSYS_SYSTEM_RPATH?= /boot/system/lib | | 37 | _OPSYS_SYSTEM_RPATH?= /boot/system/lib |
38 | _OPSYS_LIB_DIRS?= /boot/system/develop/lib /boot/system/lib | | 38 | _OPSYS_LIB_DIRS?= /boot/system/develop/lib /boot/system/lib |
39 | _OPSYS_INCLUDE_DIRS?= /boot/system/develop/headers \ | | 39 | _OPSYS_INCLUDE_DIRS?= /boot/system/develop/headers \ |
40 | /boot/system/develop/headers/posix | | 40 | /boot/system/develop/headers/posix |
41 | .else | | 41 | .else |
42 | _OPSYS_SYSTEM_RPATH?= /boot/common/lib:/boot/system/lib | | 42 | _OPSYS_SYSTEM_RPATH?= /boot/common/lib:/boot/system/lib |
43 | _OPSYS_LIB_DIRS?= /boot/common/lib /boot/system/lib | | 43 | _OPSYS_LIB_DIRS?= /boot/common/lib /boot/system/lib |
44 | _OPSYS_INCLUDE_DIRS?= /boot/common/include \ | | 44 | _OPSYS_INCLUDE_DIRS?= /boot/common/include \ |
45 | /boot/develop/headers/posix \ | | 45 | /boot/develop/headers/posix \ |
46 | /boot/develop/headers/3rdparty | | 46 | /boot/develop/headers/3rdparty |
47 | .endif | | 47 | .endif |
48 | | | 48 | |
49 | _OPSYS_HAS_INET6= yes # IPv6 is standard | | 49 | _OPSYS_HAS_INET6= yes # IPv6 is standard |
50 | _OPSYS_HAS_JAVA= no # Java is not standard | | 50 | _OPSYS_HAS_JAVA= no # Java is not standard |
51 | _OPSYS_HAS_MANZ= no # no MANZ for gzipping of man pages | | 51 | _OPSYS_HAS_MANZ= no # no MANZ for gzipping of man pages |
52 | _OPSYS_HAS_OSSAUDIO= no # libossaudio is available | | 52 | _OPSYS_HAS_OSSAUDIO= no # libossaudio is available |
53 | _OPSYS_PERL_REQD= # no base version of perl required | | 53 | _OPSYS_PERL_REQD= # no base version of perl required |
54 | _OPSYS_PTHREAD_AUTO= yes # -lpthread not needed for pthreads | | 54 | _OPSYS_PTHREAD_AUTO= yes # -lpthread not needed for pthreads |
55 | _OPSYS_SHLIB_TYPE= ELF # shared lib type | | 55 | _OPSYS_SHLIB_TYPE= ELF # shared lib type |
56 | _PATCH_CAN_BACKUP= yes # native patch(1) can make backups | | 56 | _PATCH_CAN_BACKUP= yes # native patch(1) can make backups |
57 | _PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix | | 57 | _PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix |
58 | _USE_RPATH= yes # add rpath to LDFLAGS | | 58 | _USE_RPATH= yes # add rpath to LDFLAGS |
59 | | | 59 | |
60 | _STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-s} # cc(1) option to strip | | 60 | _STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U-s} # cc(1) option to strip |
61 | _STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip | | 61 | _STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U-s} # install(1) option to strip |
62 | | | 62 | |
63 | _OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk | | 63 | _OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk |
64 | | | 64 | |
65 | # check for maximum command line length and set it in configure's environment, | | 65 | # check for maximum command line length and set it in configure's environment, |
66 | # to avoid a test required by the libtool script that takes forever. | | 66 | # to avoid a test required by the libtool script that takes forever. |
67 | # FIXME: Adjust to work on this system and enable the lines below. | | 67 | # FIXME: Adjust to work on this system and enable the lines below. |
68 | #_OPSYS_MAX_CMDLEN_CMD= /sbin/sysctl -n kern.argmax | | 68 | #_OPSYS_MAX_CMDLEN_CMD= /sbin/sysctl -n kern.argmax |