X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=linux_usr%2FMakefile;h=e3142094c1e1ccb07a153622d412d8faecbfc967;hb=1fcc40a92f8cadc3d6ed3f56abc316c11043bc80;hp=a53892d1bd9b15d6dc36590d08d1f8845f22a14e;hpb=e30e35a15e2350e77f71e5b052b5a67a77cdf267;p=palacios.git diff --git a/linux_usr/Makefile b/linux_usr/Makefile index a53892d..e314209 100644 --- a/linux_usr/Makefile +++ b/linux_usr/Makefile @@ -12,7 +12,7 @@ STATIC = 0 # BASE_EXECS = v3_mem \ v3_mem_free \ - v3_create \ + v3_create \ v3_create_bind \ v3_free \ v3_launch \ @@ -58,7 +58,7 @@ EXPERIMENTAL_EXECS = v3_simulate \ # PRECOMPILED_EXECS = x0vncserver -COPIED_EXECS = v3_x0vncserver +COPIED_EXECS = v3_x0vncserver v3_x0gui # # Libraries that we need to build @@ -153,9 +153,27 @@ v3_user_keyed_stream_file : v3_user_keyed_stream_file.c libv3_user_keyed_stream. # # VNC support is compiled separately # -v3_x0vncserver : x0vncserver - cp x0vncserver v3_x0vncserver - +v3_x0vncserver : + @if [ -a x0vncserver ] ; \ + then \ + cp x0vncserver v3_x0vncserver ; \ + else \ + echo "In order to use v3_vncclient/server you must have" ; \ + echo "previously built or received palacios/linux_usr/x0vncserver" ; \ + fi; + +# +# GUI is compiled separately +# +v3_x0gui : + @if [ -a gui/Palacios ] ; \ + then \ + cp gui/Palacios v3_x0gui ; \ + else \ + echo "In order to use v3_gui (the graphical interface)" ;\ + echo "you must first cd to palacios/linux_usr/gui" ;\ + echo "and compile it according to the README given there";\ + fi; # # Cleanup and dependency builds are automated