2012-01-11 14:10:55 +04: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 12:48:39 +04:00
|
|
|
ifndef MOZ_OLD_LINKER
|
2012-02-22 11:12:15 +04:00
|
|
|
HOST_PROGRAM = szip
|
|
|
|
|
|
|
|
HOST_CPPSRCS = \
|
|
|
|
szip.cpp \
|
|
|
|
Assertions.cpp \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
VPATH += $(topsrcdir)/mfbt
|
|
|
|
|
|
|
|
HOST_LIBS = -lz
|
|
|
|
|
2012-01-20 12:48:39 +04:00
|
|
|
CPPSRCS += \
|
|
|
|
ElfLoader.cpp \
|
2012-01-20 12:48:44 +04:00
|
|
|
CustomElf.cpp \
|
2012-01-20 12:48:44 +04:00
|
|
|
Mappable.cpp \
|
2012-01-20 12:48:39 +04:00
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
2012-01-11 14:10:55 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|