From: sangorrin Date: Sun, 20 Jul 2008 12:10:45 +0000 (+0000) Subject: update config to be able to use fsa in frescan.. X-Git-Url: https://rtime.felk.cvut.cz/gitweb/frescor/fna.git/commitdiff_plain/e3d17602b99dd8c9cb245d19e383dc347c9ff9e6 update config to be able to use fsa in frescan.. git-svn-id: http://www.frescor.org/private/svn/frescor/fna/trunk@1307 35b4ef3e-fd22-0410-ab77-dab3279adceb --- diff --git a/config.mk_example b/config.mk_example index ea05f50..44a67d0 100644 --- a/config.mk_example +++ b/config.mk_example @@ -5,6 +5,9 @@ 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_DISABLED UNIX_ENABLE = UNIX_FNA_DISABLED @@ -22,6 +25,8 @@ FOSA_PATH = $(FRESCOR_ROOT)/fosa 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 -O1 -Wuninitialized \ @@ -30,7 +35,11 @@ CFLAGS = -Wall -g -O1 -Wuninitialized \ -I$(FRSH_PATH)/include \ -I$(FOSA_PATH)/include \ -I$(UTILS_PATH)/include \ - -I$(FOSA_PATH)/marte_non_local_jump + -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