ia64/xen-unstable

view tools/xcutils/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 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)