2011-02-11 12:27:17 +00:00
|
|
|
PATH_MAKE = make
|
|
|
|
PATH_LINKER = gcc
|
|
|
|
PATH_AR = ar
|
|
|
|
PATH_SHELL = sh
|
|
|
|
PATH_C_COMPILER = gcc
|
|
|
|
PATH_OBJDUMP= objdump
|
2012-03-09 14:55:19 +00:00
|
|
|
PATH_OBJCOPY=objcopy
|
2011-02-11 12:27:17 +00:00
|
|
|
OBJDUMP_ARGS= -h
|
|
|
|
CMD_GREP_PROCESSES = grep "^PROCESS_THREAD[ ]*([^,]*,[^,]*,[^)]*)" -o -H
|
|
|
|
REGEXP_PARSE_PROCESSES = ([^/]*.c):PROCESS_THREAD[ ]*\\(([^,]*),[^,]*,[^)]*\\)
|
|
|
|
CMD_GREP_INTERFACES = grep "^SIM_INTERFACE([^,]*," -o -d skip -D skip -H -r
|
|
|
|
REGEXP_PARSE_INTERFACES = ([^/]*.c):SIM_INTERFACE\\(([^,]*),
|
|
|
|
CMD_GREP_SENSORS = grep "^SENSORS_SENSOR([^,]*," -o -d skip -D skip -H -r
|
|
|
|
REGEXP_PARSE_SENSORS = ([^/]*.c):SENSORS_SENSOR\\(([^,]*),
|
|
|
|
COMPILER_ARGS = -Wall -I/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers -dynamiclib -fno-common -DHAVE_SNPRINTF
|
|
|
|
LINK_COMMAND_1 = gcc -dynamiclib -fno-common -o $(LIBFILE)
|
|
|
|
LINK_COMMAND_2 = -framework JavaVM -Wl,-map,$(MAPFILE)
|
|
|
|
AR_COMMAND_1 = ar rc $(ARFILE)
|
|
|
|
AR_COMMAND_2 =
|
|
|
|
PATH_JAVAC = javac
|
|
|
|
|
|
|
|
PARSE_WITH_COMMAND = true
|
|
|
|
PARSE_COMMAND = /opt/contiki-2.x/tools/cooja/examples/jni_test/mac_users/nmandsize $(LIBFILE)
|
|
|
|
MAPFILE_DATA_START = ^__DATA[ ]*__data[ ]*0x([0-9A-Fa-f]*)[ ]*0x[0-9A-Fa-f]*[ ]*$
|
|
|
|
MAPFILE_DATA_SIZE = ^__DATA[ ]*__data[ ]*0x[0-9A-Fa-f]*[ ]*0x([0-9A-Fa-f]*)[ ]*$
|
|
|
|
MAPFILE_BSS_START = ^__DATA[ ]*__bss[ ]*0x[0-9A-Fa-f]*[ ]*0x([0-9A-Fa-f]*)[ ]*$
|
|
|
|
MAPFILE_BSS_SIZE = ^__DATA[ ]*__bss[ ]*0x[0-9A-Fa-f]*[ ]*0x([0-9A-Fa-f]*)[ ]*$
|
|
|
|
MAPFILE_COMMON_START = ^__DATA[ ]*__common[ ]*0x([0-9A-Fa-f]*)[ ]*0x[0-9A-Fa-f]*[ ]*$
|
|
|
|
MAPFILE_COMMON_SIZE = ^__DATA[ ]*__common[ ]*0x[0-9A-Fa-f]*[ ]*0x([0-9A-Fa-f]*)[ ]*$
|
|
|
|
MAPFILE_VAR_NAME = ^[ \\t]*(0x[0-9A-Fa-f]*)[ \\t]*([^ ]*)[ \\t]*$
|
|
|
|
MAPFILE_VAR_ADDRESS_1 = ^[ \\t]*0x([0-9A-Fa-f]*)[ \\t]*
|
|
|
|
MAPFILE_VAR_ADDRESS_2 = [ \\t]*$
|
|
|
|
MAPFILE_VAR_SIZE_1 = ^
|
|
|
|
MAPFILE_VAR_SIZE_2 = [ \\t]*(0x[0-9A-Fa-f]*)[ \\t]*[^ ]*[ \\t]*$
|
|
|
|
COMMAND_VAR_NAME_ADDRESS = ^[ \t]*([0-9A-Fa-f][0-9A-Fa-f]*)[ \t]\\(__DATA,__[^ ]*\\) external _([^ ]*)$
|
|
|
|
COMMAND_DATA_START = ^DATA SECTION START\: 0x([0-9A-Fa-f]+)$
|
|
|
|
COMMAND_DATA_END = ^DATA SECTION END\: 0x([0-9A-Fa-f]+)$
|
|
|
|
COMMAND_BSS_START = ^COMMON SECTION START\: 0x([0-9A-Fa-f]+)$
|
|
|
|
COMMAND_BSS_END = ^COMMON SECTION END\: 0x([0-9A-Fa-f]+)$
|
|
|
|
COMMAND_COMMON_START = ^BSS SECTION START\: 0x([0-9A-Fa-f]+)$
|
|
|
|
COMMAND_COMMON_END = ^BSS SECTION END\: 0x([0-9A-Fa-f]+)$
|
|
|
|
|