debuggers.hg

view tools/console/Makefile @ 22848:6341fe0f4e5a

Added tag 4.1.0-rc2 for changeset 9dca60d88c63
author Keir Fraser <keir@xen.org>
date Tue Jan 25 14:06:55 2011 +0000 (2011-01-25)
parents d3de6f484610
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 LDLIBS += $(LDLIBS_libxenctrl)
10 LDLIBS += $(LDLIBS_libxenstore)
11 LDLIBS += $(UTIL_LIBS)
12 LDLIBS += $(SOCKET_LIBS)
13 LDLIBS += -lrt
15 BIN = xenconsoled xenconsole
17 .PHONY: all
18 all: $(BIN)
20 .PHONY: clean
21 clean:
22 $(RM) *.a *.so *.o *.rpm $(BIN) $(DEPS)
23 $(RM) client/*.o daemon/*.o
25 xenconsoled: $(patsubst %.c,%.o,$(wildcard daemon/*.c))
26 $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(LDLIBS)
28 xenconsole: $(patsubst %.c,%.o,$(wildcard client/*.c))
29 $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(LDLIBS)
31 .PHONY: install
32 install: $(BIN)
33 $(INSTALL_DIR) $(DESTDIR)/$(SBINDIR)
34 $(INSTALL_PROG) xenconsoled $(DESTDIR)/$(SBINDIR)
35 $(INSTALL_DIR) $(DESTDIR)$(PRIVATE_BINDIR)
36 $(INSTALL_PROG) xenconsole $(DESTDIR)$(PRIVATE_BINDIR)
38 -include $(DEPS)