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
|
2001-09-18 17:41:47 +04:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
content \
|
|
|
|
rdf \
|
|
|
|
necko \
|
2001-10-03 04:43:30 +04:00
|
|
|
necko2 \
|
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 \
|
|
|
|
pref \
|
|
|
|
docshell \
|
|
|
|
webshell \
|
|
|
|
$(NULL)
|
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)autocomplete_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)bookmarks_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)directory_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)history_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) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)urlbarhistory_s.$(LIB_SUFFIX) \
|
2000-09-06 04:58:06 +04:00
|
|
|
$(NULL)
|
2000-09-05 22:49:53 +04:00
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
2000-09-06 04:58:06 +04:00
|
|
|
-I$(srcdir)/../autocomplete/src \
|
|
|
|
-I$(srcdir)/../bookmarks/src \
|
|
|
|
-I$(srcdir)/../directory \
|
|
|
|
-I$(srcdir)/../history/src \
|
|
|
|
-I$(srcdir)/../related/src \
|
|
|
|
-I$(srcdir)/../search/src \
|
|
|
|
-I$(srcdir)/../urlbarhistory/src \
|
|
|
|
$(NULL)
|
2000-09-05 22:49:53 +04:00
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
DEFINES += -DWIN32_LEAN_AND_MEAN
|
|
|
|
SHARED_LIBRARY_LIBS += \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)urlwidgt_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)winhooks_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
OS_LIBS += ole32.lib
|
|
|
|
LOCAL_INCLUDES += \
|
|
|
|
-I$(srcdir)/../urlwidget \
|
|
|
|
-I$(srcdir)/../winhooks \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2000-09-05 22:49:53 +04:00
|
|
|
EXTRA_DSO_LDOPTS = \
|
2000-09-07 11:54:05 +04:00
|
|
|
$(EXTRA_DSO_LIBS) \
|
2000-09-06 04:58:06 +04:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
2001-10-23 00:44:02 +04:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2000-09-06 04:58:06 +04:00
|
|
|
$(MOZ_JS_LIBS) \
|
|
|
|
$(NULL)
|
2000-09-05 22:49:53 +04:00
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
|