direct-io.hg

view tools/console/Makefile @ 11330:3e54734e55f3

[IA64] Remove extraneous verbose output to clean up Fedora boot.

Signed-off-by: Aron Griffis <aron@hp.com>
author awilliam@xenbuild.aw
date Wed Aug 23 13:26:46 2006 -0600 (2006-08-23)
parents b454a09cddb1
children edf0e488ea2a
line source
2 XEN_ROOT=../..
3 include $(XEN_ROOT)/tools/Rules.mk
5 DAEMON_INSTALL_DIR = /usr/sbin
6 CLIENT_INSTALL_DIR = /usr/$(LIBDIR)/xen/bin
8 INSTALL = install
9 INSTALL_PROG = $(INSTALL) -m0755
10 INSTALL_DIR = $(INSTALL) -d -m0755
12 CFLAGS += -Werror -g
14 CFLAGS += -I $(XEN_LIBXC)
15 CFLAGS += -I $(XEN_XENSTORE)
17 BIN = xenconsoled xenconsole
19 .PHONY: all
20 all: $(BIN)
22 .PHONY: clean
23 clean:
24 $(RM) *.a *.so *.o *.rpm $(BIN)
25 $(RM) client/*.o daemon/*.o
27 xenconsoled: $(patsubst %.c,%.o,$(wildcard daemon/*.c))
28 $(CC) $(CFLAGS) $^ -o $@ -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
29 -lxenctrl -lxenstore
31 xenconsole: $(patsubst %.c,%.o,$(wildcard client/*.c))
32 $(CC) $(CFLAGS) $^ -o $@ -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
33 -lxenctrl -lxenstore
35 .PHONY: install
36 install: $(BIN)
37 $(INSTALL_DIR) -p $(DESTDIR)/$(DAEMON_INSTALL_DIR)
38 $(INSTALL_PROG) xenconsoled $(DESTDIR)/$(DAEMON_INSTALL_DIR)
39 $(INSTALL_DIR) -p $(DESTDIR)/$(CLIENT_INSTALL_DIR)
40 $(INSTALL_PROG) xenconsole $(DESTDIR)/$(CLIENT_INSTALL_DIR)