ia64/xen-unstable

annotate tools/tests/Makefile @ 8097:7363637e2721

merge

Keir did a similar change earlier, but my version removed some special case
code as well, now that __gpfn_to_mfn() can protect itself.
author Michael.Fetterman@cl.cam.ac.uk
date Mon Nov 28 15:22:47 2005 +0100 (2005-11-28)
parents a01199a95070
children c259492dfb43
rev   line source
kaf24@4047 1
kaf24@4047 2 XEN_ROOT=../..
kaf24@4047 3 include $(XEN_ROOT)/tools/Rules.mk
kaf24@4047 4
kaf24@4047 5 TARGET := test_x86_emulator
kaf24@4047 6
kaf24@4047 7 CC := gcc
kaf24@4047 8 CFLAGS := -O2 -Wall -Werror -D__TEST_HARNESS__
kaf24@4047 9
kaf24@4047 10 $(TARGET): x86_emulate.o test_x86_emulator.o
kaf24@4047 11 $(CC) -o $@ $^
kaf24@4047 12
kaf24@4047 13 clean:
kaf24@4047 14 rm -rf $(TARGET) *.o *~ core
kaf24@4047 15
kaf24@4047 16 install:
kaf24@4047 17
kaf24@4047 18 x86_emulate.o: $(XEN_ROOT)/xen/arch/x86/x86_emulate.c
kaf24@4047 19 $(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<
kaf24@4047 20
kaf24@4047 21 %.o: %.c
kaf24@4047 22 $(CC) $(CFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $<