1998-08-19 20:42:14 +00:00
|
|
|
#
|
2012-05-29 15:52:43 +00:00
|
|
|
# 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/.
|
1998-08-19 20:42:14 +00:00
|
|
|
|
2012-08-04 18:26:44 +00:00
|
|
|
DEPTH = @DEPTH@
|
1998-08-19 20:42:14 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
1999-09-11 03:12:45 +00:00
|
|
|
VPATH = @srcdir@
|
1998-08-19 20:42:14 +00:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
2013-05-16 13:33:26 +00:00
|
|
|
MSVC_ENABLE_PGO := 1
|
1998-08-19 20:42:14 +00:00
|
|
|
|
2001-12-18 09:14:29 +00:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2012-05-02 13:28:52 +00:00
|
|
|
VISIBILITY_FLAGS =
|
2011-02-09 06:51:25 +00:00
|
|
|
endif
|
1998-08-19 20:42:14 +00:00
|
|
|
|
2010-07-19 17:34:41 +00:00
|
|
|
AS=$(LIBJPEG_TURBO_AS)
|
|
|
|
ASM_SUFFIX=asm
|
2011-10-18 04:25:53 +00:00
|
|
|
ASFLAGS=$(LIBJPEG_TURBO_ASFLAGS) -I$(topsrcdir)/media/libjpeg/simd/
|
2010-07-19 17:34:41 +00:00
|
|
|
|
|
|
|
ifeq ($(AS),yasm)
|
|
|
|
# yasm doesn't like -c
|
|
|
|
AS_DASH_C_FLAG=
|
|
|
|
endif
|
|
|
|
|
1999-05-17 19:20:28 +00:00
|
|
|
# need static lib for some of the libimg componentry to link properly
|
2001-06-18 22:10:38 +00:00
|
|
|
FORCE_STATIC_LIB = 1
|
1999-05-17 19:20:28 +00:00
|
|
|
|
1998-08-19 20:42:14 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2012-12-17 00:20:01 +00:00
|
|
|
|
2013-01-16 18:05:57 +00:00
|
|
|
jpeg_nbits_table.h: $(srcdir)/genTables.py
|
2012-12-17 00:20:01 +00:00
|
|
|
$(PYTHON) $(srcdir)/genTables.py
|
|
|
|
|
2013-01-16 18:05:57 +00:00
|
|
|
jchuff.$(OBJ_SUFFIX): jpeg_nbits_table.h
|