2010-06-02 15:50:22 +02:00
|
|
|
CC=gcc
|
2014-02-16 11:14:40 +01:00
|
|
|
CFLAGS=-Wall -Wextra -Werror
|
2013-05-04 04:50:37 +02:00
|
|
|
all: xenstore-watch
|
2010-06-02 15:50:22 +02:00
|
|
|
xenstore-watch: xenstore-watch.o
|
|
|
|
$(CC) -o xenstore-watch xenstore-watch.o -lxenstore
|
2010-07-22 14:54:34 +02:00
|
|
|
|
2010-06-02 15:50:22 +02:00
|
|
|
clean:
|
2013-03-14 15:06:19 +01:00
|
|
|
rm -f *.o *~ qubes-restore xenstore-watch xenfreepages
|
2010-07-22 14:54:34 +02:00
|
|
|
|
2013-06-15 23:14:54 +02:00
|
|
|
install:
|
|
|
|
mkdir -p $(DESTDIR)/etc/xen/scripts
|
|
|
|
cp block.qubes $(DESTDIR)/etc/xen/scripts
|
|
|
|
mkdir -p $(DESTDIR)/usr/bin $(DESTDIR)/usr/lib/qubes
|
|
|
|
cp xenstore-watch $(DESTDIR)/usr/bin/xenstore-watch-qubes
|
|
|
|
cp qubes-prepare-saved-domain.sh $(DESTDIR)/usr/lib/qubes
|
|
|
|
cp qubes-update-dispvm-savefile-with-progress.sh $(DESTDIR)/usr/lib/qubes
|
|
|
|
cp qfile-daemon-dvm $(DESTDIR)/usr/lib/qubes
|
|
|
|
|
|
|
|
|