1XEN_ROOT = $(CURDIR)/../../.. 2include $(XEN_ROOT)/tools/Rules.mk 3 4MAJOR = 1 5MINOR = 3 6LIBNAME := foreignmemory 7USELIBS := toollog toolcore 8 9SRCS-y += core.c 10SRCS-$(CONFIG_Linux) += linux.c 11SRCS-$(CONFIG_FreeBSD) += freebsd.c 12SRCS-$(CONFIG_SunOS) += compat.c solaris.c 13SRCS-$(CONFIG_NetBSD) += compat.c netbsd.c 14SRCS-$(CONFIG_MiniOS) += minios.c 15 16include $(XEN_ROOT)/tools/libs/libs.mk 17 18$(PKG_CONFIG_LOCAL): PKG_CONFIG_INCDIR = $(XEN_LIBXENFOREIGNMEMORY)/include 19$(PKG_CONFIG_LOCAL): PKG_CONFIG_CFLAGS_LOCAL = $(CFLAGS_xeninclude) 20