1 # $NetBSD: HPUX.mk,v 1.21 2012/11/19 11:34:15 ryoon Exp $
3 # Variable definitions for the HP-UX operating system.
5 ECHO_N?
= /usr
/bin
/printf
# echo doesn't understand -n
6 IMAKE_MAKE?
= ${MAKE} # program which gets invoked by imake
10 TYPE?
= type
# Shell builtin
12 USERADD?
= /usr
/sbin
/useradd
13 GROUPADD?
= /usr
/sbin
/groupadd
15 CPP_PRECOMP_FLAGS?
= # unset
17 EXPORT_SYMBOLS_LDFLAGS?
=-Wl
,-E
# add symbols to the dynamic symbol table
18 MOTIF_TYPE_DEFAULT?
= motif
# default 2.0 compatible libs type
19 NOLOGIN?
= /etc
/nologin
20 PKG_TOOLS_BIN?
= ${LOCALBASE}/sbin
21 ROOT_CMD?
= ${SU} - root
-c
24 TOUCH_FLAGS?
= # touch doesn't understand -f
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.hpux
= # 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
= ${OBJECT_FMT} # 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
,-tools2-HPUX-fixme
55 _OPSYS_NO_WHOLE_ARCHIVE_FLAG
= -Wl
,-tools3-HPUX-fixme
57 DEFAULT_SERIAL_DEVICE?
= /dev
/tty1p0
58 SERIAL_DEVICES?
= /dev
/tty0p0 \
61 _INCOMPAT_ICONV
= HPUX-
*-*
63 _OPSYS_CAN_CHECK_SHLIBS
= no
# can't use readelf in check/bsd.check-vars.mk
65 # sysutils/fam is not usable on HP-UX.
68 # mit-krb5 is builtin, and heimdal doesn't build.
69 KRB5_DEFAULT?
= mit-krb5
71 # Builtin openssl and zlib have issues. Prefer pkgsrc's until we know which
73 PREFER.openssl?
= pkgsrc
76 _STRIPFLAG_CC?
= ${_INSTALL_UNSTRIPPED
:D
:U
} # cc(1) option to strip
77 _STRIPFLAG_INSTALL?
= ${_INSTALL_UNSTRIPPED
:D
:U
} # install(1) option to strip