ia64/xen-unstable

view tools/xcutils/Makefile @ 19615:13a4f4e6d0a3

x86 hvm: Correctly emulate task switches into vm86 mode.

Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Tue May 19 02:12:04 2009 +0100 (2009-05-19)
parents bd78714b8594
children
line source
1 #
2 # tools/xcutils/Makefile
3 #
4 # This file is subject to the terms and conditions of the GNU General
5 # Public License. See the file "COPYING" in the main directory of
6 # this archive for more details.
7 #
8 # Copyright (C) 2005 by Christian Limpach
9 #
11 XEN_ROOT = ../..
12 include $(XEN_ROOT)/tools/Rules.mk
14 CFLAGS += -Werror
15 CFLAGS += $(CFLAGS_libxenctrl) $(CFLAGS_libxenguest) $(CFLAGS_libxenstore)
17 PROGRAMS = xc_restore xc_save readnotes lsevtchn
19 LDLIBS = $(LDFLAGS_libxenctrl) $(LDFLAGS_libxenguest) $(LDFLAGS_libxenstore)
21 .PHONY: all
22 all: build
24 .PHONY: build
25 build: $(PROGRAMS)
27 $(PROGRAMS): %: %.o
28 $(CC) $(CFLAGS) $(LDFLAGS) $^ $(LDLIBS) -o $@
30 .PHONY: install
31 install: build
32 $(INSTALL_DIR) $(DESTDIR)$(PRIVATE_BINDIR)
33 $(INSTALL_PROG) $(PROGRAMS) $(DESTDIR)$(PRIVATE_BINDIR)
36 .PHONY: clean
37 clean:
38 $(RM) *.o $(PROGRAMS)
39 $(RM) $(DEPS)
41 -include $(DEPS)