ia64/xen-unstable

view tools/tests/Makefile @ 15841:c5f735271e22

[IA64] Foreign p2m: Fix vti domain builder.

It should set arch_domain::convmem_end.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Alex Williamson <alex.williamson@hp.com>
date Thu Sep 06 13:48:43 2007 -0600 (2007-09-06)
parents eb19c2745b80
children d434c73ec8b7
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
26 .PHONY: install
27 install:
29 x86_emulate.o: $(XEN_ROOT)/xen/arch/x86/x86_emulate.c
30 $(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
32 test_x86_emulator.o: test_x86_emulator.c blowfish.h
33 $(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<