core-admin/qrexec/Makefile

17 lines
991 B
Makefile
Raw Normal View History

2011-03-04 16:32:58 +01:00
CC=gcc
CFLAGS+=-g -Wall -I../vchan -I../qubes_rpc -pie -fPIC
2011-03-23 17:47:35 +01:00
XENLIBS=-lvchan -lu2mfn -lxenstore -lxenctrl
COMMONIOALL=../qubes_rpc/ioall.o
2011-03-04 16:32:58 +01:00
2011-07-05 11:03:31 +02:00
all: qrexec_daemon qrexec_agent qrexec_client qrexec_client_vm
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) -pie -L../vchan -L../u2mfn -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 unix_server.o exec.o txrx-vchan.o write_stdin.o buffer.o $(COMMONIOALL)
$(CC) -pie -L../vchan -L../u2mfn -g -o qrexec_agent qrexec_agent.o unix_server.o exec.o txrx-vchan.o write_stdin.o buffer.o $(COMMONIOALL) $(XENLIBS)
2011-03-11 11:47:20 +01:00
qrexec_client: qrexec_client.o $(COMMONIOALL) exec.o
$(CC) -pie -g -o qrexec_client qrexec_client.o $(COMMONIOALL) exec.o
2011-07-05 11:03:31 +02:00
qrexec_client_vm: qrexec_client_vm.o
$(CC) -pie -g -o qrexec_client_vm qrexec_client_vm.o
2011-03-04 16:32:58 +01:00
clean:
2011-07-05 11:03:31 +02:00
rm -f *.o *~ qrexec_daemon qrexec_agent qrexec_client qrexec_client_vm