debuggers.hg

annotate 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
rev   line source
kaf24@6076 1
kaf24@6076 2 XEN_ROOT=../..
kaf24@6076 3 include $(XEN_ROOT)/tools/Rules.mk
kaf24@6076 4
kfraser@12090 5 CFLAGS += -Werror
kaf24@6076 6
keir@16948 7 CFLAGS += $(CFLAGS_libxenctrl)
keir@16950 8 CFLAGS += $(CFLAGS_libxenstore)
sstabellini@22018 9 LDLIBS += $(LDLIBS_libxenctrl)
sstabellini@22018 10 LDLIBS += $(LDLIBS_libxenstore)
sstabellini@22018 11 LDLIBS += $(UTIL_LIBS)
sstabellini@22018 12 LDLIBS += $(SOCKET_LIBS)
sstabellini@22018 13 LDLIBS += -lrt
kaf24@6076 14
kaf24@6076 15 BIN = xenconsoled xenconsole
kaf24@6076 16
kaf24@9645 17 .PHONY: all
kaf24@6076 18 all: $(BIN)
kaf24@6076 19
kaf24@9645 20 .PHONY: clean
kaf24@6076 21 clean:
keir@19063 22 $(RM) *.a *.so *.o *.rpm $(BIN) $(DEPS)
kaf24@6076 23 $(RM) client/*.o daemon/*.o
kaf24@6076 24
kaf24@6076 25 xenconsoled: $(patsubst %.c,%.o,$(wildcard daemon/*.c))
sstabellini@22018 26 $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(LDLIBS)
kaf24@6076 27
kaf24@6076 28 xenconsole: $(patsubst %.c,%.o,$(wildcard client/*.c))
sstabellini@22018 29 $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) $(LDLIBS)
kaf24@6076 30
kaf24@9645 31 .PHONY: install
kaf24@6076 32 install: $(BIN)
keir@16828 33 $(INSTALL_DIR) $(DESTDIR)/$(SBINDIR)
keir@16828 34 $(INSTALL_PROG) xenconsoled $(DESTDIR)/$(SBINDIR)
keir@16937 35 $(INSTALL_DIR) $(DESTDIR)$(PRIVATE_BINDIR)
keir@16937 36 $(INSTALL_PROG) xenconsole $(DESTDIR)$(PRIVATE_BINDIR)
keir@19063 37
keir@19063 38 -include $(DEPS)