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-14 02:51:42 +00:00
|
|
|
VPATH = @srcdir@
|
1998-08-19 20:42:14 +00:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = png
|
2001-03-09 23:53:17 +00:00
|
|
|
LIBRARY_NAME = mozpng
|
2012-05-02 15:02:15 +00:00
|
|
|
FORCE_STATIC_LIB= 1
|
2002-01-16 05:10:09 +00:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2012-05-02 15:02:15 +00:00
|
|
|
VISIBILITY_FLAGS=
|
2002-01-16 05:10:09 +00:00
|
|
|
endif
|
|
|
|
|
1999-09-14 02:51:42 +00:00
|
|
|
|
|
|
|
CSRCS = \
|
|
|
|
png.c \
|
|
|
|
pngerror.c \
|
|
|
|
pngget.c \
|
|
|
|
pngmem.c \
|
2007-11-13 11:03:32 +00:00
|
|
|
pngset.c \
|
|
|
|
pngtrans.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-03-04 03:18:12 +00:00
|
|
|
# These files enable support for reading/writing PNGs
|
2007-11-13 11:03:32 +00:00
|
|
|
CSRCS += \
|
1999-09-14 02:51:42 +00:00
|
|
|
pngpread.c \
|
|
|
|
pngread.c \
|
|
|
|
pngrio.c \
|
2009-03-15 10:55:00 +00:00
|
|
|
pngrtran.c \
|
1999-09-14 02:51:42 +00:00
|
|
|
pngrutil.c \
|
|
|
|
pngwio.c \
|
|
|
|
pngwrite.c \
|
|
|
|
pngwtran.c \
|
|
|
|
pngwutil.c \
|
|
|
|
$(NULL)
|
|
|
|
|
2010-11-05 17:23:05 +00:00
|
|
|
DEFINES += -DMOZ_PNG_READ \
|
|
|
|
-DMOZ_PNG_WRITE
|
2007-11-13 11:03:32 +00:00
|
|
|
|
2003-06-11 20:05:13 +00:00
|
|
|
EXPORTS = png.h pngconf.h mozpngconf.h
|
1999-09-14 02:51:42 +00:00
|
|
|
|
|
|
|
LOCAL_INCLUDES = -I$(srcdir)
|
1998-08-26 04:04:57 +00:00
|
|
|
|
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
|
1999-09-14 02:51:42 +00:00
|
|
|
|
2001-12-18 09:14:29 +00:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
ifdef BUILD_DEBUG_GC
|
|
|
|
DEFINES += -DDEBUG_GC
|
|
|
|
endif
|
|
|
|
endif
|