2007-03-22 10:30:00 -07:00
|
|
|
#
|
2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2007-03-22 10:30:00 -07:00
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
include $(srcdir)/objs.mk
|
|
|
|
|
2007-09-16 16:48:03 -07:00
|
|
|
DIRS =
|
|
|
|
|
|
|
|
ifdef MOZ_ZIPWRITER
|
|
|
|
DIRS += zipwriter
|
|
|
|
endif
|
|
|
|
|
2007-03-22 10:30:00 -07:00
|
|
|
ifdef ENABLE_TESTS
|
|
|
|
TOOL_DIRS += test
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
MODULE = jar
|
|
|
|
LIBRARY_NAME = jar$(VERSION_NUMBER)
|
|
|
|
EXPORT_LIBRARY = 1
|
|
|
|
IS_COMPONENT = 1
|
|
|
|
MODULE_NAME = nsJarModule
|
|
|
|
GRE_MODULE = 1
|
|
|
|
LIBXUL_LIBRARY = 1
|
|
|
|
|
|
|
|
|
|
|
|
CPPSRCS = $(MODULES_LIBJAR_LCPPSRCS)
|
|
|
|
|
|
|
|
XPIDLSRCS = $(MODULES_LIBJAR_LXPIDLSRCS)
|
|
|
|
|
|
|
|
EXPORTS = $(MODULES_LIBJAR_LEXPORTS)
|
|
|
|
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
|
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
DEFINES += -DZLIB_DLL=1
|
|
|
|
endif
|