mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
Fixes.
This commit is contained in:
1 parent
7dd5c4ef07
commit
bf4410c5bc
1 file changed
+6
-6
@@ -24,14 +24,14 @@ SRCS += main.c utils.c io.c
|
||||
|
||||
HDRS = $(wildcard *.h)
|
||||
OBJS = $(patsubst %.c,%.o,$(SRCS))
|
||||
BIN = consoled
|
||||
BIN = consoled xc_console
|
||||
|
||||
all: $(BIN) xc_console
|
||||
all: $(BIN)
|
||||
|
||||
clean:
|
||||
$(RM) *.a *.so *.o *.rpm $(BIN) xc_console
|
||||
$(RM) *.a *.so *.o *.rpm $(BIN)
|
||||
|
||||
$(BIN): $(OBJS)
|
||||
consoled: $(OBJS)
|
||||
$(CC) $(CFLAGS) $^ -o $@ -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
|
||||
-lxc -lxenstore
|
||||
|
||||
@@ -41,8 +41,8 @@ xc_console: xc_console.o
|
||||
|
||||
$(OBJS): $(HDRS)
|
||||
|
||||
install: $(BIN) xc_console
|
||||
install: $(BIN)
|
||||
$(INSTALL_DIR) -p $(DESTDIR)/$(CONSOLED_INSTALL_DIR)
|
||||
$(INSTALL_PROG) $(BIN) $(DESTDIR)/$(CONSOLED_INSTALL_DIR)
|
||||
$(INSTALL_PROG) consoled $(DESTDIR)/$(CONSOLED_INSTALL_DIR)
|
||||
$(INSTALL_DIR) -p $(DESTDIR)/$(XC_CONSOLE_INSTALL_DIR)
|
||||
$(INSTALL_PROG) xc_console $(DESTDIR)/$(XC_CONSOLE_INSTALL_DIR)
|
||||