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.


bug fix for Qemu EVENTINJ issue
[palacios.git] / misc / decoder_test / Makefile
1 PREFIX=./
2
3
4 INCLUDEDIR=$(PREFIX)XED2/include
5 LIBDIR=$(PREFIX)XED2/lib/
6 BINDIR=$(PREFIX)/bin
7
8
9 TEST_OBJS =  vm_guest.o vmm_xed.o test.o
10
11
12
13 CFLAGS =  -I$(INCLUDEDIR) -D__V3VEE__ -g -gstabs -D__DECODER_TEST__
14
15
16
17 #CC=../../devtools/i386/bin/i386-elf-gcc
18 CC=/usr/bin/gcc -m32
19
20
21 #CXXFLAGS =  -DDEBUG  -g -gstabs+ -Wall  -I/usr/kerberos/include
22
23 LDFLAGS  =  -L$(LIBDIR) $(CFLAGS) -lxed
24
25 all:    test
26
27 test: $(TEST_OBJS)
28         $(CC) $(CFLAGS) $(TEST_OBJS) $(LDFLAGS) -o xed_test
29
30
31
32
33 %.o : %.c
34         $(CC) -c $(CFLAGS) $< -o $*.o
35
36 depend:
37         $(CC) $(CFLAGS) -MM $(TEST_OBJS:.o=.c) > .dependencies
38
39 clean: 
40         rm -f *.o
41         rm -f $(TEST_OBJS) xed_test
42
43
44 include .dependencies
45
46
47