Bug 844951 - Setting playbackRate and mozPreservesPitch before the decoder creation...
[gecko.git] / security / coreconf / AIX.mk
blobe158a6a41dda95d9c63a9df82eb12415c126c6a3
2 # This Source Code Form is subject to the terms of the Mozilla Public
3 # License, v. 2.0. If a copy of the MPL was not distributed with this
4 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
6 # Config stuff for AIX.
8 include $(CORE_DEPTH)/coreconf/UNIX.mk
11 # There are two implementation strategies available on AIX:
12 # pthreads, and pthreads-user. The default is pthreads.
13 # In both strategies, we need to use pthread_user.c, instead of
14 # aix.c. The fact that aix.c is never used is somewhat strange.
16 # So we need to do the following:
17 # - Default (PTHREADS_USER not defined in the environment or on
18 # the command line):
19 # Set PTHREADS_USER=1, USE_PTHREADS=1
20 # - PTHREADS_USER=1 set in the environment or on the command line:
21 # Do nothing.
23 ifeq ($(PTHREADS_USER),1)
24 USE_PTHREADS = # just to be safe
25 IMPL_STRATEGY = _PTH_USER
26 else
27 USE_PTHREADS = 1
28 PTHREADS_USER = 1
29 endif
31 DEFAULT_COMPILER = xlc_r
33 CC = xlc_r
34 CCC = xlC_r
36 CPU_ARCH = rs6000
38 RANLIB = ranlib
40 OS_CFLAGS = -DAIX -DSYSV
41 OS_LIBS += -blibpath:/usr/lib:/lib -lc -lm
43 DSO_LDOPTS = -brtl -bnortllib -bM:SRE -bnoentry
44 MKSHLIB = $(LD) $(DSO_LDOPTS) -blibpath:/usr/lib:/lib -lc -lm
46 AIX_WRAP = $(DIST)/lib/aixwrap.o
47 AIX_TMP = $(OBJDIR)/_aix_tmp.o
49 ifdef MAPFILE
50 DSO_LDOPTS += -bexport:$(MAPFILE)
51 else
52 DSO_LDOPTS += -bexpall
53 endif
55 PROCESS_MAP_FILE = grep -v ';+' $< | grep -v ';-' | \
56 sed -e 's; DATA ;;' -e 's,;;,,' -e 's,;.*,,' > $@
58 ifdef BUILD_OPT
59 OPTIMIZER += -qmaxmem=-1
60 endif
62 ifeq ($(USE_64), 1)
63 OS_CFLAGS += -DAIX_64BIT
64 OBJECT_MODE=64
65 export OBJECT_MODE
66 endif