2007-10-19 11:05:56 +00:00
|
|
|
PATH_CONTIKI = ../../..
|
|
|
|
PATH_COOJA_CORE_RELATIVE = /platform/cooja
|
|
|
|
PATH_MAKE = make
|
|
|
|
PATH_LINKER = gcc
|
|
|
|
PATH_AR = ar
|
|
|
|
PATH_SHELL = sh
|
|
|
|
PATH_C_COMPILER = gcc
|
|
|
|
PATH_OBJDUMP= objdump
|
|
|
|
OBJDUMP_ARGS= -h
|
2008-11-11 11:47:15 +00:00
|
|
|
CMD_GREP_PROCESSES = grep "^PROCESS_THREAD[ ]*([^,]*,[^,]*,[^)]*)" -o -H
|
|
|
|
REGEXP_PARSE_PROCESSES = ([^/]*.c):PROCESS_THREAD[ ]*\\(([^,]*),[^,]*,[^)]*\\)
|
2007-10-19 11:05:56 +00:00
|
|
|
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\\(([^,]*),
|
2010-01-27 12:54:31 +00:00
|
|
|
COMPILER_ARGS = -Wall -I/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK/Headers -dynamiclib -fno-common -DHAVE_SNPRINTF
|
2007-10-19 11:05:56 +00:00
|
|
|
LINK_COMMAND_1 = gcc -dynamiclib -fno-common -o $(LIBFILE)
|
2010-01-20 17:01:50 +00:00
|
|
|
LINK_COMMAND_2 = -framework JavaVM -Wl,-map,$(MAPFILE)
|
2007-10-19 11:05:56 +00:00
|
|
|
AR_COMMAND_1 = ar rc $(ARFILE)
|
|
|
|
AR_COMMAND_2 =
|
|
|
|
CONTIKI_STANDARD_PROCESSES = sensors_process;etimer_process
|
|
|
|
CORECOMM_TEMPLATE_FILENAME = corecomm_template.java
|
|
|
|
PATH_JAVAC = javac
|
2010-11-12 16:50:38 +00:00
|
|
|
DEFAULT_PROJECTDIRS = [CONTIKI_DIR]/tools/cooja/apps/mrm;[CONTIKI_DIR]/tools/cooja/apps/mspsim;[CONTIKI_DIR]/tools/cooja/apps/avrora;[CONTIKI_DIR]/tools/cooja/apps/serial_socket;[CONTIKI_DIR]/tools/cooja/apps/collect-view
|
2007-10-19 11:05:56 +00:00
|
|
|
|
|
|
|
PARSE_WITH_COMMAND = true
|
2010-01-20 17:01:50 +00:00
|
|
|
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]*$
|
2007-10-19 11:05:56 +00:00
|
|
|
MAPFILE_VAR_SIZE_1 = ^
|
2010-01-20 17:01:50 +00:00
|
|
|
MAPFILE_VAR_SIZE_2 = [ \\t]*(0x[0-9A-Fa-f]*)[ \\t]*[^ ]*[ \\t]*$
|
2007-10-19 11:05:56 +00:00
|
|
|
COMMAND_VAR_NAME_ADDRESS = ^[ \t]*([0-9A-Fa-f][0-9A-Fa-f]*)[ \t]\\(__DATA,__[^ ]*\\) external _([^ ]*)$
|
2010-01-20 17:01:50 +00:00
|
|
|
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]+)$
|
2007-10-22 10:42:47 +00:00
|
|
|
|