diff options
author | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-03-01 11:13:22 +0000 |
---|---|---|
committer | kaf24@scramble.cl.cam.ac.uk <kaf24@scramble.cl.cam.ac.uk> | 2004-03-01 11:13:22 +0000 |
commit | 7b4d7f59643abd011dabaae680ea08619cdb350b (patch) | |
tree | 63c1b35b44d9e53932b7dc8503dbb11a5c97876e /tools/xend | |
parent | be342af92bb5a82f38149cf0f93d5b787e133fa6 (diff) | |
download | xen-7b4d7f59643abd011dabaae680ea08619cdb350b.tar.gz xen-7b4d7f59643abd011dabaae680ea08619cdb350b.tar.bz2 xen-7b4d7f59643abd011dabaae680ea08619cdb350b.zip |
bitkeeper revision 1.759 (40431ad2YWsArtM623Q4wpLgPvrt5A)
xend.c, Makefile:
new file
Many files:
Rename /proc/xeno and /dev/xeno to /proc/xen and /dev/xen. Created a skeleton xend.
Diffstat (limited to 'tools/xend')
-rw-r--r-- | tools/xend/Makefile | 30 | ||||
-rw-r--r-- | tools/xend/xend.c | 12 |
2 files changed, 42 insertions, 0 deletions
diff --git a/tools/xend/Makefile b/tools/xend/Makefile new file mode 100644 index 0000000000..1fb84e0aaf --- /dev/null +++ b/tools/xend/Makefile @@ -0,0 +1,30 @@ + +CC = gcc +CFLAGS = -Wall -O3 +CFLAGS += -I../../xen/include -I../../xenolinux-sparse/include + +HDRS = $(wildcard *.h) +OBJS = $(patsubst %.c,%.o,$(wildcard *.c)) + +BIN = xend + +all: $(BIN) + +install: all + mkdir -p /usr/sbin + cp $(BIN) /usr/sbin + chmod 755 /usr/sbin/$(BIN) + +dist: all + mkdir -p ../../../install/sbin + cp $(BIN) ../../../install/sbin + chmod 755 ../../../install/sbin/$(BIN) + +clean: + $(RM) *.a *.so *.o *.rpm $(BIN) + +$(BIN): $(OBJS) + $(CC) $(CFLAGS) -o $@ $^ -L../xc/lib -lxc + +%.o: %.c $(HDRS) Makefile + $(CC) $(CFLAGS) -c -o $@ $< diff --git a/tools/xend/xend.c b/tools/xend/xend.c new file mode 100644 index 0000000000..9da656e0a1 --- /dev/null +++ b/tools/xend/xend.c @@ -0,0 +1,12 @@ +/****************************************************************************** + * xend.c + * + * The grand Xen daemon. For now it's just a console concentrator. + * + * Copyright (c) 2004, K A Fraser + */ + +int main(int argc, char **argv) +{ + return 0; +} |