ia64/xen-unstable

changeset 5969:59e76450e286

Fixes.
author smh22@firebug.cl.cam.ac.uk
date Tue Aug 02 15:42:06 2005 +0000 (2005-08-02)
parents 48dea637aac9
children dcdcec634c2d
files tools/consoled/Makefile
line diff
     1.1 --- a/tools/consoled/Makefile	Tue Aug 02 14:51:06 2005 +0000
     1.2 +++ b/tools/consoled/Makefile	Tue Aug 02 15:42:06 2005 +0000
     1.3 @@ -24,14 +24,14 @@ SRCS    += main.c utils.c io.c
     1.4  
     1.5  HDRS     = $(wildcard *.h)
     1.6  OBJS     = $(patsubst %.c,%.o,$(SRCS))
     1.7 -BIN      = consoled
     1.8 +BIN      = consoled xc_console
     1.9  
    1.10 -all: $(BIN) xc_console
    1.11 +all: $(BIN)
    1.12  
    1.13  clean:
    1.14 -	$(RM) *.a *.so *.o *.rpm $(BIN) xc_console
    1.15 +	$(RM) *.a *.so *.o *.rpm $(BIN)
    1.16  
    1.17 -$(BIN): $(OBJS)
    1.18 +consoled: $(OBJS)
    1.19  	$(CC) $(CFLAGS) $^ -o $@ -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
    1.20                -lxc -lxenstore
    1.21  
    1.22 @@ -41,8 +41,8 @@ xc_console: xc_console.o
    1.23  
    1.24  $(OBJS): $(HDRS)
    1.25  
    1.26 -install: $(BIN) xc_console
    1.27 +install: $(BIN)
    1.28  	$(INSTALL_DIR) -p $(DESTDIR)/$(CONSOLED_INSTALL_DIR)
    1.29 -	$(INSTALL_PROG) $(BIN) $(DESTDIR)/$(CONSOLED_INSTALL_DIR)
    1.30 +	$(INSTALL_PROG) consoled $(DESTDIR)/$(CONSOLED_INSTALL_DIR)
    1.31  	$(INSTALL_DIR) -p $(DESTDIR)/$(XC_CONSOLE_INSTALL_DIR)
    1.32  	$(INSTALL_PROG) xc_console $(DESTDIR)/$(XC_CONSOLE_INSTALL_DIR)