debuggers.hg

view tools/console/Makefile @ 0:7d21f7218375

Exact replica of unstable on 051908 + README-this
author Mukesh Rathor
date Mon May 19 15:34:57 2008 -0700 (2008-05-19)
parents
children 5c0bf00e371d
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)
20 $(RM) client/*.o daemon/*.o
22 xenconsoled: $(patsubst %.c,%.o,$(wildcard daemon/*.c))
23 $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) \
24 $(UTIL_LIBS) $(SOCKET_LIBS)
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)