Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / mk / platform / AIX.mk
blobe950eaabbc79af83077fe8868c16f7f6ecfe87ff
1 # $NetBSD: AIX.mk,v 1.39 2012/11/19 11:34:15 ryoon Exp $
3 # Variable definitions for the AIX operating system.
5 CPP?= ${LOCALBASE}/bin/cpp
6 ECHO_N?= ${ECHO} -n
7 IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake
8 PKGLOCALEDIR?= share
9 PS?= /bin/ps
10 # XXX: default from defaults/mk.conf. Verify/correct for this platform
11 # and remove this comment.
12 # AIX strip fails too easily. Use a wrapper script instead
13 .if exists(${LOCALBASE}/bin/strip)
14 STRIP?= ${LOCALBASE}/bin/strip
15 .endif
16 SU?= /usr/bin/su
17 TYPE?= type # Shell builtin
19 CPP_PRECOMP_FLAGS?= # unset
20 DEF_UMASK?= 0022
21 EXPORT_SYMBOLS_LDFLAGS?= # empty
22 MOTIF_TYPE_DEFAULT?= motif # default 2.0 compatible libs type
23 NOLOGIN?= /sbin/nologin
24 PKG_TOOLS_BIN?= ${LOCALBASE}/sbin
25 ROOT_CMD?= ${SU} - root -c
26 ROOT_USER?= root
27 ROOT_GROUP?= system
28 ULIMIT_CMD_datasize?= ulimit -d `ulimit -H -d`
29 ULIMIT_CMD_stacksize?= ulimit -s `ulimit -H -s`
30 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 .if exists(/usr/include/netinet6)
37 _OPSYS_HAS_INET6= yes # IPv6 is standard
38 .else
39 _OPSYS_HAS_INET6= no # IPv6 is not standard
40 .endif
41 _OPSYS_HAS_JAVA= no # Java is not standard
42 _OPSYS_HAS_MANZ= yes # MANZ controls 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= aixlib # type of shared lib
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 DEFAULT_SERIAL_DEVICE?= /dev/tty0
60 SERIAL_DEVICES?= /dev/tty0 \
61 /dev/tty
63 _OPSYS_CAN_CHECK_SHLIBS= no # can't use readelf in check/bsd.check-vars.mk
65 # check for maximum command line length and set it in configure's environment,
66 # to avoid a test required by the libtool script that takes forever.
67 # FIXME: Adjust to work on this system and enable the lines below.
68 #_OPSYS_MAX_CMDLEN_CMD= /sbin/sysctl -n kern.argmax