2000-09-05 22:49:53 +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 = appcomps
|
|
|
|
LIBRARY_NAME = appcomps
|
2001-04-28 23:48:12 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
2000-09-05 22:49:53 +04:00
|
|
|
IS_COMPONENT = 1
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = application
|
2002-09-28 11:25:15 +04:00
|
|
|
|
2001-09-18 17:41:47 +04:00
|
|
|
REQUIRES = xpcom \
|
2003-03-15 04:04:32 +03:00
|
|
|
xpcom_obsolete \
|
2001-09-18 17:41:47 +04:00
|
|
|
string \
|
|
|
|
content \
|
|
|
|
rdf \
|
|
|
|
necko \
|
2001-12-01 11:34:11 +03:00
|
|
|
nkcache \
|
2001-09-18 17:41:47 +04:00
|
|
|
intl \
|
2001-10-03 01:30:28 +04:00
|
|
|
locale \
|
2001-09-18 17:41:47 +04:00
|
|
|
mork \
|
|
|
|
widget \
|
|
|
|
dom \
|
2003-07-14 02:29:00 +04:00
|
|
|
uriloader \
|
|
|
|
mimetype \
|
|
|
|
webbrowserpersist \
|
|
|
|
progressDlg \
|
2001-09-18 17:41:47 +04:00
|
|
|
pref \
|
|
|
|
docshell \
|
|
|
|
webshell \
|
2002-06-27 02:34:09 +04:00
|
|
|
appshell \
|
2002-09-19 23:00:13 +04:00
|
|
|
browser \
|
2003-04-08 12:51:49 +04:00
|
|
|
txmgr \
|
2003-05-30 02:11:23 +04:00
|
|
|
chardet \
|
2001-09-18 17:41:47 +04:00
|
|
|
$(NULL)
|
2000-09-05 22:49:53 +04:00
|
|
|
|
2002-09-28 11:25:15 +04:00
|
|
|
ifndef MOZ_PHOENIX
|
|
|
|
REQUIRES += history downloadmanager
|
|
|
|
endif
|
|
|
|
|
2000-09-05 22:49:53 +04:00
|
|
|
CPPSRCS = nsModule.cpp
|
|
|
|
|
2001-05-03 02:17:22 +04:00
|
|
|
ifdef MOZ_LDAP_XPCOM
|
|
|
|
REQUIRES += mozldap
|
|
|
|
DEFINES += -DMOZ_LDAP_XPCOM
|
|
|
|
endif
|
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
ifdef MOZ_PERF_METRICS
|
|
|
|
EXTRA_DSO_LIBS += mozutil_s
|
|
|
|
endif
|
|
|
|
|
2000-09-05 22:49:53 +04:00
|
|
|
SHARED_LIBRARY_LIBS = \
|
2001-12-15 02:49:04 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)directory_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)appcompintl_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)related_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)search_s.$(LIB_SUFFIX) \
|
2002-06-27 02:34:09 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)windowds_s.$(LIB_SUFFIX) \
|
2002-09-19 23:00:13 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)mozbrwsr_s.$(LIB_SUFFIX) \
|
2000-09-06 04:58:06 +04:00
|
|
|
$(NULL)
|
2000-09-05 22:49:53 +04:00
|
|
|
|
2002-09-28 05:34:20 +04:00
|
|
|
ifndef MOZ_PHOENIX
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
2003-04-13 04:41:23 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)bookmarks_s.$(LIB_SUFFIX) \
|
2002-09-28 05:34:20 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)downloadmanager_s.$(LIB_SUFFIX) \
|
2002-09-28 11:25:15 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)autocomplete_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)history_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)urlbarhistory_s.$(LIB_SUFFIX) \
|
2003-11-28 09:47:14 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2003-11-28 09:24:37 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)alerts_s.$(LIB_SUFFIX) \
|
2003-11-28 09:47:14 +03:00
|
|
|
endif
|
2002-09-28 11:25:15 +04:00
|
|
|
$(NULL)
|
2002-09-28 05:34:20 +04:00
|
|
|
endif
|
|
|
|
|
2000-09-05 22:49:53 +04:00
|
|
|
LOCAL_INCLUDES = \
|
2000-09-06 04:58:06 +04:00
|
|
|
-I$(srcdir)/../directory \
|
|
|
|
-I$(srcdir)/../related/src \
|
|
|
|
-I$(srcdir)/../search/src \
|
2002-06-27 02:34:09 +04:00
|
|
|
-I$(srcdir)/../windowds \
|
2002-09-19 23:00:13 +04:00
|
|
|
-I$(srcdir)/../../browser/src \
|
2000-09-06 04:58:06 +04:00
|
|
|
$(NULL)
|
2000-09-05 22:49:53 +04:00
|
|
|
|
2002-09-28 11:25:15 +04:00
|
|
|
ifndef MOZ_PHOENIX
|
|
|
|
LOCAL_INCLUDES += \
|
2003-04-13 04:41:23 +04:00
|
|
|
-I$(srcdir)/../bookmarks/src \
|
2002-09-28 11:25:15 +04:00
|
|
|
-I$(srcdir)/../autocomplete/src \
|
|
|
|
-I$(srcdir)/../history/src \
|
|
|
|
-I$(srcdir)/../urlbarhistory/src \
|
|
|
|
-I$(srcdir)/../download-manager/src \
|
2003-11-28 09:47:14 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2003-11-28 09:24:37 +03:00
|
|
|
-I$(srcdir)/../alerts/src \
|
2003-11-28 09:47:14 +03:00
|
|
|
endif
|
2002-09-28 11:25:15 +04:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
2002-09-28 11:25:15 +04:00
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)winhooks_s.$(LIB_SUFFIX) \
|
2003-03-08 08:57:15 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)urlwidgt_s.$(LIB_SUFFIX) \
|
2001-12-18 12:14:29 +03:00
|
|
|
$(NULL)
|
2002-09-28 11:25:15 +04:00
|
|
|
|
2003-03-08 08:57:15 +03:00
|
|
|
|
|
|
|
OS_LIBS += $(call EXPAND_LIBNAME,ole32 shell32)
|
2002-09-28 11:25:15 +04:00
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(srcdir)/../urlwidget \
|
|
|
|
-I$(srcdir)/../winhooks \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2000-09-05 22:49:53 +04:00
|
|
|
EXTRA_DSO_LDOPTS = \
|
2003-01-03 11:58:59 +03:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2000-09-06 04:58:06 +04:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
2003-03-15 04:04:32 +03:00
|
|
|
$(MOZ_XPCOM_OBSOLETE_LIBS) \
|
2001-12-19 18:55:33 +03:00
|
|
|
$(EXTRA_DSO_LIBS) \
|
2000-09-06 04:58:06 +04:00
|
|
|
$(MOZ_JS_LIBS) \
|
|
|
|
$(NULL)
|
2000-09-05 22:49:53 +04:00
|
|
|
|
2003-01-03 11:58:59 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|