ia64/xen-unstable

view tools/blktap2/Makefile @ 19667:241607f414c8

blktap2: fix makefile of blktap2

- clean up to use SUBDIRS-y
- With parallel make, libvhd might not be created before
link. guarantee it.
- use LDFLAGS for link which is set by upper level makefiles.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
author Keir Fraser <keir.fraser@citrix.com>
date Thu May 28 10:02:57 2009 +0100 (2009-05-28)
parents 1c627434605e
children 4f779d41b0ba
line source
1 XEN_ROOT = ../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 CFLAGS += $(CFLAGS_libxenctrl)
5 LDFLAGS += $(LDFLAGS_libxenctrl)
7 SUBDIRS-y :=
8 SUBDIRS-y += include
9 SUBDIRS-y += lvm
10 SUBDIRS-y += vhd
11 SUBDIRS-y += drivers
12 SUBDIRS-y += daemon
14 clean:
15 rm -rf *.a *.so *.o *.rpm $(LIB) *~ $(DEPS) TAGS
17 .PHONY: all clean install
18 all clean install: %: subdirs-%