1 # $NetBSD: MirBSD.mk,v 1.8 2012/11/19 11:34:15 ryoon Exp $
3 # Variable definitions for the MirOS BSD operating system.
6 IMAKE_MAKE?
= ${MAKE} # program which gets invoked by imake
9 RSH?
= /usr
/bin
/false
# not delivered with MirOS any more
11 TYPE?
= type
# Shell builtin
13 #USERADD?= ${LOCALBASE}/sbin/useradd
14 #GROUPADD?= ${LOCALBASE}/sbin/groupadd
15 #_USER_DEPENDS= user>=20000313:../../sysutils/user #XXX make this work
17 CPP_PRECOMP_FLAGS?
= # unset
19 EXPORT_SYMBOLS_LDFLAGS?
=-Wl
,-E
# add symbols to the dynamic symbol table
20 MOTIF_TYPE_DEFAULT?
= motif
21 NOLOGIN?
= /sbin
/nologin
22 PKG_TOOLS_BIN?
= ${LOCALBASE}/sbin
23 ROOT_CMD?
= /usr
/bin
/sudo
/bin
/mksh
-c
26 ULIMIT_CMD_datasize?
= ulimit
-d
`ulimit -H -d`
27 ULIMIT_CMD_stacksize?
= ulimit
-s
`ulimit -H -s`
28 ULIMIT_CMD_memorysize?
= ulimit
-m
`ulimit -H -m`
32 _OPSYS_SYSTEM_RPATH?
= /usr
/lib
33 _OPSYS_LIB_DIRS?
= /usr
/lib
34 _OPSYS_INCLUDE_DIRS?
= /usr
/include
36 _OPSYS_HAS_INET6
= yes
# IPv6 is standard
37 _OPSYS_HAS_JAVA
= no
# Java is not standard
38 _OPSYS_HAS_MANZ
= no
# MANZ controls gzipping of man pages
39 _OPSYS_HAS_OSSAUDIO
= yes
# libossaudio is available
40 _OPSYS_LIBTOOL_REQD
= 1.5.22nb5
41 _OPSYS_PERL_REQD
= # no base version of perl required
42 _OPSYS_PTHREAD_AUTO
= no
# -lpthread needed for pthreads
43 _OPSYS_SHLIB_TYPE
= ELF
# shared lib type
44 _PATCH_CAN_BACKUP
= yes
# native patch(1) can make backups
45 _PATCH_BACKUP_ARG?
= -V simple
-z
# switch to patch(1) for backup suffix
46 _USE_RPATH
= yes
# add rpath to LDFLAGS
48 BUILDLINK_TRANSFORM
+= rm:-ldl
# libdl.a is an empty static library
50 # flags passed to the linker to extract all symbols from static archives.
52 _OPSYS_WHOLE_ARCHIVE_FLAG
= -Wl
,--whole-archive
53 _OPSYS_NO_WHOLE_ARCHIVE_FLAG
= -Wl
,--no-whole-archive
55 _STRIPFLAG_CC?
= ${_INSTALL_UNSTRIPPED
:D
:U-s
} # cc(1) option to strip
56 _STRIPFLAG_INSTALL?
= ${_INSTALL_UNSTRIPPED
:D
:U-s
} # install(1) option to strip
58 .if
(${MACHINE_ARCH} == "i386")
59 DEFAULT_SERIAL_DEVICE?
= /dev
/tty00
60 SERIAL_DEVICES?
= /dev
/tty00 \
62 .elif
(${MACHINE_ARCH} == "sparc")
63 DEFAULT_SERIAL_DEVICE?
= /dev
/ttya
64 SERIAL_DEVICES?
= /dev
/ttya \
67 DEFAULT_SERIAL_DEVICE?
= /dev
/null
68 SERIAL_DEVICES?
= /dev
/null
71 PKG_HAVE_KQUEUE
= # defined
73 _OPSYS_CAN_CHECK_SHLIBS
= no
# can't use readelf in check/bsd.check-vars.mk
75 # check for maximum command line length and set it in configure's environment,
76 # to avoid a test required by the libtool script that takes forever.
77 _OPSYS_MAX_CMDLEN_CMD
= /sbin
/sysctl
-n kern.argmax