ia64/xen-unstable

annotate 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
rev   line source
keir@18710 1 XEN_ROOT=../..
keir@18710 2 include $(XEN_ROOT)/tools/Rules.mk
keir@18710 3
keir@18710 4 CFLAGS += -Werror
keir@18710 5 CFLAGS += $(CFLAGS_libxenstore)
keir@18710 6 LDFLAGS += $(LDFLAGS_libxenstore)
keir@18710 7
keir@18710 8 BIN = xenpmd
keir@18710 9
keir@18710 10 .PHONY: all
keir@18710 11 all: $(BIN)
keir@18710 12
keir@18712 13 .PHONY: install
keir@18712 14 install: all
keir@18712 15 $(INSTALL_DIR) $(DESTDIR)$(SBINDIR)
keir@18712 16 $(INSTALL_PROG) $(BIN) $(DESTDIR)$(SBINDIR)
keir@18712 17
keir@18710 18 .PHONY: clean
keir@18710 19 clean:
keir@19026 20 $(RM) -f $(BIN) $(DEPS)
keir@19026 21
keir@19532 22 %: %.c Makefile
keir@19532 23 $(CC) $(CFLAGS) $< $(LDFLAGS) -o $@
keir@19532 24
keir@19026 25 -include $(DEPS)