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