Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / mk / platform / Haiku.mk
blob2b9feb4312fb34f2609fe524d95ee4c76ee694b7
1 # $NetBSD: Haiku.mk,v 1.7 2012/11/19 11:34:15 ryoon Exp $
3 # Variable definitions for the Haiku operating system.
5 ECHO_N?= ${ECHO} -n
6 PKGLOCALEDIR?= share
7 PS?= /bin/ps
8 # XXX: default from defaults/mk.conf. Verify/correct for this platform
9 # and remove this comment.
10 SU?= /bin/su
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
18 DEF_UMASK?= 022
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
23 NOLOGIN?= /bin/false
24 PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
25 ROOT_CMD?= ${SU} - root -c
26 ROOT_GROUP?= root
27 ROOT_USER?= user
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.
52 # this is GNU ld.
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