~ubuntu-branches/ubuntu/precise/kompozer/precise

« back to all changes in this revision

Viewing changes to mozilla/xpfe/appshell/src/Makefile.in

  • Committer: Bazaar Package Importer
  • Author(s): Anthony Yarusso
  • Date: 2007-08-27 01:11:03 UTC
  • Revision ID: james.westby@ubuntu.com-20070827011103-2jgf4s6532gqu2ka
Tags: upstream-0.7.10
ImportĀ upstreamĀ versionĀ 0.7.10

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# The contents of this file are subject to the Netscape Public
 
3
# License Version 1.1 (the "License"); you may not use this file
 
4
# except in compliance with the License. You may obtain a copy of
 
5
# the License at http://www.mozilla.org/NPL/
 
6
#
 
7
# Software distributed under the License is distributed on an "AS
 
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
 
9
# implied. See the License for the specific language governing
 
10
# rights and limitations under the License.
 
11
#
 
12
# The Original Code is mozilla.org code.
 
13
#
 
14
# The Initial Developer of the Original Code is Netscape
 
15
# Communications Corporation.  Portions created by Netscape are
 
16
# Copyright (C) 1998 Netscape Communications Corporation. All
 
17
# Rights Reserved.
 
18
#
 
19
# Contributor(s): 
 
20
#
 
21
 
 
22
DEPTH           = ../../..
 
23
topsrcdir       = @top_srcdir@
 
24
srcdir          = @srcdir@
 
25
VPATH           = @srcdir@
 
26
 
 
27
include $(DEPTH)/config/autoconf.mk
 
28
 
 
29
IS_COMPONENT=1
 
30
MODULE_NAME     = appshell
 
31
MODULE          = appshell
 
32
LIBRARY_NAME    = nsappshell
 
33
EXPORT_LIBRARY  = 1
 
34
SHORT_LIBNAME   = appshell
 
35
GRE_MODULE      = 1
 
36
 
 
37
PACKAGE_FILE = appshell.pkg
 
38
 
 
39
REQUIRES        = xpcom \
 
40
                  string \
 
41
                  widget \
 
42
                  docshell \
 
43
                  webshell \
 
44
                  gfx \
 
45
                  layout \
 
46
                  content \
 
47
                  dom \
 
48
                  necko \
 
49
                  uriloader \
 
50
                  js \
 
51
                  locale \
 
52
                  webbrwsr \
 
53
                  pref \
 
54
                  xpconnect \
 
55
                  intl \
 
56
                  windowwatcher \
 
57
                  browser \
 
58
                  caps \
 
59
                  profile \
 
60
                  unicharutil \
 
61
                  uconv \
 
62
                  exthandler \
 
63
                  $(NULL)
 
64
 
 
65
ifdef MOZ_PHOENIX
 
66
REQUIRES += profilemanager
 
67
endif
 
68
 
 
69
CPPSRCS         = \
 
70
                nsChromeTreeOwner.cpp \
 
71
                nsContentTreeOwner.cpp \
 
72
                nsXULWindow.cpp \
 
73
                nsAppShellService.cpp \
 
74
                nsAppShellWindowEnumerator.cpp \
 
75
                nsWebShellWindow.cpp \
 
76
                nsCommandLineService.cpp \
 
77
                nsWindowMediator.cpp \
 
78
                nsAbout.cpp \
 
79
                nsAppShellFactory.cpp \
 
80
                $(NULL)
 
81
 
 
82
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
 
83
CPPSRCS += nsUserInfoOS2.cpp
 
84
else
 
85
ifeq ($(OS_ARCH),WINNT)
 
86
CPPSRCS += nsUserInfoWin.cpp
 
87
else
 
88
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
 
89
CPPSRCS += \
 
90
                nsUserInfoMac.cpp \
 
91
                nsCommandLineServiceMac.cpp \
 
92
                $(NULL)
 
93
OS_CXXFLAGS += -fexceptions
 
94
EXTRA_COMPONENTS += nsCloseAllWindows.js
 
95
else
 
96
CPPSRCS += nsUserInfoUnix.cpp
 
97
endif
 
98
endif
 
99
endif
 
100
 
 
101
EXTRA_COMPONENTS = nsCloseAllWindows.js
 
102
 
 
103
ifeq ($(OS_ARCH),WINNT)
 
104
EXTRA_DSO_LIBS  = gkgfx
 
105
endif
 
106
 
 
107
EXTRA_DSO_LDOPTS = \
 
108
                $(LIBS_DIR) \
 
109
                $(EXTRA_DSO_LIBS) \
 
110
                $(MOZ_UNICHARUTIL_LIBS) \
 
111
                $(MOZ_COMPONENT_LIBS) \
 
112
                $(MOZ_JS_LIBS) \
 
113
                $(NULL)
 
114
 
 
115
ifeq (,$(filter-out mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
 
116
SHARED_LIBRARY_LIBS = $(DIST)/lib/$(LIB_PREFIX)appleevents_s.$(LIB_SUFFIX)
 
117
EXTRA_DSO_LDOPTS += $(TK_LIBS) 
 
118
LOCAL_INCLUDES  = -I$(srcdir)/../../bootstrap/appleevents
 
119
endif
 
120
 
 
121
include $(topsrcdir)/config/rules.mk
 
122