1999-08-04 01:40:56 +04:00
|
|
|
#
|
1999-11-06 06:40:37 +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-04-25 23:25:24 +04:00
|
|
|
#
|
1999-11-06 06:40:37 +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-04-25 23:25:24 +04:00
|
|
|
#
|
1999-11-06 06:40:37 +03:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1999-04-25 23:25:24 +04:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 06:40:37 +03:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-08-04 01:40:56 +04:00
|
|
|
#
|
1999-04-25 23:25:24 +04:00
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
DEPTH = ../..
|
1999-04-25 23:25:24 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
MODULE = necko
|
|
|
|
LIBRARY_NAME = necko
|
2001-04-28 23:48:12 +04:00
|
|
|
EXPORT_LIBRARY = 1
|
1999-08-04 01:40:56 +04:00
|
|
|
IS_COMPONENT = 1
|
2001-06-21 00:21:49 +04:00
|
|
|
MODULE_NAME = necko_core_and_primary_protocols
|
2001-09-18 17:41:47 +04:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
nkcache \
|
|
|
|
pref \
|
|
|
|
mimetype \
|
|
|
|
util \
|
|
|
|
jar \
|
|
|
|
locale \
|
|
|
|
intl \
|
2001-10-03 04:43:30 +04:00
|
|
|
uconv \
|
2001-12-05 04:09:38 +03:00
|
|
|
caps \
|
2001-09-18 17:41:47 +04:00
|
|
|
$(ZLIB_REQUIRES) \
|
|
|
|
$(NULL)
|
1999-04-25 23:25:24 +04:00
|
|
|
|
1999-10-01 01:22:48 +04:00
|
|
|
CPPSRCS = nsNetModule.cpp
|
2001-01-24 01:10:34 +03:00
|
|
|
EXPORTS = nsNetCID.h
|
1999-04-25 23:25:24 +04:00
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
SHARED_LIBRARY_LIBS = \
|
2001-12-15 02:49:04 +03:00
|
|
|
$(DIST)/lib/$(LIB_PREFIX)neckobase_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)neckodns_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)neckosocket_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)nkconv_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)nkcnvts_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)nkmime_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)nkhttp_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)nkfile_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)nkdata_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)nkjar_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)nkres_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)nkabout_s.$(LIB_SUFFIX) \
|
|
|
|
$(DIST)/lib/$(LIB_PREFIX)nkkwd_s.$(LIB_SUFFIX) \
|
1999-08-04 01:40:56 +04:00
|
|
|
$(NULL)
|
1999-04-25 23:25:24 +04:00
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
LOCAL_INCLUDES = \
|
|
|
|
-I$(srcdir)/../base/src \
|
|
|
|
-I$(srcdir)/../dns/src \
|
1999-08-24 08:54:03 +04:00
|
|
|
-I$(srcdir)/../socket/base \
|
2000-05-06 13:15:56 +04:00
|
|
|
-I$(srcdir)/../streamconv/src \
|
|
|
|
-I$(srcdir)/../streamconv/converters \
|
|
|
|
-I$(srcdir)/../mime/src \
|
|
|
|
-I$(srcdir)/../protocol/http/src \
|
|
|
|
-I$(srcdir)/../protocol/file/src \
|
|
|
|
-I$(srcdir)/../protocol/data/src \
|
|
|
|
-I$(srcdir)/../protocol/jar/src \
|
|
|
|
-I$(srcdir)/../protocol/res/src \
|
|
|
|
-I$(srcdir)/../protocol/about/src \
|
|
|
|
-I$(srcdir)/../protocol/keyword/src \
|
1999-08-04 01:40:56 +04:00
|
|
|
$(NULL)
|
1999-06-10 00:39:08 +04:00
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
ifeq ($(MOZ_WIDGET_TOOLKIT),os2)
|
|
|
|
EXTRA_DSO_LIBS += mozdbm_s
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_PERF_METRICS
|
|
|
|
EXTRA_DSO_LIBS += mozutil_s
|
|
|
|
endif
|
|
|
|
|
1999-08-04 01:40:56 +04:00
|
|
|
EXTRA_DSO_LDOPTS = \
|
2001-12-18 12:14:29 +03:00
|
|
|
$(LIBS_DIR) \
|
2001-12-19 01:19:21 +03:00
|
|
|
$(EXTRA_DSO_LIBS) \
|
1999-11-16 09:02:31 +03:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
2001-10-23 00:44:02 +04:00
|
|
|
$(MOZ_UNICHARUTIL_LIBS) \
|
2000-05-20 08:29:55 +04:00
|
|
|
$(ZLIB_LIBS) \
|
1999-08-04 01:40:56 +04:00
|
|
|
$(NULL)
|
1999-04-25 23:25:24 +04:00
|
|
|
|
1999-06-27 09:47:04 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2001-12-15 02:49:04 +03:00
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
DEFINES += -DWIN32_LEAN_AND_MEAN
|
|
|
|
endif
|