1 # $NetBSD: UnixWare.mk,v 1.26 2007/10/19 13:41:35 rillig Exp $
3 # Variable definitions for the UnixWare 7 operating system.
6 IMAKE_MAKE?= /usr/ccs/bin/make # program which gets invoked by imake
9 # XXX: default from defaults/mk.conf. Verify/correct for this platform
10 # and remove this comment.
14 CPP_PRECOMP_FLAGS?= # unset
16 DEFAULT_SERIAL_DEVICE?= /dev/null
17 EXPORT_SYMBOLS_LDFLAGS?= # Don't add symbols to the dynamic symbol table
18 GROUPADD?= /usr/sbin/groupadd
19 MOTIF_TYPE_DEFAULT?= dt # default 2.0 compatible libs type
21 ROOT_CMD?= ${SU} - root -c
24 SERIAL_DEVICES?= /dev/null
25 ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d`
26 ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
27 ULIMIT_CMD_memorysize?= ulimit -v `ulimit -H -v`
28 USERADD?= /usr/sbin/useradd
30 # imake installs manpages in weird places
31 IMAKE_MAN_SOURCE_PATH= share/man/man
33 IMAKE_LIBMAN_SUFFIX= 3
34 IMAKE_FILEMAN_SUFFIX= 4
35 IMAKE_GAMEMAN_SUFFIX= 6
36 IMAKE_MAN_DIR= ${IMAKE_MAN_SOURCE_PATH}1
37 IMAKE_LIBMAN_DIR= ${IMAKE_MAN_SOURCE_PATH}3
38 IMAKE_FILEMAN_DIR= ${IMAKE_MAN_SOURCE_PATH}4
39 IMAKE_GAMEMAN_DIR= ${IMAKE_MAN_SOURCE_PATH}6
40 IMAKE_MANNEWSUFFIX= ${IMAKE_MAN_SUFFIX}
41 IMAKE_MANINSTALL?= maninstall
43 .if exists(/usr/include/netinet/in6.h)
44 _OPSYS_HAS_INET6= yes # IPv6 is standard
46 _OPSYS_HAS_INET6= no # IPv6 is not standard
48 _OPSYS_HAS_JAVA= no # Java is not standard
49 _OPSYS_HAS_MANZ= no # no MANZ for gzipping of man pages
50 _OPSYS_HAS_OSSAUDIO= no # libossaudio is available
51 _OPSYS_PERL_REQD= # no base version of perl required
52 _OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
53 _OPSYS_SHLIB_TYPE= ELF # shared lib type
54 _PATCH_CAN_BACKUP= yes # native patch(1) can make backups
55 _PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix
57 # The native linker for UnixWare doesn't really support an option to pass
58 # rpath directives, but pretend it does anyway since the wrapper scripts
59 # will correctly convert it into the proper LD_RUN_PATH variable.
61 _USE_RPATH= yes # add rpath to LDFLAGS
63 # flags passed to the linker to extract all symbols from static archives.
64 # this is the standard Solaris linker, /usr/ccs/bin/ld. The use of GNU
65 # ld is not currently supported.
66 # XXX is this needed for UnixWare?
67 _OPSYS_WHOLE_ARCHIVE_FLAG=
68 _OPSYS_NO_WHOLE_ARCHIVE_FLAG=
70 # UnixWare has /usr/include/iconv.h, but it's not GNU iconv, so mark it
72 _INCOMPAT_ICONV= UnixWare-*-*
74 _STRIPFLAG_CC?= ${_INSTALL_UNSTRIPPED:D:U} # cc(1) option to strip
75 _STRIPFLAG_INSTALL?= ${_INSTALL_UNSTRIPPED:D:U} # install(1) option to strip
77 PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
79 # check for maximum command line length and set it in configure's environment,
80 # to avoid a test required by the libtool script that takes forever.
81 # FIXME: Adjust to work on this system and enable the lines below.
82 #_OPSYS_MAX_CMDLEN_CMD= /sbin/sysctl -n kern.argmax
84 # If games are to be installed setgid, then SETGIDGAME is set to 'yes'
85 # (it defaults to 'no' as per defaults/mk.conf).
86 # Set the group and mode to meaningful values in that case (defaults to
87 # BINOWN, BINGRP and BINMODE as per defaults/mk.conf).
88 # FIXME: Adjust to work on this system and enable the lines below.
89 #.if !(empty(SETGIDGAME:M[yY][eE][sS]))
92 #GAMEOWN= ${GAMES_USER}
93 #GAMEGRP= ${GAMES_GROUP}