2012-01-11 02:10:55 -08: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/.
|
|
|
|
|
|
|
|
DEPTH = ../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
|
|
|
|
|
|
|
MODULE = mozglue
|
|
|
|
LIBRARY_NAME = linker
|
|
|
|
FORCE_STATIC_LIB= 1
|
|
|
|
STL_FLAGS =
|
|
|
|
|
|
|
|
CPPSRCS = \
|
|
|
|
Zip.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
2012-01-20 00:48:39 -08:00
|
|
|
ifndef MOZ_OLD_LINKER
|
2012-02-21 23:12:15 -08:00
|
|
|
HOST_PROGRAM = szip
|
|
|
|
|
|
|
|
HOST_CPPSRCS = \
|
|
|
|
szip.cpp \
|
|
|
|
Assertions.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
VPATH += $(topsrcdir)/mfbt
|
|
|
|
|
|
|
|
HOST_LIBS = -lz
|
|
|
|
|
2012-01-20 00:48:39 -08:00
|
|
|
CPPSRCS += \
|
|
|
|
ElfLoader.cpp \
|
2012-01-20 00:48:44 -08:00
|
|
|
CustomElf.cpp \
|
2012-01-20 00:48:44 -08:00
|
|
|
Mappable.cpp \
|
2012-02-21 23:12:15 -08:00
|
|
|
SeekableZStream.cpp \
|
2012-01-20 00:48:39 -08:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2012-01-11 02:10:55 -08:00
|
|
|
include $(topsrcdir)/config/rules.mk
|