Bug 634734 - Fennec ASSERTION: mFUnitsConvFactor not valid: mFUnitsConvFactor > 0...
[mozilla-central.git] / chrome / src / Makefile.in
blob8d6426641c4c9e5b67feecb6f619b61840fcce6c
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 = chrome
46 LIBRARY_NAME = chrome_s
47 LIBXUL_LIBRARY = 1
48 FORCE_STATIC_LIB = 1
49 FORCE_USE_PIC = 1
51 EXPORTS_NAMESPACES = mozilla/chrome
53 EXPORTS_mozilla/chrome = \
54 RegistryMessageUtils.h \
55 $(NULL)
57 CPPSRCS = \
58 nsChromeRegistry.cpp \
59 nsChromeRegistryChrome.cpp \
60 nsChromeProtocolHandler.cpp \
61 $(NULL)
63 ifdef MOZ_IPC
64 CPPSRCS += nsChromeRegistryContent.cpp
65 endif
67 EXTRA_DSO_LDOPTS = \
68 $(MOZ_UNICHARUTIL_LIBS) \
69 $(MOZ_COMPONENT_LIBS) \
70 $(NULL)
72 ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
73 EXTRA_DSO_LDOPTS += $(MOZ_GTK2_LIBS)
74 endif
76 ifeq (cocoa,$(MOZ_WIDGET_TOOLKIT))
77 EXTRA_DSO_LDOPTS += $(TK_LIBS)
78 endif
80 include $(topsrcdir)/config/config.mk
81 include $(topsrcdir)/ipc/chromium/chromium-config.mk
82 include $(topsrcdir)/config/rules.mk
84 LOCAL_INCLUDES += \
85 -I$(topsrcdir)/netwerk/protocol/res \
86 -I$(topsrcdir)/netwerk/base/src \
87 $(NULL)
89 ifneq (,$(filter gtk2,$(MOZ_WIDGET_TOOLKIT)))
90 CXXFLAGS += $(MOZ_GTK2_CFLAGS)
91 endif
93 LOCAL_INCLUDES += \
94 -I$(topsrcdir)/xpcom/components \
95 -I$(DEPTH)/xpcom \
96 $(NULL)