mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 18:50:05 +01:00
The Makefile below tools/libs have a lot in common. Put those common parts into a new libs.mk and include that from the specific Makefiles. Signed-off-by: Juergen Gross <jgross@suse.com> Acked-by: Wei Liu <wl@xen.org>
20 lines
541 B
Makefile
20 lines
541 B
Makefile
XEN_ROOT = $(CURDIR)/../../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
MAJOR = 1
|
|
MINOR = 3
|
|
LIBNAME := devicemodel
|
|
USELIBS := toollog toolcore call
|
|
|
|
SRCS-y += core.c
|
|
SRCS-$(CONFIG_Linux) += linux.c
|
|
SRCS-$(CONFIG_FreeBSD) += compat.c
|
|
SRCS-$(CONFIG_SunOS) += compat.c
|
|
SRCS-$(CONFIG_NetBSD) += compat.c
|
|
SRCS-$(CONFIG_MiniOS) += compat.c
|
|
|
|
include $(XEN_ROOT)/tools/libs/libs.mk
|
|
|
|
$(PKG_CONFIG_LOCAL): PKG_CONFIG_INCDIR = $(XEN_LIBXENDEVICEMODEL)/include
|
|
$(PKG_CONFIG_LOCAL): PKG_CONFIG_CFLAGS_LOCAL = $(CFLAGS_xeninclude)
|