|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 13 of 30] tools: consistently use $({CFLAGS, LDLIBS}_
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1300718506 0
# Node ID 5a131a7ca1cf877786f208003daa44b907a2702f
# Parent d189faef58e1ebec67571879f86519f3aacf3b53
tools: consistently use $({CFLAGS,LDLIBS}_libxenlight) instead of open coding.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
diff -r d189faef58e1 -r 5a131a7ca1cf tools/libxl/Makefile
--- a/tools/libxl/Makefile Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/libxl/Makefile Mon Mar 21 14:41:46 2011 +0000
@@ -23,8 +23,6 @@ LIBXL_LIBS = $(LDLIBS_libxenctrl) $(LDLI
LIBXL_LIBS = $(LDLIBS_libxenctrl) $(LDLIBS_libxenguest) $(LDLIBS_libxenstore)
$(LDLIBS_libblktapctl) $(UTIL_LIBS) $(LIBUUID_LIBS)
LIBXLU_LIBS =
-
-CLIENT_LIBS = $(LDLIBS_libxenlight) $(LDLIBS_libxenctrl)
LIBXL_OBJS-y = osdeps.o libxl_paths.o libxl_bootloader.o flexarray.o
ifeq ($(LIBXL_BLKTAP),y)
@@ -105,7 +103,7 @@ libxlutil.a: $(LIBXLU_OBJS)
$(AR) rcs libxlutil.a $^
$(CLIENTS): $(XL_OBJS) libxlutil.so libxenlight.so
- $(CC) $(LDFLAGS) -o $@ $(XL_OBJS) libxlutil.so libxenlight.so
$(CLIENT_LIBS)
+ $(CC) $(LDFLAGS) -o $@ $(XL_OBJS) libxlutil.so $(LDLIBS_libxenlight)
$(LDLIBS_libxenctrl)
.PHONY: install
install: all
diff -r d189faef58e1 -r 5a131a7ca1cf tools/ocaml/common.make
--- a/tools/ocaml/common.make Mon Mar 21 14:41:46 2011 +0000
+++ b/tools/ocaml/common.make Mon Mar 21 14:41:46 2011 +0000
@@ -9,7 +9,7 @@ OCAMLYACC ?= ocamlyacc
OCAMLYACC ?= ocamlyacc
CFLAGS += -fPIC -Werror
-CFLAGS += $(CFLAGS_xeninclude) $(CFLAGS_libxenctrl) $(CFLAGS_libxenstore)
-I$(TOPLEVEL)/../libxl
+CFLAGS += $(CFLAGS_xeninclude) $(CFLAGS_libxenctrl) $(CFLAGS_libxenstore)
$(CFLAGS_libxenlight)
CFLAGS-$(CONFIG_Linux) += -I/usr/lib64/ocaml -I/usr/lib/ocaml
CFLAGS-$(CONFIG_NetBSD) += -I/usr/pkg/lib/ocaml -fPIC
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH 00 of 30] tools: shave build yaks, Ian Campbell
- [Xen-devel] [PATCH 01 of 30] libxc: remove dependency on xenstore headers, Ian Campbell
- [Xen-devel] [PATCH 02 of 30] tools: libxc: drop rpm.spec, Ian Campbell
- [Xen-devel] [PATCH 05 of 30] tools: vtpm: Use $(BINDIR) rather than a privately defined variable, Ian Campbell
- [Xen-devel] [PATCH 06 of 30] tools: remove unnecessary uses of -L, Ian Campbell
- [Xen-devel] [PATCH 04 of 30] tools: Drop use of $(INCLUDES), Ian Campbell
- [Xen-devel] [PATCH 08 of 30] tools: Drop XEN_XC variable, Ian Campbell
- [Xen-devel] [PATCH 13 of 30] tools: consistently use $({CFLAGS, LDLIBS}_libxenlight) instead of open coding,
Ian Campbell <=
- [Xen-devel] [PATCH 11 of 30] tools: consistently use $({CFLAGS, LDLIBS}_libxenctrl) instead of open coding, Ian Campbell
- [Xen-devel] [PATCH 10 of 30] tools: consistently use $(CFLAGS_xeninclude) instead of open coding, Ian Campbell
- [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2, Ian Campbell
- Re: [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2, Ian Campbell
- Re: [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2, Shriram Rajagopalan
- Re: [Xen-devel] [PATCH 09 of 30] tools: blktap2: copy xenstore/hashtable.h into blktap2, Ian Campbell
|
|
|
|
|