ia64/xen-unstable

view tools/guest-headers/Makefile @ 15315:de47ca8be7fe

Include Solaris kernel headers

Add the Solaris kernel headers used be the userspace tools to the
distribution. The same setup as used by Linux is taken. We modify the
Linux kernel headers to also install in /usr/include/xen/sys/ -
without a kernel-neutral path, it can make using the headers very
difficult, and encourages errors.

Signed-off-by: John Levon <john.levon@sun.com>
author kfraser@localhost.localdomain
date Mon Jun 11 15:50:35 2007 +0100 (2007-06-11)
parents 267ccb919967
children 89995ccec15a
line source
1 XEN_ROOT=../..
2 include $(XEN_ROOT)/tools/Rules.mk
4 .PHONY: all
5 all:
7 .PHONY: check
8 check:
10 .PHONY: install
12 install:
13 mkdir -p $(DESTDIR)/usr/include/xen/sys
14 $(INSTALL_DATA) $(XEN_ROOT)/tools/include/$(XEN_OS)/*.h $(DESTDIR)/usr/include/xen/sys
16 .PHONY: clean
17 clean: