~ubuntu-branches/ubuntu/precise/enigmail/precise-security

« back to all changes in this revision

Viewing changes to image/decoders/Makefile.in

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-11-12 16:36:01 UTC
  • mfrom: (0.12.15)
  • Revision ID: package-import@ubuntu.com-20121112163601-t8e8skdfi3ni9iqp
Tags: 2:1.4.6-0ubuntu0.12.04.1
* New upstream release v1.4.6
  - see LP: #1080212 for USN information
* Drop unneeded patches
  - remove debian/patches/correct-version-number.diff
  - remove debian/patches/dont_register_cids_multiple_times.diff
  - update debian/patches/series
* Support building in an objdir
  - update debian/rules

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# This Source Code Form is subject to the terms of the Mozilla Public
 
3
# License, v. 2.0. If a copy of the MPL was not distributed with this
 
4
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
 
5
 
 
6
DEPTH           = @DEPTH@
 
7
topsrcdir       = @top_srcdir@
 
8
srcdir          = @srcdir@
 
9
VPATH           = @srcdir@
 
10
 
 
11
include $(DEPTH)/config/autoconf.mk
 
12
 
 
13
MODULE = imgdecoders
 
14
LIBRARY_NAME = imgdecoders_s
 
15
FORCE_STATIC_LIB = 1
 
16
MODULE_NAME = nsDecodersModule
 
17
LIBXUL_LIBRARY  = 1
 
18
 
 
19
 
 
20
CPPSRCS = nsPNGDecoder.cpp nsJPEGDecoder.cpp nsGIFDecoder2.cpp \
 
21
          nsBMPDecoder.cpp nsICODecoder.cpp nsIconDecoder.cpp \
 
22
          $(NULL)
 
23
 
 
24
CSRCS   = iccjpeg.c \
 
25
          $(NULL)
 
26
 
 
27
# Decoders need RasterImage.h
 
28
LOCAL_INCLUDES += -I$(topsrcdir)/image/src/
 
29
 
 
30
# PNG read/write stuff
 
31
DEFINES         += -DMOZ_PNG_WRITE \
 
32
        -DMOZ_PNG_READ \
 
33
        $(NULL)
 
34
 
 
35
 
 
36
# The Icon Channel stuff really shouldn't live in decoders/icon, but we'll
 
37
# fix that another time.
 
38
ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
 
39
DIRS = icon/gtk icon
 
40
endif
 
41
ifneq (,$(filter qt,$(MOZ_WIDGET_TOOLKIT)))
 
42
DIRS = icon/qt icon
 
43
endif
 
44
ifeq ($(OS_ARCH),WINNT)
 
45
DIRS = icon/win icon
 
46
endif
 
47
ifeq ($(OS_ARCH),OS2)
 
48
DIRS = icon/os2 icon
 
49
endif
 
50
ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
 
51
DIRS = icon/mac icon
 
52
endif
 
53
ifeq (android,$(MOZ_WIDGET_TOOLKIT))
 
54
DIRS = icon/android icon
 
55
endif
 
56
 
 
57
 
 
58
include $(topsrcdir)/config/rules.mk
 
59