ia64/xen-unstable

view tools/tests/Makefile @ 19848:5839491bbf20

[IA64] replace MAX_VCPUS with d->max_vcpus where necessary.

don't use MAX_VCPUS, and use vcpu::max_vcpus.
The changeset of 2f9e1348aa98 introduced max_vcpus to allow more vcpus
per guest. This patch is ia64 counter part.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Isaku Yamahata <yamahata@valinux.co.jp>
date Mon Jun 29 11:26:05 2009 +0900 (2009-06-29)
parents d434c73ec8b7
children
line source
2 XEN_ROOT=../..
3 include $(XEN_ROOT)/tools/Rules.mk
5 TARGET := test_x86_emulator
7 .PHONY: all
8 all: $(TARGET)
10 .PHONY: blowfish.bin
11 blowfish.bin:
12 make -f blowfish.mk all
14 blowfish.h: blowfish.bin
15 (echo "static unsigned int blowfish_code[] = {"; \
16 od -v -t x $< | sed 's/^[0-9]* /0x/' | sed 's/ /, 0x/g' | sed 's/$$/,/';\
17 echo "};") >$@
19 $(TARGET): x86_emulate.o test_x86_emulator.o
20 $(HOSTCC) -o $@ $^
22 .PHONY: clean
23 clean:
24 rm -rf $(TARGET) *.o *~ core blowfish.h blowfish.bin x86_emulate
26 .PHONY: install
27 install:
29 .PHONY: x86_emulate
30 x86_emulate:
31 [ -L x86_emulate ] || ln -sf $(XEN_ROOT)/xen/arch/x86/x86_emulate .
33 x86_emulate.o: x86_emulate.c x86_emulate
34 $(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
36 test_x86_emulator.o: test_x86_emulator.c blowfish.h x86_emulate
37 $(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<