Imported Debian patch 0.1.0+git20131207+e452e83-0ubuntu12
[deb_libhybris.git] / hybris / common / gingerbread / Makefile.am
CommitLineData
d42e7319
JB
1if WANT_ARCH_ARM
2ARCHFLAGS = -DHAVE_ARM_TLS_REGISTER -DANDROID_ARM_LINKER
3endif
4
5if WANT_ARCH_X86
6ARCHFLAGS = -DANDROID_X86_LINKER
7endif
8
9noinst_LTLIBRARIES = \
10 libandroid-linker.la
11libandroid_linker_la_SOURCES = \
12 dlfcn.c \
13 linker.c \
14 linker_environ.c \
15 linker_format.c \
16 rt.c
17libandroid_linker_la_CFLAGS = \
18 -I$(top_srcdir)/include \
19 -I$(top_srcdir)/common \
20 -DLINKER_TEXT_BASE=0xB0000100 \
21 -DLINKER_AREA_SIZE=0x01000000 \
22 $(ARCHFLAGS)
23
24if WANT_DEBUG
25libandroid_linker_la_CFLAGS += -DLINKER_DEBUG=1
26else
27libandroid_linker_la_CFLAGS += -DLINKER_DEBUG=0
28endif