3 # the path of the platform
4 PLATFORM_PATH = $(HOME)/marte
5 # the path for exporting programs linux_arch -> ./
6 EXPORT_PATH = $(HOME)/export
8 # utilization or response time
9 SA_VERSION = utilization
11 # enable networks with their flag (change DISABLED<->ENABLED)
12 RTEP_ENABLE = RTEP_FNA_DISABLED
13 UNIX_ENABLE = UNIX_FNA_DISABLED
14 FRESCAN_ENABLE = FRESCAN_FNA_ENABLED
19 FRESCOR_ROOT = $(HOME)/frescor
20 # the path to the FRSH directory.
21 FRSH_PATH = $(FRESCOR_ROOT)/frsh
22 # the path to the FOSA directory.
23 FOSA_PATH = $(FRESCOR_ROOT)/fosa
24 # the path to the FNA directory.
25 FNA_PATH = $(FRESCOR_ROOT)/fna
26 # the path to the UTILS directory
27 UTILS_PATH = $(FRESCOR_ROOT)/utils
28 # the path to the UTILS directory
29 FSA_PATH = $(FRESCOR_ROOT)/fsa
31 # the compilation flags
32 CFLAGS = -Wall -g -O1 -Wuninitialized \
34 -I$(FNA_PATH)/include \
35 -I$(FRSH_PATH)/include \
36 -I$(FOSA_PATH)/include \
37 -I$(UTILS_PATH)/include \
38 -I$(FOSA_PATH)/marte_non_local_jump \
43 LDFLAGS = -L$(FRSH_PATH)/lib -lfrsh -L$(FSA_PATH)/lib -lfsa_$(SA_VERSION) \
44 -L$(FOSA_PATH)/lib -lfosa_$(PLATFORM) -L$(UTILS_PATH)/lib -lutils \
45 -L$(FNA_PATH)/lib -lfna -lm