command.mk (1393B)
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 ####################################################################### 7 # Master "Core Components" default command macros; # 8 # can be overridden in <arch>.mk # 9 ####################################################################### 10 11 AS = $(CC) 12 ASFLAGS += $(CFLAGS) 13 CCF = $(CC) $(CFLAGS) 14 LINK_DLL = $(LD) $(OS_DLLFLAGS) $(DLLFLAGS) $(XLDFLAGS) 15 CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(WARNING_CFLAGS) $(XP_DEFINE) \ 16 $(DEFINES) $(INCLUDES) $(XCFLAGS) 17 CSTD = -std=c99 18 CXXSTD = -std=c++11 19 PERL = perl 20 RANLIB = echo 21 TAR = /bin/tar 22 # 23 # For purify 24 # 25 NOMD_CFLAGS += $(OPTIMIZER) $(NOMD_OS_CFLAGS) $(XP_DEFINE) $(DEFINES) \ 26 $(INCLUDES) $(XCFLAGS) 27 28 # Optimization of code for size 29 # OPT_CODE_SIZE 30 # =1: The code can be optimized for size. 31 # The code is actually optimized for size only if ALLOW_OPT_CODE_SIZE=1 32 # in a given source code directory (in manifest.mn) 33 # =0: Never optimize the code for size. 34 # 35 # Default value = 0 36 # Can be overridden from the make command line. 37 ifndef OPT_CODE_SIZE 38 OPT_CODE_SIZE = 0 39 endif 40 41 MK_COMMAND = included