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