debuggers.hg

view tools/vtpm_manager/Makefile @ 16715:c5deb251b9dc

Update version to 3.2.0-rc4
author Keir Fraser <keir.fraser@citrix.com>
date Sat Dec 29 17:57:37 2007 +0000 (2007-12-29)
parents 5014fd2b5c5a
children 4492f6e2bcb3
line source
1 XEN_ROOT = ../..
3 # Base definitions and rules
4 include $(XEN_ROOT)/tools/vtpm_manager/Rules.mk
6 SUBDIRS = crypto tcs util manager migration
7 OPENSSL_HEADER = /usr/include/openssl/crypto.h
9 .PHONY: all
10 all: build
12 .PHONY: build
13 build:
14 @set -e; if [ -e $(OPENSSL_HEADER) ]; then \
15 if [ ! -e "migration/vtpm_ipc.c" ]; then \
16 ln -s ../manager/vtpm_ipc.c migration; \
17 fi; \
18 for subdir in $(SUBDIRS); do \
19 $(MAKE) -C $$subdir $@; \
20 done; \
21 else \
22 echo "*** Cannot build vtpm_manager: OpenSSL developement files missing."; \
23 fi
25 .PHONY: install
26 install: build
27 @set -e; for subdir in $(SUBDIRS); do \
28 $(MAKE) -C $$subdir $@; \
29 done
31 .PHONY: clean
32 clean:
33 @set -e; for subdir in $(SUBDIRS); do \
34 $(MAKE) -C $$subdir $@; \
35 done
38 .PHONY: mrproper
39 mrproper:
40 rm -f migration/vtpm_ipc.c
41 @set -e; for subdir in $(SUBDIRS); do \
42 $(MAKE) -C $$subdir $@; \
43 done