1999-06-10 22:08:59 +00:00
|
|
|
#
|
1999-11-06 03:43:54 +00: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-06-10 22:08:59 +00:00
|
|
|
#
|
1999-11-06 03:43:54 +00: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-06-10 22:08:59 +00:00
|
|
|
#
|
1999-11-06 03:43:54 +00:00
|
|
|
# The Original Code is mozilla.org code.
|
|
|
|
#
|
|
|
|
# The Initial Developer of the Original Code is Netscape
|
1999-06-10 22:08:59 +00:00
|
|
|
# Communications Corporation. Portions created by Netscape are
|
1999-11-06 03:43:54 +00:00
|
|
|
# Copyright (C) 1998 Netscape Communications Corporation. All
|
|
|
|
# Rights Reserved.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
1999-09-08 00:24:27 +00:00
|
|
|
#
|
1999-06-10 22:08:59 +00:00
|
|
|
|
1999-09-08 00:24:27 +00:00
|
|
|
DEPTH = ../..
|
1999-06-10 22:08:59 +00:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
1999-09-08 00:24:27 +00:00
|
|
|
MODULE = cookie
|
|
|
|
LIBRARY_NAME = cookie
|
2001-04-28 19:48:12 +00:00
|
|
|
EXPORT_LIBRARY = 1
|
1999-09-08 00:24:27 +00:00
|
|
|
IS_COMPONENT = 1
|
2001-06-20 20:21:49 +00:00
|
|
|
MODULE_NAME = nsCookieModule
|
2001-09-18 13:41:47 +00:00
|
|
|
REQUIRES = xpcom \
|
|
|
|
string \
|
|
|
|
necko \
|
|
|
|
dom \
|
|
|
|
widget \
|
|
|
|
content \
|
|
|
|
pref \
|
|
|
|
intl \
|
|
|
|
uriloader \
|
|
|
|
windowwatcher \
|
|
|
|
$(NULL)
|
1999-06-10 22:08:59 +00:00
|
|
|
|
1999-07-03 08:39:50 +00:00
|
|
|
ifdef ENABLE_TESTS
|
1999-09-08 00:24:27 +00:00
|
|
|
DIRS = tests
|
1999-07-03 08:39:50 +00:00
|
|
|
endif
|
|
|
|
|
1999-09-08 00:24:27 +00:00
|
|
|
CPPSRCS = \
|
2001-03-29 02:11:48 +00:00
|
|
|
nsModuleFactory.cpp \
|
1999-09-08 00:24:27 +00:00
|
|
|
nsCookie.cpp \
|
2001-03-29 02:11:48 +00:00
|
|
|
nsPermission.cpp \
|
|
|
|
nsCookieManager.cpp \
|
|
|
|
nsCookieService.cpp \
|
|
|
|
nsImgManager.cpp \
|
|
|
|
nsPermissionManager.cpp \
|
|
|
|
nsCookies.cpp \
|
|
|
|
nsImages.cpp \
|
|
|
|
nsPermissions.cpp \
|
|
|
|
nsUtils.cpp \
|
1999-09-08 00:24:27 +00:00
|
|
|
nsCookieHTTPNotify.cpp \
|
|
|
|
$(NULL)
|
1999-06-10 22:08:59 +00:00
|
|
|
|
2001-03-29 02:11:48 +00:00
|
|
|
XPIDLSRCS = \
|
|
|
|
nsICookieManager.idl \
|
2002-02-15 03:01:32 +00:00
|
|
|
nsICookieConsent.idl \
|
2001-03-29 02:11:48 +00:00
|
|
|
nsIImgManager.idl \
|
|
|
|
nsIPermissionManager.idl \
|
|
|
|
nsICookie.idl \
|
|
|
|
nsIPermission.idl \
|
|
|
|
$(NULL)
|
|
|
|
|
1999-09-08 00:24:27 +00:00
|
|
|
EXPORTS = \
|
|
|
|
nsCookieHTTPNotify.h \
|
2002-03-16 02:16:23 +00:00
|
|
|
nsCCookie.h \
|
|
|
|
nsCCookieManager.h \
|
1999-09-08 00:24:27 +00:00
|
|
|
$(NULL)
|
1999-06-10 22:08:59 +00:00
|
|
|
|
1999-09-08 00:24:27 +00:00
|
|
|
EXTRA_DSO_LDOPTS = \
|
2001-12-18 09:14:29 +00:00
|
|
|
$(MOZ_COMPONENT_LIBS) \
|
1999-09-08 00:24:27 +00:00
|
|
|
$(NULL)
|
1999-08-05 13:38:57 +00:00
|
|
|
|
1999-06-10 22:08:59 +00:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
1999-09-11 01:34:27 +00:00
|
|
|
|
2001-12-18 09:14:29 +00:00
|
|
|
DEFINES += -D_IMPL_NS_COOKIE
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
DEFINES += -DWIN32_LEAN_AND_MEAN
|
|
|
|
endif
|
|
|
|
|