Blame nss/coreconf/command.mk

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