зеркало из https://github.com/mozilla/gecko-dev.git
61 строка
1.5 KiB
Makefile
61 строка
1.5 KiB
Makefile
#
|
|
# The contents of this file are subject to the Mozilla 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/MPL/
|
|
#
|
|
# 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 Communicator.
|
|
#
|
|
# The Initial Developer of the Original Code is Intel Corp.
|
|
# Portions created by Intel Corp. are
|
|
# Copyright (C) 1999, 1999 Intel Corp. All
|
|
# Rights Reserved.
|
|
#
|
|
# Contributor(s): Yixiong Zou <yixiong.zou@intel.com>
|
|
# Carl Wong <carl.wong@intel.com>
|
|
#
|
|
|
|
DEPTH = ../../..
|
|
topsrcdir = @top_srcdir@
|
|
VPATH = @srcdir@
|
|
srcdir = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = nkcache
|
|
|
|
LIBRARY_NAME = nkfilecache_s
|
|
|
|
REQUIRES = nspr dbm
|
|
|
|
EXTRA_DSO_LDOPTS += -L$(DIST)/lib -lmozdbm_s
|
|
|
|
EXPORTS=nsNetDiskCacheCID.h \
|
|
nsNetDiskCache.h \
|
|
nsIDBAccessor.h \
|
|
nsDBAccessor.h \
|
|
$(NULL)
|
|
|
|
CPPSRCS = \
|
|
nsDBAccessor.cpp\
|
|
nsDBEnumerator.cpp \
|
|
nsNetDiskCache.cpp \
|
|
nsDiskCacheRecord.cpp \
|
|
nsDiskCacheRecordChannel.cpp \
|
|
$(NULL)
|
|
|
|
EXTRA_LIBS = $(NSPR_LIBS)
|
|
|
|
# we don't want the shared lib, but we want to force the creation of a
|
|
# static lib.
|
|
override NO_SHARED_LIB=1
|
|
override NO_STATIC_LIB=
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|