2002-09-28 04:38:20 +04:00
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Netscape Public
|
|
|
|
# License Version 1.1 (the "License"); you may not use this file
|
|
|
|
# except in compliance with the License. You may obtain a copy of
|
|
|
|
# the License at http://www.mozilla.org/NPL/
|
|
|
|
#
|
|
|
|
# Software distributed under the License is distributed on an "AS
|
|
|
|
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
|
|
|
|
# implied. See the License for the specific language governing
|
|
|
|
# rights and limitations under the License.
|
|
|
|
#
|
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
|
|
|
# Communications Corporation. Portions created by Netscape are
|
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
#
|
|
|
|
|
|
|
|
DEPTH=../../..
|
|
|
|
topsrcdir=@top_srcdir@
|
|
|
|
srcdir=@srcdir@
|
|
|
|
VPATH=@srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = toolkitcomps
|
|
|
|
LIBRARY_NAME = toolkitcomps
|
2002-10-05 06:54:35 +04:00
|
|
|
SHORT_LIBNAME = tkitcmps
|
2002-09-28 04:38:20 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
2002-11-24 08:59:39 +03:00
|
|
|
MODULE_NAME = nsToolkitCompsModule
|
2002-09-28 04:38:20 +04:00
|
|
|
|
2003-08-12 09:22:10 +04:00
|
|
|
REQUIRES = \
|
|
|
|
xpcom \
|
|
|
|
string \
|
2004-10-29 23:28:38 +04:00
|
|
|
widget \
|
2003-08-12 09:22:10 +04:00
|
|
|
layout \
|
|
|
|
dom \
|
|
|
|
mork \
|
|
|
|
pref \
|
|
|
|
rdf \
|
|
|
|
intl \
|
|
|
|
docshell \
|
|
|
|
autocomplete \
|
2004-10-29 23:28:38 +04:00
|
|
|
appcomps \
|
2003-11-27 03:54:33 +03:00
|
|
|
downloads \
|
2004-11-30 11:23:02 +03:00
|
|
|
fastfind \
|
2003-11-27 03:54:33 +03:00
|
|
|
mimetype \
|
|
|
|
webbrowserpersist \
|
|
|
|
progressDlg \
|
2003-08-12 09:22:10 +04:00
|
|
|
history \
|
|
|
|
satchel \
|
|
|
|
necko \
|
|
|
|
windowwatcher \
|
|
|
|
uriloader \
|
2003-12-09 08:55:09 +03:00
|
|
|
xpinstall \
|
2004-10-29 23:28:38 +04:00
|
|
|
xulapp \
|
|
|
|
embed_base \
|
2004-11-30 11:23:02 +03:00
|
|
|
embedcomponents \
|
|
|
|
content \
|
|
|
|
find \
|
|
|
|
gfx \
|
|
|
|
locale \
|
|
|
|
necko \
|
|
|
|
unicharutil \
|
|
|
|
view \
|
|
|
|
webshell \
|
|
|
|
webbrwsr \
|
|
|
|
xuldoc \
|
2003-08-12 09:22:10 +04:00
|
|
|
$(NULL)
|
2002-09-28 04:38:20 +04:00
|
|
|
|
2003-11-27 03:54:33 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
REQUIRES += alerts
|
|
|
|
endif
|
|
|
|
|
2002-09-28 04:38:20 +04:00
|
|
|
EXPORTS = nsToolkitCompsCID.h
|
|
|
|
|
2003-08-12 09:22:10 +04:00
|
|
|
CPPSRCS = nsModule.cpp
|
2002-09-28 04:38:20 +04:00
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
2003-08-12 09:22:10 +04:00
|
|
|
-I$(srcdir)/../autocomplete/src \
|
2003-11-27 03:54:33 +03:00
|
|
|
-I$(srcdir)/../downloads/src \
|
2003-08-12 09:22:10 +04:00
|
|
|
-I$(srcdir)/../history/src \
|
|
|
|
-I$(srcdir)/../satchel/src \
|
|
|
|
-I$(srcdir)/../passwordmgr/base \
|
2004-10-29 23:28:38 +04:00
|
|
|
-I$(srcdir)/../startup/src \
|
2004-11-30 11:23:02 +03:00
|
|
|
-I$(srcdir)/../typeaheadfind/src \
|
2003-08-12 09:22:10 +04:00
|
|
|
$(NULL)
|
2002-09-28 04:38:20 +04:00
|
|
|
|
2003-11-27 03:54:33 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../alerts/src
|
|
|
|
endif
|
|
|
|
|
2002-09-28 04:38:20 +04:00
|
|
|
SHARED_LIBRARY_LIBS = \
|
2004-10-29 23:28:38 +04:00
|
|
|
../startup/src/$(LIB_PREFIX)appstartup_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
|
2004-11-28 23:36:27 +03:00
|
|
|
ifneq (,$(MOZ_PHOENIX)$(MOZ_SUNBIRD))
|
2004-10-29 23:28:38 +04:00
|
|
|
SHARED_LIBRARY_LIBS += \
|
2002-09-28 04:38:20 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)autocomplete_s.$(LIB_SUFFIX) \
|
2003-11-27 03:54:33 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)download_s.$(LIB_SUFFIX) \
|
2002-09-29 01:46:52 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)history_s.$(LIB_SUFFIX) \
|
2002-09-28 04:38:20 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)satchel_s.$(LIB_SUFFIX) \
|
2003-08-12 09:22:10 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)passwordmgr_s.$(LIB_SUFFIX) \
|
2004-11-30 11:23:02 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)fastfind_s.$(LIB_SUFFIX) \
|
2002-09-28 04:38:20 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2003-11-27 03:54:33 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
SHARED_LIBRARY_LIBS += $(DIST)/lib/$(LIB_PREFIX)alerts_s.$(LIB_SUFFIX)
|
|
|
|
endif
|
|
|
|
|
2002-09-28 04:38:20 +04:00
|
|
|
EXTRA_DSO_LIBS = gkgfx
|
2004-10-29 23:28:38 +04:00
|
|
|
endif # MOZ_PHOENIX
|
2002-09-28 04:38:20 +04:00
|
|
|
|
|
|
|
EXTRA_DSO_LDOPTS += \
|
2003-01-10 02:41:15 +03:00
|
|
|
$(LIBS_DIR) \
|
2002-09-28 04:38:20 +04:00
|
|
|
$(EXTRA_DSO_LIBS) \
|
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
|
|
|
$(MOZ_JS_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
|
2004-10-29 23:28:38 +04:00
|
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
EXTRA_DSO_LDOPTS += $(TK_LIBS)
|
|
|
|
endif
|
|
|
|
|
2002-09-28 04:38:20 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|