1999-11-02 22:09:50 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03: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/
|
1999-11-02 22:09:50 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# 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.
|
1999-11-02 22:09:50 +03:00
|
|
|
#
|
1999-11-06 06:43:54 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1999-11-02 22:09:50 +03:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:43:54 +03:00
|
|
|
# Copyright (C) 1999 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-11-02 22:09:50 +03:00
|
|
|
#
|
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = uriloader
|
|
|
|
LIBRARY_NAME = uriloader
|
2001-04-28 23:48:12 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
2001-01-18 18:53:33 +03:00
|
|
|
SHORT_LIBNAME = urildr
|
1999-11-02 22:09:50 +03:00
|
|
|
IS_COMPONENT = 1
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = nsURILoaderModule
|
2001-09-18 17:41:47 +04:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
necko \
|
|
|
|
mimetype \
|
|
|
|
exthandler \
|
2002-09-02 04:21:48 +04:00
|
|
|
prefetch \
|
2001-09-18 17:41:47 +04:00
|
|
|
rdf \
|
|
|
|
helperAppDlg \
|
|
|
|
dom \
|
2002-08-12 23:23:22 +04:00
|
|
|
uconv \
|
2002-09-02 04:21:48 +04:00
|
|
|
htmlparser \
|
2001-09-18 17:41:47 +04:00
|
|
|
$(NULL)
|
1999-11-02 22:09:50 +03:00
|
|
|
|
|
|
|
CPPSRCS = nsURILoaderModule.cpp
|
|
|
|
|
|
|
|
SHARED_LIBRARY_LIBS = \
|
2001-12-15 02:49:04 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)uriloaderbase_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)exthandler_s.$(LIB_SUFFIX) \
|
2002-09-02 04:21:48 +04:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)prefetch_s.$(LIB_SUFFIX) \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../prefetch \
|
1999-11-02 22:09:50 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2002-10-01 05:00:09 +04:00
|
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
LOCAL_INCLUDES += -I$(srcdir)/../exthandler/mac
|
|
|
|
endif
|
|
|
|
|
1999-11-02 22:09:50 +03:00
|
|
|
EXTRA_DSO_LDOPTS = \
|
2001-12-18 12:14:29 +03:00
|
|
|
$(LIBS_DIR) \
|
2000-04-04 11:37:50 +04:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
2001-10-30 02:14:05 +03:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2001-02-05 17:11:15 +03:00
|
|
|
$(MOZ_JS_LIBS) \
|
1999-11-02 22:09:50 +03:00
|
|
|
$(NULL)
|
|
|
|
|
2002-10-01 05:00:09 +04:00
|
|
|
ifneq (,$(filter mac cocoa,$(MOZ_WIDGET_TOOLKIT)))
|
|
|
|
EXTRA_DSO_LDOPTS += \
|
|
|
|
$(TK_LIBS) \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
OS_LIBS += shell32.lib
|
|
|
|
endif
|
|
|
|
|
1999-11-02 22:09:50 +03:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|