1 # $NetBSD: OSF1.mk,v 1.33 2012/11/19 11:34:15 ryoon Exp $
3 # Variable definitions for the OSF1 operating system.
5 ECHO_N?
= ${SETENV} CMD_ENV
=bsd
/usr
/bin
/echo
-n
6 IMAKE_MAKE?
= ${MAKE} # program which gets invoked by imake
11 TYPE?
= type
# Shell builtin
13 USERADD?
= /usr
/sbin
/useradd
14 GROUPADD?
= /usr
/sbin
/groupadd
16 CPP_PRECOMP_FLAGS?
= # unset
18 EXPORT_SYMBOLS_LDFLAGS?
=-Wl
,-non_hidden
# add symbols to the dynamic symbol table
19 MOTIF_TYPE_DEFAULT?
= motif
# default 2.0 compatible libs type
20 NOLOGIN?
= /etc
/nologin
21 PKG_TOOLS_BIN?
= ${LOCALBASE}/sbin
22 ROOT_CMD?
= ${SU} - root
-c
25 ULIMIT_CMD_datasize?
= ulimit
-d
`ulimit -H -d`
26 ULIMIT_CMD_stacksize?
= ulimit
-s
`ulimit -H -s`
27 ULIMIT_CMD_memorysize?
= ulimit
-m
`ulimit -H -m`
29 # Fix broken system headers by using pkgtools/posix_headers
30 FIX_SYSTEM_HEADERS?
= yes
32 _OPSYS_EMULDIR.osf1
= # empty
34 _OPSYS_SYSTEM_RPATH?
= /usr
/lib
35 _OPSYS_LIB_DIRS?
= /usr
/lib
36 _OPSYS_INCLUDE_DIRS?
= /usr
/include
38 .if exists
(/usr
/include/netinet
/ip6.h
)
39 _OPSYS_HAS_INET6
= yes
# IPv6 is standard
41 _OPSYS_HAS_INET6
= no
# IPv6 is not standard
43 _OPSYS_HAS_JAVA
= yes
# Java is standard
44 _OPSYS_HAS_MANZ
= yes
# MANZ controls gzipping of man pages
45 _OPSYS_HAS_OSSAUDIO
= no
# libossaudio is available
46 _OPSYS_PERL_REQD
= # no base version of perl required
47 _OPSYS_PTHREAD_AUTO
= no
# -lpthread needed for pthreads
48 _OPSYS_SHLIB_TYPE
= ECOFF
# type of shared lib
49 _PATCH_CAN_BACKUP
= yes
# native patch(1) can make backups
50 _PATCH_BACKUP_ARG?
= -b
-V simple
-z
# switch to patch(1) for backup suffix
51 _USE_RPATH
= yes
# add rpath to LDFLAGS
53 # flags passed to the linker to extract all symbols from static archives.
54 _OPSYS_WHOLE_ARCHIVE_FLAG
= -Wl
,-all
55 _OPSYS_NO_WHOLE_ARCHIVE_FLAG
= -Wl
,-none
57 DEFAULT_SERIAL_DEVICE?
= /dev
/tty00
58 SERIAL_DEVICES?
= /dev
/tty00 \
61 _INCOMPAT_ICONV
= OSF1-
*-*
63 _OPSYS_CAN_CHECK_SHLIBS
= no
# can't use readelf in check/bsd.check-vars.mk
65 # sysutils/fam is not usable on OSF1.
68 _STRIPFLAG_CC?
= ${_INSTALL_UNSTRIPPED
:D
:U
} # cc(1) option to strip
69 _STRIPFLAG_INSTALL?
= ${_INSTALL_UNSTRIPPED
:D
:U
} # install(1) option to strip