зеркало из https://github.com/mozilla/pjs.git
58 строки
1.5 KiB
Makefile
58 строки
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 = xpcom string necko dbm pref exthandler mimetype
|
|
|
|
SHARED_LIBRARY_LIBS = $(DIST)/lib/libmozdbm_s.$(LIB_SUFFIX)
|
|
|
|
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.
|
|
FORCE_STATIC_LIB = 1
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|