ia64/xen-unstable

view tools/console/Makefile @ 19731:01748ccc4da3

Intel VT-d: fix Stoakley boot issue with iommu=1

Signed-off-by: Weidong Han <Weidong.han@intel.com>
Signed-off-by: Allen Kay <allen.m.kay@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Jun 05 09:25:50 2009 +0100 (2009-06-05)
parents bd78714b8594
children
line source
2 XEN_ROOT=../..
3 include $(XEN_ROOT)/tools/Rules.mk
5 CFLAGS += -Werror
7 CFLAGS += $(CFLAGS_libxenctrl)
8 CFLAGS += $(CFLAGS_libxenstore)
9 LDFLAGS += $(LDFLAGS_libxenctrl)
10 LDFLAGS += $(LDFLAGS_libxenstore)
12 BIN = xenconsoled xenconsole
14 .PHONY: all
15 all: $(BIN)
17 .PHONY: clean
18 clean:
19 $(RM) *.a *.so *.o *.rpm $(BIN) $(DEPS)
20 $(RM) client/*.o daemon/*.o
22 xenconsoled: $(patsubst %.c,%.o,$(wildcard daemon/*.c))
23 $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) \
24 $(UTIL_LIBS) $(SOCKET_LIBS) -lrt
26 xenconsole: $(patsubst %.c,%.o,$(wildcard client/*.c))
27 $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) \
28 $(UTIL_LIBS) $(SOCKET_LIBS)
30 .PHONY: install
31 install: $(BIN)
32 $(INSTALL_DIR) $(DESTDIR)/$(SBINDIR)
33 $(INSTALL_PROG) xenconsoled $(DESTDIR)/$(SBINDIR)
34 $(INSTALL_DIR) $(DESTDIR)$(PRIVATE_BINDIR)
35 $(INSTALL_PROG) xenconsole $(DESTDIR)$(PRIVATE_BINDIR)
37 -include $(DEPS)