]> rtime.felk.cvut.cz Git - frescor/fna.git/blob - config.mk_example
tested negotiation in master.. TODO: check if the waiting time of the mode change...
[frescor/fna.git] / config.mk_example
1 # the plaform
2 PLATFORM = MARTE_OS
3 # the path of the platform
4 PLATFORM_PATH = $(HOME)/marte
5 # the path for exporting programs linux_arch -> ./
6 EXPORT_PATH = $(HOME)/export
7
8 # utilization or response time
9 SA_VERSION = utilization
10
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
15
16 # the gcc to use
17 CC = mgcc
18
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
30
31 # the compilation flags
32 CFLAGS = -Wall -g -O1 -Wuninitialized \
33          -D$(PLATFORM) \
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 \
39          -I$(FSA_PATH)/include
40
41 # the library flags
42
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