ia64/xen-unstable

view tools/xenpmd/Makefile @ 19835:edfdeb150f27

Fix buildsystem to detect udev > version 124

udev removed the udevinfo symlink from versions higher than 123 and
xen's build-system could not detect if udev is in place and has the
required version.

Signed-off-by: Marc-A. Dahlhaus <mad@wol.de>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Jun 25 13:02:37 2009 +0100 (2009-06-25)
parents ec77efc14f2f
children
line source
1 XEN_ROOT=../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 CFLAGS += -Werror
5 CFLAGS += $(CFLAGS_libxenstore)
6 LDFLAGS += $(LDFLAGS_libxenstore)
8 BIN = xenpmd
10 .PHONY: all
11 all: $(BIN)
13 .PHONY: install
14 install: all
15 $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
16 $(INSTALL_PROG) $(BIN) $(DESTDIR)$(SBINDIR)
18 .PHONY: clean
19 clean:
20 $(RM) -f $(BIN) $(DEPS)
22 %: %.c Makefile
23 $(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
25 -include $(DEPS)