michael@0: # michael@0: # This Source Code Form is subject to the terms of the Mozilla Public michael@0: # License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: # file, You can obtain one at http://mozilla.org/MPL/2.0/. michael@0: michael@0: ####################################################################### michael@0: # Master "Core Components" default command macros; # michael@0: # can be overridden in .mk # michael@0: ####################################################################### michael@0: michael@0: AS = $(CC) michael@0: ASFLAGS += $(CFLAGS) michael@0: CCF = $(CC) $(CFLAGS) michael@0: LINK_DLL = $(LINK) $(OS_DLLFLAGS) $(DLLFLAGS) michael@0: LINK_EXE = $(LINK) $(OS_LFLAGS) $(LFLAGS) michael@0: CFLAGS = $(OPTIMIZER) $(OS_CFLAGS) $(XP_DEFINE) $(DEFINES) $(INCLUDES) \ michael@0: $(XCFLAGS) michael@0: PERL = perl michael@0: RANLIB = echo michael@0: TAR = /bin/tar michael@0: # michael@0: # For purify michael@0: # michael@0: NOMD_CFLAGS += $(OPTIMIZER) $(NOMD_OS_CFLAGS) $(XP_DEFINE) $(DEFINES) \ michael@0: $(INCLUDES) $(XCFLAGS) michael@0: michael@0: # Optimization of code for size michael@0: # OPT_CODE_SIZE michael@0: # =1: The code can be optimized for size. michael@0: # The code is actually optimized for size only if ALLOW_OPT_CODE_SIZE=1 michael@0: # in a given source code directory (in manifest.mn) michael@0: # =0: Never optimize the code for size. michael@0: # michael@0: # Default value = 0 michael@0: # Can be overridden from the make command line. michael@0: ifndef OPT_CODE_SIZE michael@0: OPT_CODE_SIZE = 0 michael@0: endif michael@0: michael@0: MK_COMMAND = included