зеркало из https://github.com/mozilla/gecko-dev.git
40 строки
890 B
Makefile
40 строки
890 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
|
|
|
|
LIBRARY_NAME = imgdecoders_s
|
|
FORCE_STATIC_LIB = 1
|
|
MODULE_NAME = nsDecodersModule
|
|
LIBXUL_LIBRARY = 1
|
|
ifndef _MSC_VER
|
|
FAIL_ON_WARNINGS = 1
|
|
endif # !_MSC_VER
|
|
|
|
|
|
CPPSRCS = nsPNGDecoder.cpp nsJPEGDecoder.cpp nsGIFDecoder2.cpp \
|
|
nsBMPDecoder.cpp nsICODecoder.cpp nsIconDecoder.cpp \
|
|
nsWBMPDecoder.cpp \
|
|
$(NULL)
|
|
|
|
CSRCS = iccjpeg.c \
|
|
$(NULL)
|
|
|
|
# Decoders need RasterImage.h
|
|
LOCAL_INCLUDES += -I$(topsrcdir)/image/src/
|
|
|
|
# PNG read/write stuff
|
|
DEFINES += -DMOZ_PNG_WRITE \
|
|
-DMOZ_PNG_READ \
|
|
$(NULL)
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|