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