Bug 458861. Validate TrueType headers before activating downloaded font. r=roc, sr...
[wine-gecko.git] / xpinstall / src / Makefile.in
blobe37cec74b41462a0f79dd2891986e1309a7750ff
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 Communicator client code, released
16 # March 31, 1998.
18 # The Initial Developer of the Original Code is
19 # Netscape Communications Corporation.
20 # Portions created by the Initial Developer are Copyright (C) 1998
21 # the Initial Developer. All Rights Reserved.
23 # Contributor(s):
24 # Daniel Veditz <dveditz@netscape.com>
25 # Douglas Turner <dougt@netscape.com>
26 # Dave Townsend <dtownsend@oxymoronical.com>
28 # Alternatively, the contents of this file may be used under the terms of
29 # either of the GNU General Public License Version 2 or later (the "GPL"),
30 # or the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
31 # in which case the provisions of the GPL or the LGPL are applicable instead
32 # of those above. If you wish to allow use of your version of this file only
33 # under the terms of either the GPL or the LGPL, and not to allow others to
34 # use your version of this file under the terms of the MPL, indicate your
35 # decision by deleting the provisions above and replace them with the notice
36 # and other provisions required by the GPL or the LGPL. If you do not delete
37 # the provisions above, a recipient may use your version of this file under
38 # the terms of any one of the MPL, the GPL or the LGPL.
40 # ***** END LICENSE BLOCK *****
42 DEPTH = ../..
43 topsrcdir = @top_srcdir@
44 srcdir = @srcdir@
45 VPATH = @srcdir@
47 include $(DEPTH)/config/autoconf.mk
49 MODULE = xpinstall
50 LIBRARY_NAME = xpinstall
52 ifndef MOZ_ENABLE_LIBXUL
53 # Make this a true dynamic component even in static builds because
54 # this component is shared by installer
55 FORCE_SHARED_LIB = 1
56 BUILD_STATIC_LIBS=
57 SHORT_LIBNAME = xpinstal
58 else
59 EXPORT_LIBRARY = 1
60 endif
61 IS_COMPONENT = 1
62 MODULE_NAME = nsSoftwareUpdate
63 GRE_MODULE = 1
64 LIBXUL_LIBRARY = 1
66 PACKAGE_FILE = base.pkg
68 REQUIRES = xpcom \
69 string \
70 jar \
71 caps \
72 content \
73 necko \
74 js \
75 pref \
76 widget \
77 uriloader \
78 xpconnect \
79 dom \
80 windowwatcher \
81 appshell \
82 docshell \
83 layout \
84 chrome \
85 extensions \
86 pipnss \
87 pipboot \
88 $(ZLIB_REQUIRES) \
89 $(NULL)
91 # XXX shouldn't need to export this
92 EXPORTS = nsXPITriggerInfo.h
94 CPPSRCS = \
95 CertReader.cpp \
96 nsInstallTrigger.cpp \
97 nsJSInstallTriggerGlobal.cpp \
98 nsSoftwareUpdate.cpp \
99 nsXPITriggerInfo.cpp \
100 nsXPInstallManager.cpp \
101 nsXPIInstallInfo.cpp \
102 $(NULL)
104 LOCAL_INCLUDES = -I$(srcdir)/../public
106 EXTRA_DSO_LDOPTS = \
107 $(MOZ_JS_LIBS) \
108 $(MOZ_UNICHARUTIL_LIBS) \
109 $(MOZ_COMPONENT_LIBS) \
110 $(ZLIB_LIBS) \
111 $(NULL)
113 include $(topsrcdir)/config/rules.mk
115 ifeq ($(OS_ARCH)$(MOZ_ENABLE_LIBXUL),WINNT)
116 DEFINES += -DZLIB_DLL
117 endif