|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 01 of 26] xl: use the regular implicit rules to build
# HG changeset patch
# User Ian Campbell <ian.campbell@xxxxxxxxxx>
# Date 1281969064 -3600
# Node ID a05ba7c6ed2b070d75c9ba9f69fb9ce30346250a
# Parent 28a59726148cc062fe764a78b0effc1c6ac5a367
xl: use the regular implicit rules to build the xl .o files
Having $(XL_OBJS) makes part of a subsequent patch a little cleaner.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
diff -r 28a59726148c -r a05ba7c6ed2b tools/libxl/Makefile
--- a/tools/libxl/Makefile Mon Aug 16 15:31:04 2010 +0100
+++ b/tools/libxl/Makefile Mon Aug 16 15:31:04 2010 +0100
@@ -25,6 +25,8 @@ LIBXLU_OBJS = libxlu_cfg_y.o libxlu_cfg_
LIBXLU_OBJS = libxlu_cfg_y.o libxlu_cfg_l.o libxlu_cfg.o
CLIENTS = xl
+
+XL_OBJS = xl.o xl_cmdimpl.o xl_cmdtable.o
.PHONY: all
all: $(CLIENTS) libxenlight.so libxenlight.a libxlutil.so libxlutil.a \
@@ -76,16 +78,7 @@ libxlutil.a: $(LIBXLU_OBJS)
libxlutil.a: $(LIBXLU_OBJS)
$(AR) rcs libxlutil.a $^
-xl.o: xl.c
- $(CC) $(CFLAGS) -c xl.c
-
-xl_cmdimpl.o: xl_cmdimpl.c
- $(CC) $(CFLAGS) -c xl_cmdimpl.c
-
-xl_cmdtable.o: xl_cmdtable.c
- $(CC) $(CFLAGS) -c xl_cmdtable.c
-
-$(CLIENTS): xl.o xl_cmdimpl.o xl_cmdtable.o libxlutil.so libxenlight.so
+$(CLIENTS): $(XL_OBJS) libxlutil.so libxenlight.so
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
.PHONY: install
_______________________________________________
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 26] libxl: autogenerate type definitions and destructor functions, Ian Campbell
- [Xen-devel] [PATCH 07 of 26] lbixl: make libxl_device_model_starting type opaque to users of libxl, Ian Campbell
- [Xen-devel] [PATCH 08 of 26] libxl: ensure result of libxl_poolid_to_name is always dynamically allocated, Ian Campbell
- [Xen-devel] [PATCH 01 of 26] xl: use the regular implicit rules to build the xl .o files,
Ian Campbell <=
- [Xen-devel] [PATCH 02 of 26] libxl: define specific types for string list and key, value list, Ian Campbell
- [Xen-devel] [PATCH 05 of 26] libxl: add specific type for hwcaps, Ian Campbell
- [Xen-devel] [PATCH 04 of 26] libxl: add specific type for cpumap, Ian Campbell
- [Xen-devel] [PATCH 06 of 26] libxl: make libxl_console_reader type opaque to users of libxl, Ian Campbell
- [Xen-devel] [PATCH 10 of 26] libxl: tweak formatting/whitespace of _libxl_types.h, Ian Campbell
- [Xen-devel] [PATCH 15 of 26] libxl: do not generate a destructor for data types which do not require one, Ian Campbell
- [Xen-devel] [PATCH 09 of 26] libxl: move type definitions into _libxl_types.h, Ian Campbell
- [Xen-devel] [PATCH 03 of 26] libxl: move various enum and #defines above datastructure definitions, Ian Campbell
- [Xen-devel] [PATCH 12 of 26] libxl: generate destructors for each libxl defined type, Ian Campbell
- [Xen-devel] [PATCH 14 of 26] libxl: build info bootloader{, _args} are not const, Ian Campbell
|
|
|
|
|