Makefile (723B)
1 # 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/. 5 6 include manifest.mn 7 8 include $(CORE_DEPTH)/coreconf/config.mk 9 10 ifdef BUILD_IDG 11 DEFINES += -DNSSDEBUG 12 endif 13 14 include $(CORE_DEPTH)/coreconf/rules.mk 15 16 # On AIX 4.3, IBM xlC_r compiler (version 3.6.6) cannot compile 17 # ckhelper.c in 64-bit mode for unknown reasons. A workaround is 18 # to compile it with optimizations turned on. (Bugzilla bug #63815) 19 ifeq ($(OS_TARGET)$(OS_RELEASE),AIX4.3) 20 ifeq ($(USE_64),1) 21 ifndef BUILD_OPT 22 $(OBJDIR)/ckhelper.o: ckhelper.c | $$(@D)/d 23 $(CC) -o $@ -c -O2 $(CFLAGS) $< 24 endif 25 endif 26 endif