Bug 574778 - Fix win widget's ConstrainPosition so that it supports full screen windo...
[mozilla-central.git] / jpeg / Makefile.in
blobd19133ddbf106f4d0d9c29d97f6eb20f45962e67
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 = jpeg
46 LIBRARY_NAME = mozjpeg
48 ifeq ($(OS_ARCH),WINNT)
49 LIBRARY_NAME = jpeg32$(VERSION_NUMBER)
50 # FIXME: bug 413019
51 ifndef GNU_CC
52 OS_COMPILE_CFLAGS += -GL-
53 endif
54 endif
56 GRE_MODULE = 1
58 CSRCS = \
59 jdapimin.c \
60 jdapistd.c \
61 jdatasrc.c \
62 jdatadst.c \
63 jdmaster.c \
64 jdinput.c \
65 jdmarker.c \
66 jdhuff.c \
67 jdphuff.c \
68 jdmainct.c \
69 jdcoefct.c \
70 jdpostct.c \
71 jddctmgr.c \
72 jidctfst.c \
73 jidctflt.c \
74 jidctint.c \
75 jdsample.c \
76 jdcolor.c \
77 jquant1.c \
78 jquant2.c \
79 jdmerge.c \
80 jcomapi.c \
81 jutils.c \
82 jerror.c \
83 jmemmgr.c \
84 jmemnobs.c \
85 jfdctflt.c \
86 jfdctfst.c \
87 jfdctint.c \
88 $(NULL)
90 EXPORTS = \
91 jconfig.h \
92 jerror.h \
93 jinclude.h \
94 jmorecfg.h \
95 jpeglib.h \
96 jpegint.h \
97 jwinfig.h \
98 jos2fig.h \
99 $(NULL)
101 # These files enable support for writing JPEGs
102 # (on certain platforms, or if JPEG image encoder support is required)
103 ifneq (,$(filter os2 windows,$(MOZ_WIDGET_TOOLKIT))$(filter jpeg,$(MOZ_IMG_ENCODERS)))
104 CSRCS += \
105 jcapimin.c \
106 jcparam.c \
107 jcapistd.c \
108 jcmarker.c \
109 jcinit.c \
110 jcmainct.c \
111 jchuff.c \
112 jcsample.c \
113 jcmaster.c \
114 jccoefct.c \
115 jccolor.c \
116 jcphuff.c \
117 jcdctmgr.c \
118 jcprepct.c \
119 $(NULL)
121 endif
123 # need static lib for some of the libimg componentry to link properly
124 FORCE_STATIC_LIB = 1
126 include $(topsrcdir)/config/rules.mk