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.


Extensions to HVM ROS userspace library corresponding to HVM enhancements
[palacios.git] / guest / linux / hvm-ros / Makefile
1 CC:=gcc
2 AR:=ar
3 ARFLAGS:=ruv
4
5 CFLAGS:= -Wall -static
6
7 ifeq ($(DEBUG),1)
8         CFLAGS += -DDEBUG_ENABLE=1
9 endif
10
11 ifeq ($(INFO),1)
12         CFLAGS += -DINFO_ENABLE=1
13 endif
14
15 all: libv3_hvm_ros_user.a test
16
17 libv3_hvm_ros_user.a: v3_hvm_ros_user.o v3_hvm_ros_user_low_level.o
18         $(AR) $(ARFLAGS) libv3_hvm_ros_user.a v3_hvm_ros_user.o v3_hvm_ros_user_low_level.o
19
20 v3_hvm_ros_user.o: v3_hvm_ros_user.c v3_hvm_ros_user.h 
21         $(CC) $(CFLAGS) -c v3_hvm_ros_user.c
22
23 v3_hvm_ros_user_low_level.o: v3_hvm_ros_user_low_level.S
24         $(CC) $(CFLAGS) -c v3_hvm_ros_user_low_level.S
25
26 test: test.c libv3_hvm_ros_user.a v3_hvm_ros_user.h
27         $(CC) $(CFLAGS) -static test.c -L. -lv3_hvm_ros_user -o test
28
29 clean:
30         rm -f libv3_hvm_ros_user.a v3_hvm_ros_user.o v3_hvm_ros_user_low_level.o test