Commit | Line | Data |
---|---|---|
d42e7319 JB |
1 | if WANT_ARCH_ARM |
2 | ARCHFLAGS = -DHAVE_ARM_TLS_REGISTER -DANDROID_ARM_LINKER | |
3 | endif | |
4 | ||
5 | if WANT_ARCH_X86 | |
6 | ARCHFLAGS = -DANDROID_X86_LINKER | |
7 | endif | |
8 | ||
9 | noinst_LTLIBRARIES = \ | |
10 | libandroid-linker.la | |
11 | libandroid_linker_la_SOURCES = \ | |
12 | dlfcn.c \ | |
13 | linker.c \ | |
14 | linker_environ.c \ | |
15 | linker_format.c \ | |
16 | rt.c | |
17 | libandroid_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 | ||
24 | if WANT_DEBUG | |
25 | libandroid_linker_la_CFLAGS += -DLINKER_DEBUG=1 | |
26 | else | |
27 | libandroid_linker_la_CFLAGS += -DLINKER_DEBUG=0 | |
28 | endif |