conditionally compiling new cache. r=dougt/a=gagan

This commit is contained in:
dougt%netscape.com 2001-02-27 03:16:59 +00:00
Родитель 139065f68c
Коммит 4e26add3c6
2 изменённых файлов: 18 добавлений и 2 удалений

8
netwerk/cache/Makefile.in поставляемый
Просмотреть файл

@ -26,12 +26,16 @@ VPATH = @srcdir@
include $(DEPTH)/config/autoconf.mk
DIRS = \
DIRS = \
public \
memcache \
filecache \
mgr \
$(NULL)
$(NULL)
ifdef MOZ_NEW_CACHE
DIRS += src
endif
include $(topsrcdir)/config/rules.mk

12
netwerk/cache/public/Makefile.in поставляемый
Просмотреть файл

@ -36,7 +36,19 @@ XPIDLSRCS = \
nsINetDataCacheRecord.idl \
nsINetDataDiskCache.idl \
nsIStreamAsFile.idl \
$(NULL)
ifdef MOZ_NEW_CACHE
XPIDLSRCS += \
nsICache.idl \
nsICacheEntryDescriptor.idl \
nsICacheListener.idl \
nsICacheService.idl \
nsICacheSession.idl \
nsICacheVisitor.idl \
$(NULL)
endif
EXPORTS := $(addprefix $(srcdir)/, $(EXPORTS))