1 # $NetBSD: Haiku.mk,v 1.7 2012/11/19 11:34:15 ryoon Exp $
3 # Variable definitions for the Haiku operating system.
8 # XXX: default from defaults/mk.conf. Verify/correct for this platform
9 # and remove this comment.
11 TYPE?
= type
# Shell builtin
13 # Use symlink for wrapper in mk/wrapper/bsd.wrapper.mk,
14 # due to lack of hard link support.
15 WRAPPER_USE_SYMLINK
= # defined
17 CPP_PRECOMP_FLAGS?
= # unset
19 DEFAULT_SERIAL_DEVICE?
= /dev
/tty
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
24 PKG_TOOLS_BIN?
= ${LOCALBASE}/sbin
25 ROOT_CMD?
= ${SU} - root
-c
28 SERIAL_DEVICES?
= /dev
/tty
29 ULIMIT_CMD_datasize?
= ulimit
-d
`ulimit -H -d`
30 ULIMIT_CMD_stacksize?
= ulimit
-s
`ulimit -H -s`
31 ULIMIT_CMD_memorysize?
= ulimit
-m
`ulimit -H -m`
32 USERADD?
= /bin
/useradd
34 _OPSYS_SYSTEM_RPATH?
= /boot
/common
/lib
:/boot
/system
/lib
35 _OPSYS_LIB_DIRS?
= /boot
/common
/lib
/boot
/system
/lib
36 _OPSYS_INCLUDE_DIRS?
= /boot
/common
/include \
37 /boot
/develop
/headers
/posix \
38 /boot
/develop
/3rdparty
40 _OPSYS_HAS_INET6
= yes
# IPv6 is standard
41 _OPSYS_HAS_JAVA
= no
# Java is not standard
42 _OPSYS_HAS_MANZ
= no
# no MANZ for gzipping of man pages
43 _OPSYS_HAS_OSSAUDIO
= no
# libossaudio is available
44 _OPSYS_PERL_REQD
= # no base version of perl required
45 _OPSYS_PTHREAD_AUTO
= no
# -lpthread needed for pthreads
46 _OPSYS_SHLIB_TYPE
= ELF
# shared lib type
47 _PATCH_CAN_BACKUP
= yes
# native patch(1) can make backups
48 _PATCH_BACKUP_ARG?
= -b
-V simple
-z
# switch to patch(1) for backup suffix
49 _USE_RPATH
= yes
# add rpath to LDFLAGS
51 # flags passed to the linker to extract all symbols from static archives.
53 _OPSYS_WHOLE_ARCHIVE_FLAG
= -Wl
,--whole-archive
54 _OPSYS_NO_WHOLE_ARCHIVE_FLAG
= -Wl
,--no-whole-archive
56 _STRIPFLAG_CC?
= ${_INSTALL_UNSTRIPPED
:D
:U-s
} # cc(1) option to strip
57 _STRIPFLAG_INSTALL?
= ${_INSTALL_UNSTRIPPED
:D
:U-s
} # install(1) option to strip
59 _OPSYS_CAN_CHECK_SHLIBS
= no
# can't use readelf in check/bsd.check-vars.mk
61 # check for maximum command line length and set it in configure's environment,
62 # to avoid a test required by the libtool script that takes forever.
63 # FIXME: Adjust to work on this system and enable the lines below.
64 #_OPSYS_MAX_CMDLEN_CMD= /sbin/sysctl -n kern.argmax