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