#
# 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/.

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

include $(topsrcdir)/config/rules.mk

jpeg_nbits_table.h: $(srcdir)/genTables.py
	$(PYTHON) $(srcdir)/genTables.py
