diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-03-31 14:21:13 +0100 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-03-31 14:21:13 +0100 |
commit | c0b0636f388fcbdc168e8254188d7f145ecdab98 (patch) | |
tree | 8d83d984c434cce73eafb2d535a23a702c7c6727 /tools/tests/Makefile | |
parent | e358d917c40addf8ad81fdcc7933bd68c174e841 (diff) | |
download | xen-c0b0636f388fcbdc168e8254188d7f145ecdab98.tar.gz xen-c0b0636f388fcbdc168e8254188d7f145ecdab98.tar.bz2 xen-c0b0636f388fcbdc168e8254188d7f145ecdab98.zip |
x86_emulate: Remove environment-specific definitions from core
emulator source files.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/tests/Makefile')
-rw-r--r-- | tools/tests/Makefile | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/tools/tests/Makefile b/tools/tests/Makefile index 45d4294f9a..cf32ef91df 100644 --- a/tools/tests/Makefile +++ b/tools/tests/Makefile @@ -21,13 +21,17 @@ $(TARGET): x86_emulate.o test_x86_emulator.o .PHONY: clean clean: - rm -rf $(TARGET) *.o *~ core blowfish.h blowfish.bin + rm -rf $(TARGET) *.o *~ core blowfish.h blowfish.bin x86_emulate .PHONY: install install: -x86_emulate.o: $(XEN_ROOT)/xen/arch/x86/x86_emulate.c +.PHONY: x86_emulate +x86_emulate: + [ -L x86_emulate ] || ln -sf $(XEN_ROOT)/xen/arch/x86/x86_emulate . + +x86_emulate.o: x86_emulate.c x86_emulate $(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $< -test_x86_emulator.o: test_x86_emulator.c blowfish.h +test_x86_emulator.o: test_x86_emulator.c blowfish.h x86_emulate $(HOSTCC) $(HOSTCFLAGS) -I$(XEN_ROOT)/xen/include -c -o $@ $< |