Merge mozilla-central and tracemonkey. (a=blockers)
[mozilla-central.git] / jpeg / Makefile.in
blob74ee17785299b43e51e44b073dac7387e5ad4cd3
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 ifneq ($(OS_TEST),x86_64)
51 # FIXME: bug 413019
52 ifndef GNU_CC
53 OS_COMPILE_CFLAGS += -GL-
54 endif
55 endif
56 endif
58 GRE_MODULE = 1
60 CSRCS = \
61 jdapimin.c \
62 jdapistd.c \
63 jdatasrc.c \
64 jdatadst.c \
65 jdmaster.c \
66 jdinput.c \
67 jdmarker.c \
68 jdhuff.c \
69 jdphuff.c \
70 jdmainct.c \
71 jdcoefct.c \
72 jdpostct.c \
73 jddctmgr.c \
74 jidctfst.c \
75 jidctflt.c \
76 jidctint.c \
77 jdsample.c \
78 jdcolor.c \
79 jquant1.c \
80 jquant2.c \
81 jdmerge.c \
82 jcomapi.c \
83 jutils.c \
84 jerror.c \
85 jmemmgr.c \
86 jmemnobs.c \
87 jfdctflt.c \
88 jfdctfst.c \
89 jfdctint.c \
90 $(NULL)
92 EXPORTS = \
93 jconfig.h \
94 jerror.h \
95 jinclude.h \
96 jmorecfg.h \
97 jpeglib.h \
98 jpegint.h \
99 jwinfig.h \
100 jos2fig.h \
101 $(NULL)
103 # These files enable support for writing JPEGs
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 # need static lib for some of the libimg componentry to link properly
122 FORCE_STATIC_LIB = 1
124 include $(topsrcdir)/config/rules.mk