mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-01 06:35:42 +00:00
43 lines
938 B
Makefile
43 lines
938 B
Makefile
#! gmake
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = $(srcdir)
|
|
relativesrcdir = @relativesrcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
ifdef MOZ_ENABLE_PROFILER_SPS
|
|
LOCAL_INCLUDES += \
|
|
-I$(topsrcdir)/mozglue/linker \
|
|
-I$(topsrcdir)/ipc/chromium/src \
|
|
-I$(topsrcdir)/toolkit/crashreporter/google-breakpad/src \
|
|
$(NULL)
|
|
|
|
ifneq (,$(filter armeabi,$(ANDROID_CPU_ARCH)))
|
|
DEFINES += -DARCH_ARMV6
|
|
endif
|
|
|
|
EXPORT_LIBRARY = 1
|
|
LIBXUL_LIBRARY = 1
|
|
ifndef _MSC_VER
|
|
FAIL_ON_WARNINGS = 1
|
|
endif # !_MSC_VER
|
|
|
|
# Uncomment for better debugging in opt builds
|
|
#MOZ_OPTIMIZE_FLAGS += -O0 -g
|
|
|
|
ifeq ($(OS_TARGET),Darwin)
|
|
CMMSRCS += \
|
|
shim_mac_dump_syms.mm
|
|
endif
|
|
|
|
endif
|
|
|
|
include $(topsrcdir)/config/rules.mk
|