зеркало из https://github.com/mozilla/gecko-dev.git
37 строки
815 B
Makefile
37 строки
815 B
Makefile
#
|
|
# 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@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MSVC_ENABLE_PGO := 1
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
VISIBILITY_FLAGS =
|
|
endif
|
|
|
|
AS=$(LIBJPEG_TURBO_AS)
|
|
ASM_SUFFIX=asm
|
|
ASFLAGS=$(LIBJPEG_TURBO_ASFLAGS) -I$(topsrcdir)/media/libjpeg/simd/
|
|
|
|
ifeq ($(AS),yasm)
|
|
# yasm doesn't like -c
|
|
AS_DASH_C_FLAG=
|
|
endif
|
|
|
|
# need static lib for some of the libimg componentry to link properly
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
jpeg_nbits_table.h: $(srcdir)/genTables.py
|
|
$(PYTHON) $(srcdir)/genTables.py
|
|
|
|
jchuff.$(OBJ_SUFFIX): jpeg_nbits_table.h
|