Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


initial simulation functionality
[palacios.git] / linux_usr / Makefile
index 5bdf906..4a96e27 100644 (file)
@@ -1,4 +1,4 @@
-all: v3_ctrl v3_stop v3_cons v3_mem v3_monitor v3_stream v3_user_host_dev_example v3_os_debug v3_user_keyed_stream_example v3_user_keyed_stream_file v3_core_move v3_save v3_load
+all: v3_ctrl v3_stop v3_cons v3_mem v3_monitor v3_stream v3_user_host_dev_example v3_os_debug v3_user_keyed_stream_example v3_user_keyed_stream_file v3_core_move v3_save v3_load v3_simulate
 
 
 
@@ -7,6 +7,7 @@ v3_ctrl : v3_ctrl.c v3_pause.c v3_continue.c v3_launch.c v3_stop.c v3_create.c v
        gcc -static v3_stop.c -o v3_stop 
        gcc -static v3_pause.c -o v3_pause
        gcc -static v3_continue.c -o v3_continue
+       gcc -static v3_simulate.c -o v3_simulate
        gcc -static v3_create.c -o v3_create
        gcc -static v3_free.c -o v3_free
 
@@ -19,9 +20,13 @@ v3_load : v3_load.c v3_ctrl.h
 v3_mem : v3_mem.c v3_ctrl.h
        gcc -static v3_mem.c -o v3_mem 
 
-v3_cons : v3_cons.c v3_cons_sc.c v3_ctrl.h
-       gcc  -static v3_cons.c -o v3_cons -lcurses
-       gcc  -static v3_cons_sc.c -o v3_cons_sc -lcurses
+v3_cons_s: v3_cons.c v3_cons_sc.c v3_ctrl.h
+       -gcc  -static -DNCURSES_STATIC v3_cons.c -o v3_cons_s -lcurses # -ltinfo needed on fedora
+       -gcc  -static -DNCURSES_STATIC v3_cons_sc.c -o v3_cons_sc_s -lcurses # -ltinfo needed on fedora
+
+v3_cons: v3_cons.c v3_cons_sc.c v3_ctrl.h
+       -gcc  v3_cons.c -o v3_cons_s -lcurses
+       -gcc  v3_cons_sc.c -o v3_cons_sc_s -lcurses
 
 v3_stream : v3_stream.c v3_ctrl.h
        gcc -static v3_stream.c -o v3_stream