]> rtime.felk.cvut.cz Git - frescor/fna.git/blobdiff - config.mk_example
Updated OMK configuration for FWP
[frescor/fna.git] / config.mk_example
index a5fee75fd5a19fec1601170129062c94a3a7df3b..44a67d03f14644fc5fff87010d9dae965d840bd7 100644 (file)
@@ -5,19 +5,41 @@ PLATFORM_PATH = $(HOME)/marte
 # the path for exporting programs linux_arch -> ./
 EXPORT_PATH = $(HOME)/export
 
+# utilization or response time
+SA_VERSION = utilization
+
 # enable networks with their flag (change DISABLED<->ENABLED)
-RTEP_ENABLE = RTEP_FNA_ENABLED
+RTEP_ENABLE = RTEP_FNA_DISABLED
 UNIX_ENABLE = UNIX_FNA_DISABLED
+FRESCAN_ENABLE = FRESCAN_FNA_ENABLED
 
 # the gcc to use
 CC = mgcc
+
+FRESCOR_ROOT = $(HOME)/frescor
 # the path to the FRSH directory.
-FRSH_PATH = $(HOME)/frescor/frsh
+FRSH_PATH = $(FRESCOR_ROOT)/frsh
 # the path to the FOSA directory.
-FOSA_PATH = $(HOME)/frescor/fosa
+FOSA_PATH = $(FRESCOR_ROOT)/fosa
 # the path to the FNA directory.
-FNA_PATH = $(HOME)/frescor/fna
+FNA_PATH = $(FRESCOR_ROOT)/fna
+# the path to the UTILS directory
+UTILS_PATH = $(FRESCOR_ROOT)/utils
+# the path to the UTILS directory
+FSA_PATH = $(FRESCOR_ROOT)/fsa
+
 # the compilation flags
-CFLAGS = -Wall -g -D$(PLATFORM) -D$(RTEP_ENABLE) -D$(UNIX_ENABLE) -I$(FNA_PATH)/include -I$(FRSH_PATH)/include
+CFLAGS = -Wall -g -O1 -Wuninitialized \
+        -D$(PLATFORM) \
+        -I$(FNA_PATH)/include \
+        -I$(FRSH_PATH)/include \
+        -I$(FOSA_PATH)/include \
+        -I$(UTILS_PATH)/include \
+        -I$(FOSA_PATH)/marte_non_local_jump \
+        -I$(FSA_PATH)/include
+
 # the library flags
-LDFLAGS = -L$(FNA_PATH)/lib -lfna
+
+LDFLAGS = -L$(FRSH_PATH)/lib -lfrsh -L$(FSA_PATH)/lib -lfsa_$(SA_VERSION)   \
+          -L$(FOSA_PATH)/lib -lfosa_$(PLATFORM) -L$(UTILS_PATH)/lib -lutils \
+          -L$(FNA_PATH)/lib -lfna -lm