ia64/xen-unstable

annotate 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
rev   line source
kfraser@11841 1 XEN_ROOT=../..
kfraser@11841 2 include $(XEN_ROOT)/tools/Rules.mk
vhanquez@8516 3
kaf24@9660 4 .PHONY: all
kaf24@8537 5 all:
kaf24@8537 6
kaf24@9660 7 .PHONY: check
vhanquez@8516 8 check:
vhanquez@8516 9
kfraser@15315 10 .PHONY: install
kfraser@11841 11
kfraser@15315 12 install:
kfraser@15315 13 mkdir -p $(DESTDIR)/usr/include/xen/sys
kfraser@15315 14 $(INSTALL_DATA) $(XEN_ROOT)/tools/include/$(XEN_OS)/*.h $(DESTDIR)/usr/include/xen/sys
kfraser@11841 15
kaf24@9660 16 .PHONY: clean
vhanquez@8516 17 clean: