debuggers.hg

view tools/console/Makefile @ 21067:b4a1832a916f

Update Xen version to 4.0.0-rc6
author Keir Fraser <keir.fraser@citrix.com>
date Tue Mar 09 18:18:05 2010 +0000 (2010-03-09)
parents bd78714b8594
children d3de6f484610
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)