2011-03-04 16:32:58 +01:00
|
|
|
CC=gcc
|
2011-03-11 11:47:20 +01:00
|
|
|
CFLAGS+=-g -Wall -I../vchan -I../common
|
2011-03-04 16:32:58 +01:00
|
|
|
XENLIBS=-lvchan -lxenstore -lxenctrl
|
2011-03-11 11:47:20 +01:00
|
|
|
COMMONIOALL=../common/ioall.o
|
2011-03-04 16:32:58 +01:00
|
|
|
|
|
|
|
all: qrexec_daemon qrexec_agent qrexec_client
|
2011-03-11 11:47:20 +01:00
|
|
|
qrexec_daemon: qrexec_daemon.o unix_server.o $(COMMONIOALL) txrx-vchan.o buffer.o write_stdin.o
|
|
|
|
$(CC) -g -o qrexec_daemon qrexec_daemon.o unix_server.o $(COMMONIOALL) txrx-vchan.o write_stdin.o buffer.o $(XENLIBS)
|
|
|
|
qrexec_agent: qrexec_agent.o exec.o txrx-vchan.o write_stdin.o buffer.o
|
|
|
|
$(CC) -g -o qrexec_agent qrexec_agent.o exec.o txrx-vchan.o write_stdin.o buffer.o $(XENLIBS)
|
|
|
|
qrexec_client: qrexec_client.o $(COMMONIOALL) exec.o
|
|
|
|
$(CC) -g -o qrexec_client qrexec_client.o $(COMMONIOALL) exec.o
|
2011-03-04 16:32:58 +01:00
|
|
|
clean:
|
|
|
|
rm -f *.o *~ qrexec_daemon qrexec_agent qrexec_client
|