mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-31 22:25:30 +00:00
80 lines
1.6 KiB
Makefile
80 lines
1.6 KiB
Makefile
# 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/.
|
|
|
|
DEPTH = @DEPTH@
|
|
topsrcdir = @top_srcdir@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
MODULE = dom
|
|
LIBRARY_NAME = domfile_s
|
|
XPIDL_MODULE = dom_file
|
|
LIBXUL_LIBRARY = 1
|
|
FORCE_STATIC_LIB = 1
|
|
ifndef _MSC_VER
|
|
FAIL_ON_WARNINGS := 1
|
|
endif # !_MSC_VER
|
|
|
|
include $(topsrcdir)/dom/dom-config.mk
|
|
|
|
EXPORTS_NAMESPACES = mozilla/dom/file
|
|
|
|
CPPSRCS = \
|
|
AsyncHelper.cpp \
|
|
DOMFileHandle.cpp \
|
|
File.cpp \
|
|
FileHandle.cpp \
|
|
FileHelper.cpp \
|
|
FileRequest.cpp \
|
|
FileService.cpp \
|
|
FileStreamWrappers.cpp \
|
|
LockedFile.cpp \
|
|
MemoryStreams.cpp \
|
|
MetadataHelper.cpp \
|
|
ArchiveEvent.cpp \
|
|
ArchiveZipEvent.cpp \
|
|
ArchiveZipFile.cpp \
|
|
ArchiveReader.cpp \
|
|
ArchiveRequest.cpp \
|
|
$(NULL)
|
|
|
|
EXPORTS = \
|
|
nsIFileStorage.h \
|
|
$(NULL)
|
|
|
|
EXPORTS_mozilla/dom/file = \
|
|
DOMFileHandle.h \
|
|
File.h \
|
|
FileCommon.h \
|
|
FileHandle.h \
|
|
FileHelper.h \
|
|
FileService.h \
|
|
LockedFile.h \
|
|
ArchiveEvent.h \
|
|
ArchiveZipEvent.h \
|
|
ArchiveZipFile.h \
|
|
ArchiveReader.h \
|
|
ArchiveRequest.h \
|
|
$(NULL)
|
|
|
|
XPIDLSRCS = \
|
|
nsIDOMFileHandle.idl \
|
|
nsIDOMFileRequest.idl \
|
|
nsIDOMLockedFile.idl \
|
|
nsIDOMArchiveReader.idl \
|
|
nsIDOMArchiveRequest.idl \
|
|
$(NULL)
|
|
|
|
TEST_DIRS += test
|
|
|
|
include $(topsrcdir)/config/rules.mk
|
|
|
|
XPIDL_FLAGS += \
|
|
-I$(topsrcdir)/dom/base \
|
|
-I$(topsrcdir)/dom/interfaces/base \
|
|
-I$(topsrcdir)/dom/interfaces/events \
|
|
$(NULL)
|