Bug 464947 - Clear Recent History dialog should clear form data by timespan. r=mconnor
[wine-gecko.git] / modules / libimg / png / Makefile.in
blob44f1bcfc52017c15330391da9f8a04060c432c72
2 # ***** BEGIN LICENSE BLOCK *****
3 # Version: MPL 1.1/GPL 2.0/LGPL 2.1
5 # The contents of this file are subject to the Mozilla Public License Version
6 # 1.1 (the "License"); you may not use this file except in compliance with
7 # the License. You may obtain a copy of the License at
8 # http://www.mozilla.org/MPL/
10 # Software distributed under the License is distributed on an "AS IS" basis,
11 # WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
12 # for the specific language governing rights and limitations under the
13 # License.
15 # The Original Code is mozilla.org code.
17 # The Initial Developer of the Original Code is
18 # Netscape Communications Corporation.
19 # Portions created by the Initial Developer are Copyright (C) 1998
20 # the Initial Developer. All Rights Reserved.
22 # Contributor(s):
24 # Alternatively, the contents of this file may be used under the terms of
25 # either the GNU General Public License Version 2 or later (the "GPL"), or
26 # the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
27 # in which case the provisions of the GPL or the LGPL are applicable instead
28 # of those above. If you wish to allow use of your version of this file only
29 # under the terms of either the GPL or the LGPL, and not to allow others to
30 # use your version of this file under the terms of the MPL, indicate your
31 # decision by deleting the provisions above and replace them with the notice
32 # and other provisions required by the GPL or the LGPL. If you do not delete
33 # the provisions above, a recipient may use your version of this file under
34 # the terms of any one of the MPL, the GPL or the LGPL.
36 # ***** END LICENSE BLOCK *****
38 DEPTH = ../../..
39 topsrcdir = @top_srcdir@
40 srcdir = @srcdir@
41 VPATH = @srcdir@
43 include $(DEPTH)/config/autoconf.mk
45 MODULE = png
46 LIBRARY_NAME = mozpng
47 ifeq ($(OS_ARCH),WINNT)
48 LIBRARY_NAME = png
49 endif
50 LIBXUL_LIBRARY = 1
52 ifndef GNU_CC
53 ifeq ($(OS_ARCH),WINNT)
54 # FIXME: bug 413019
55 OS_COMPILE_CFLAGS += -GL-
56 endif
57 endif
59 REQUIRES = $(ZLIB_REQUIRES) \
60 $(NULL)
62 CSRCS = \
63 png.c \
64 pngerror.c \
65 pngget.c \
66 pngmem.c \
67 pngset.c \
68 pngtrans.c \
69 $(NULL)
71 # These files enable support for reading PNGs
72 ifneq (,$(filter png,$(MOZ_IMG_DECODERS)))
73 CSRCS += \
74 pngpread.c \
75 pngread.c \
76 pngrio.c \
77 pngrutil.c \
78 $(NULL)
80 DEFINES += -DMOZ_PNG_READ
81 endif
83 # These files enable support for writing PNGs
84 ifneq (,$(filter png,$(MOZ_IMG_ENCODERS)))
85 CSRCS += \
86 pngwio.c \
87 pngwrite.c \
88 pngwtran.c \
89 pngrtran.c \
90 pngwutil.c \
91 $(NULL)
93 DEFINES += -DMOZ_PNG_WRITE
94 endif
96 EXPORTS = png.h pngconf.h mozpngconf.h
98 LOCAL_INCLUDES = -I$(srcdir)
100 FORCE_STATIC_LIB = 1
101 # This library is used by other shared libs in a static build
102 FORCE_USE_PIC = 1
104 include $(topsrcdir)/config/rules.mk
106 ifeq ($(OS_ARCH),WINNT)
107 DEFINES += -DZLIB_DLL
108 ifdef BUILD_DEBUG_GC
109 DEFINES += -DDEBUG_GC
110 endif
111 endif