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/
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.
12
# The Original Code is mozilla.org code.
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
23
topsrcdir = @top_srcdir@
27
include $(DEPTH)/config/autoconf.mk
30
MODULE_NAME = appshell
32
LIBRARY_NAME = nsappshell
34
SHORT_LIBNAME = appshell
37
PACKAGE_FILE = appshell.pkg
66
REQUIRES += profilemanager
70
nsChromeTreeOwner.cpp \
71
nsContentTreeOwner.cpp \
73
nsAppShellService.cpp \
74
nsAppShellWindowEnumerator.cpp \
75
nsWebShellWindow.cpp \
76
nsCommandLineService.cpp \
77
nsWindowMediator.cpp \
79
nsAppShellFactory.cpp \
82
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
83
CPPSRCS += nsUserInfoOS2.cpp
85
ifeq ($(OS_ARCH),WINNT)
86
CPPSRCS += nsUserInfoWin.cpp
88
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
91
nsCommandLineServiceMac.cpp \
93
OS_CXXFLAGS += -fexceptions
94
EXTRA_COMPONENTS += nsCloseAllWindows.js
96
CPPSRCS += nsUserInfoUnix.cpp
101
EXTRA_COMPONENTS = nsCloseAllWindows.js
103
ifeq ($(OS_ARCH),WINNT)
104
EXTRA_DSO_LIBS = gkgfx
110
$(MOZ_UNICHARUTIL_LIBS) \
111
$(MOZ_COMPONENT_LIBS) \
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
121
include $(topsrcdir)/config/rules.mk