mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 18:21:39 +01:00
This new "Makefile.common" is intended to be used by both tools/ and stubdom/ build system without stubdom needed to use tools/ build system. It should contain the necessary list of objects and CFLAGS needed to build a static library. Change stubdom/ to check Makefile.common, for the linkfarm. Signed-off-by: Anthony PERARD <anthony.perard@citrix.com> Reviewed-by: Juergen Gross <jgross@suse.com>
20 lines
400 B
Makefile
20 lines
400 B
Makefile
XEN_ROOT = $(CURDIR)/../../..
|
|
include $(XEN_ROOT)/tools/Rules.mk
|
|
|
|
include Makefile.common
|
|
|
|
xg_dom_bzimageloader.o xg_dom_bzimageloader.opic: CFLAGS += $(ZLIB_CFLAGS)
|
|
|
|
$(LIBELF_OBJS:.o=.opic): CFLAGS += -Wno-pointer-sign
|
|
|
|
LIBHEADER := xenguest.h
|
|
|
|
NO_HEADERS_CHK := y
|
|
|
|
include $(XEN_ROOT)/tools/libs/libs.mk
|
|
|
|
libxenguest.so.$(MAJOR).$(MINOR): LDLIBS += $(ZLIB_LIBS) -lz
|
|
|
|
clean::
|
|
rm -f libxenguest.map
|