2012-05-29 19:52:43 +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/.
|
2010-07-16 19:52:01 +04:00
|
|
|
|
2012-08-04 22:26:44 +04:00
|
|
|
DEPTH = @DEPTH@
|
2010-07-16 19:52:01 +04:00
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
|
|
|
VPATH = @srcdir@
|
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
2010-10-15 22:27:57 +04:00
|
|
|
|
2011-09-03 10:19:06 +04:00
|
|
|
MODULE = android
|
|
|
|
LIBRARY_NAME = android
|
|
|
|
FORCE_STATIC_LIB = 1
|
2010-10-15 22:27:57 +04:00
|
|
|
|
2012-01-11 14:10:59 +04:00
|
|
|
CSRCS =
|
|
|
|
|
|
|
|
ifdef MOZ_OLD_LINKER
|
2010-10-15 22:27:57 +04:00
|
|
|
DEFINES += \
|
|
|
|
-DLINKER_DEBUG=0 \
|
|
|
|
-DLINKER_TEXT_BASE=0xB0001000 \
|
|
|
|
-DLINKER_AREA_SIZE=0x01000000 \
|
|
|
|
$(NULL)
|
|
|
|
|
2011-09-29 08:39:03 +04:00
|
|
|
ifeq ($(CPU_ARCH),arm)
|
|
|
|
DEFINES += -DANDROID_ARM_LINKER
|
|
|
|
else
|
|
|
|
ifeq ($(CPU_ARCH),x86)
|
|
|
|
DEFINES += -DANDROID_X86_LINKER
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
2012-01-11 14:10:59 +04:00
|
|
|
CSRCS += \
|
2010-10-15 22:27:57 +04:00
|
|
|
ba.c \
|
|
|
|
debugger.c \
|
|
|
|
dlfcn.c \
|
2012-01-11 14:10:59 +04:00
|
|
|
linker.c \
|
|
|
|
linker_format.c \
|
|
|
|
rt.c \
|
|
|
|
$(NULL)
|
|
|
|
endif
|
|
|
|
|
|
|
|
CSRCS += \
|
2011-12-05 22:41:11 +04:00
|
|
|
ev_streams.c \
|
|
|
|
ev_timers.c \
|
|
|
|
getaddrinfo.c \
|
|
|
|
ns_name.c \
|
|
|
|
ns_netint.c \
|
|
|
|
ns_parse.c \
|
|
|
|
ns_print.c \
|
|
|
|
ns_samedomain.c \
|
|
|
|
ns_ttl.c \
|
|
|
|
res_comp.c \
|
|
|
|
res_data.c \
|
|
|
|
res_debug.c \
|
|
|
|
res_init.c \
|
|
|
|
res_mkquery.c \
|
|
|
|
res_send.c \
|
|
|
|
res_state.c \
|
2010-10-15 22:27:57 +04:00
|
|
|
$(NULL)
|
|
|
|
|
2010-07-16 19:52:01 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|